Cancel a request or job
cancel_executionBefore payment: withdraws the request (no charge). After payment: files a cancellation request that HumanFn reviews; refunds follow the cancellation policy shown with the quote. Returns the resulting phase.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request_id": "<request_id>",
"access_token": "<access_token>"
},
"name": "cancel_execution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | The request ID returned by request_execution (req_…). | |
| access_token | Yes | The access token returned with the request (rqt_…); it authorizes access to this request. |