Create Tool
Create a tool. For webhook tools, the response includes the HMAC
webhook_secret exactly once — store it immediately; subsequent
reads return a masked placeholder.
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Headers
Request
What kind of tool this is, and where it executes.
builtin: a worker-resident platform capability (e.g. end_call, play_audio), configured per-agentwebhook: worker signs a payload and POSTs it to your URLclient: worker dispatches to the caller’s browser/SDK via data channelmcp: worker connects to a customer-hosted MCP server and proxies tool calls
Response headers
Response
Prefixed wire identifier (tool_<26 char Crockford base32>).
What kind of tool this is, and where it executes.
builtin: a worker-resident platform capability (e.g. end_call, play_audio), configured per-agentwebhook: worker signs a payload and POSTs it to your URLclient: worker dispatches to the caller’s browser/SDK via data channelmcp: worker connects to a customer-hosted MCP server and proxies tool calls
One of WebhookToolConfig, ClientToolConfig, or MCPToolConfig depending on kind.
HMAC signing secret for kind=webhook. Returned in full only on the create
response; all subsequent reads return a masked placeholder. Store it on first
create — there is no way to retrieve it later.