stop_task
Halt an active Ansible automation task in SemaphoreUI by specifying the project ID and task ID, terminating its execution immediately.
Instructions
Stop a running task.
Args: project_id: ID of the project task_id: ID of the task to stop
Returns: Task stop result
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>",
"task_id": "<task_id>"
},
"name": "stop_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||