stop_template_tasks
Stops all active tasks for a specified Semaphore UI template using project and template IDs, with an optional force flag to terminate running automation.
Instructions
Stop all active tasks of template. POST /project/{project_id}/templates/{template_id}/stop_all_tasks. Supply API fields in body; JSON-encoded string fields must remain strings.
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": {
"project_id": "<project_id>",
"template_id": "<template_id>"
},
"name": "stop_template_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| project_id | Yes | ||
| template_id | Yes |