Create Tool-Call Webhook Binding
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Path Parameters
bundle_id*Bundle Id
Format
uuidQuery Parameters
verify_locally?Verify Locally
Default
trueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/bundles/497f6eca-6276-4993-bfeb-53cbbbba6f08/tool-call-webhooks" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "tool_name_patterns": [ "string" ], "webhook_url": "http://example.com", "webhook_secret": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "tool_name_patterns": [ "string" ], "arg_predicates": [ { "path": "string", "op": "eq", "value": "string" } ], "webhook_url": "string", "enabled": true, "hook_point": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}