Cancel Tool
amount.cancelStops a queued or running amount run cooperatively: the worker halts before its next file and drops the partial copy. Check run status afterward; completed transfers remain.
Instructions
Ask a queued or running run to stop. Cooperative: the worker stops before its next file and drops the partial copy, so check amount.status afterwards. Files already transferred stay transferred. A finished run is returned unchanged.
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": {
"run": "<run>"
},
"name": "amount.cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | Run uuid from amount.runs or a starting tool |