Wait for a webhook
wait_for_webhookReturn the latest capture, wait for a newer capture, or report received=false after the timeout.
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>"
},
"name": "wait_for_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket_id | Yes | ||
| wait_seconds | No | seconds to wait; defaults to 20 and cannot exceed 25 | |
| max_body_bytes | No | ||
| after_webhook_id | No | wait for a capture newer than this webhook ID | |
| include_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| webhook | No | ||
| received | Yes |