cancel_build
Cancel a queued or running Hydra build by ID to stop unnecessary work. Requires cancel rights, so confirm with the user before calling.
Instructions
Cancel a queued or running build (needs cancel rights). Confirm with the user first.
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": {
"build_id": "<build_id>"
},
"name": "cancel_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build_id | Yes | ||
| instance | No | Configured Hydra instance; omitted uses the default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||