Make a new webhook secret
rotate_webhook_secretReplace the webhook secret of an agent or a deployed workflow, for example after it leaked. The old secret stops working at once, so call without approved first, tell the person, and call again with approved: true. The new secret is never shown here: the person copies it from Get code on the dashboard_url. Never ask them to paste it into the chat.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rotate_webhook_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | ||
| approved | No | true only after the person has agreed. | |
| workflow_id | No | A deployed workflow (or pass agent_id). |