Agent and tool webhooks
We generally send review results to the webhook you set up for each agent. Additionally, you can optionally set up a tool webhook to be called for executing this tool:- Tool webhook (optional) — called when a tool review is approved
- Agent webhook — receives all review completions for that agent; if a tool webhook is called, its response body is also included in the agent webhook as
toolResult
Payload
The webhook is aPOST request to your endpoint with Content-Type: application/json.
Values in
reviewResult.data follow the same shape as the data object in your review request — plus any reviewer edits or selections.