Configure webhook response
configure_webhook_responseSet the status, content type (JSON, plain text, XML, or form-encoded), body, optional Retry-After or X-Hook-Secret header, and a delay up to 10 seconds returned by the webhook endpoint. Browser visits always receive plain text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bucket_id": "<bucket_id>",
"status": "<status>",
"content_type": "<content_type>",
"body": "<body>"
},
"name": "configure_webhook_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| status | Yes | ||
| headers | No | optional response headers; only Retry-After and X-Hook-Secret are supported, matched case-insensitively | |
| delay_ms | No | response delay in milliseconds, from 0 to 10000 | |
| bucket_id | Yes | ||
| content_type | Yes | application/json, text/plain, application/xml, text/xml, application/soap+xml, application/problem+xml, application/x-www-form-urlencoded, or application/*+json; only a charset parameter is allowed; empty selects application/json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| success | No |