Cancel Calculation
cancel_calculationStop a calculation that is queued or running. Use it as soon as a run is no longer wanted, for example one started with the wrong file, lot size or costing environment. Free: a cancelled calculation is never charged, because only a calculation that succeeds uses the quota. Cancelling an assembly also stops its component calculations. A cancelled run cannot be resumed. To price the part again, use quote_part. A calculation that has already finished is returned unchanged. Returns the calculation id, its status and its costing environment.
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": {
"calculation_id": "<calculation_id>"
},
"name": "cancel_calculation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calculation_id | Yes | Id of a calculation, as upload_and_quote, quote_part or list_calculations return it. |