Who holds a shared operation
operationsCall this before you start a shared operation such as a deploy or a restart (deploy:production, restart:api), to see whether another agent is already doing it. For a repository it lists the operations an agent holds, or held in the last 24 hours: the operation, who holds it, since when, until when the hold lasts unless it is renewed, and the last heartbeat. If someone holds the operation you need, wait for them rather than starting it again. Give operation to ask about one. Operations are claimed with the agent pack's op-claim on the repository's operations issue; this tool only reads them. Read-only, and it never fails: if they cannot be read it says why.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | owner/name. Optional when the token covers one repository. | |
| operation | No | Only this operation, e.g. deploy:production. |