contract-testing_create_webhook
Create a new webhook to trigger on contract events. Parameters: - description (string) *required*: Human-readable description of the webhook - events (array) *required*: Events that trigger this webhook - request (object) *required*: HTTP request to send when triggered - consumer (object): Restri...
This record as markdown: /tools/smartbear-mcp/contract-testing-create-webhook.md
What contract-testing_create_webhook does on SmartBear MCP
AI agents use contract-testing_create_webhook to create or update resources in SmartBear MCP, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your SmartBear MCP environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
events | array | Yes | Events that trigger this webhook |
enabled | boolean | — | Whether the webhook is enabled |
request | object | Yes | HTTP request to send when triggered |
consumer | object | — | Restrict to a specific consumer (omit for all) |
provider | object | — | Restrict to a specific provider (omit for all) |
teamUuid | object | — | UUID of the owning team (null for global) |
description | string | Yes | Human-readable description of the webhook |
Parameters from the server's own tool schema.
Why contract-testing_create_webhook is rated Medium
This tool creates a new webhook configuration, which is a reversible Write operation. While webhooks can trigger external actions when fired, the tool itself only creates/registers the webhook definition.
From the tool's definition Tool name contains 'create' and description states 'Create a new webhook'; parameters include 'description', 'events', 'request', and 'enabled' which are used to define and establish a new webhook resource.
Risk signalsAccepts URL/endpoint input (request.url) · Accepts raw HTML/template content (request.body) · Handles credentials or secrets (request.password) · High parameter count (16 properties)
Attacks that exploit this kind of access
The rule that runs contract-testing_create_webhook safely
PolicyLayer is an MCP gateway: it sits between your AI agents and SmartBear MCP, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For contract-testing_create_webhook, this is the rule to start with:
contract-testing_create_webhook stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect SmartBear MCP, apply this rule, and every contract-testing_create_webhook call is checked against it from then on.
Questions about contract-testing_create_webhook
Create a new webhook to trigger on contract events. Parameters: - description (string) *required*: Human-readable description of the webhook - events (array) *required*: Events that trigger this webhook - request (object) *required*: HTTP request to send when triggered - consumer (object): Restrict to a specific consumer (omit for all) - provider (object): Restrict to a specific provider (omit for all) - enabled (boolean): Whether the webhook is enabled (default: true) - teamUuid (string): UUID of the owning team (null for global). It is categorised as a Write tool in the SmartBear MCP MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
contract-testing_create_webhook accepts 7 parameters: events, enabled, request, consumer, provider, teamUuid, description. Required: events, request, description. The full parameter table on this page comes from the server's own tool schema.
Register the SmartBear MCP server in PolicyLayer and add a rule for contract-testing_create_webhook: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches SmartBear MCP. Nothing to install.
contract-testing_create_webhook is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the contract-testing_create_webhook rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for contract-testing_create_webhook. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
contract-testing_create_webhook is provided by the SmartBear MCP server (SmartBear/smartbear-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on SmartBear, and thousands of servers like it.
This server
Across the catalogue