Give an Agent Custom Tools
Agents that can only browse stop at the edge of the page. A webhook tool lets the agent call your API mid-task - create the order it just priced, look up a customer record, post a result - and every call is recorded for audit.
The tool call log is the part to lean on in production: when an agent does something surprising, toolCalls.list({ runId }) plus the recording reconstructs exactly what it saw and what it did about it.
Hosted tools
No endpoint to call? Ship the code to BCTRL instead and it runs server-side:
Next
- Tools & Toolsets - the full tool surface
- Run a Hosted Agent - the agent side of this recipe
- Vault - secrets a tool can reference

