Tools
Receive tool execution
Webhook
POST
toolExecution
Receive tool execution
Eloquent sends this request to the endpointUrl configured on a tool when an agent uses that tool. Verify X-Signature by computing an HMAC-SHA256 hex digest over the raw JSON request body with the tool's HMAC secret before processing the request.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-Signature-Algorithm * |
header | string | HMAC algorithm used to sign the webhook body. |
X-Signature * |
header | string | HMAC-SHA256 hex digest of the raw JSON request body using the tool's HMAC secret. |
Request body
ToolWebhookBody
Responses
| Status | Schema | Description |
|---|---|---|
200 |
ToolWebhookResponse | Webhook processed successfully. Return JSON that the agent can use as the tool result. |
Example 200 response
"string"