Cancel a Replicate training
replicate_cancel_trainingCancel an in-progress training run by its ID to stop costs and free up resources. Halt the process immediately with a single command.
Instructions
Cancel an in-progress training run by its ID. Trainings can run for many minutes and cost real money — cancel when no longer needed.
Args:
training_id: ID of the training to cancel.
Returns structuredContent: TrainingSummary with the updated status (typically "canceled").
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": {
"training_id": "<training_id>"
},
"name": "replicate_cancel_training"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| training_id | Yes | ID of the in-progress training run to cancel. |