Rotate Webhook Secret
rotate_webhook_secretGenerate a new signing secret for a webhook endpoint and return the endpoint with that secret. Update your verifier immediately, because deliveries are signed with the new secret right away.
Instructions
Generate a new signing secret for a webhook endpoint and return the endpoint with the new secret. Deliveries are signed with the new secret immediately, so update your verifier as part of the same operation.
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": {
"id": "<id>"
},
"name": "rotate_webhook_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The webhook endpoint id. | |
| dry_run | No | If true, validate only — returns wouldSucceed and changes nothing. |