agenthold_wait
Wait for a shared resource to become available, blocking further actions until it's released or timeout occurs. Use when specific resources are essential for workflow continuation.
Instructions
Wait for a resource to become available. Blocks your turn until the current holder releases their claim, or the timeout expires. IMPORTANT: This call holds your agent turn until it returns — no other actions can be taken while waiting. Only use this when you need a specific resource and no other useful work can proceed without it. Pass a reasonable timeout (default 30 seconds). On timeout, the hint field suggests next steps. Possible responses: "available": The resource is now free. Call agenthold_claim immediately to secure it — another agent may also be waiting. "timeout": The resource was not released within the timeout. The response includes who still holds the claim.
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": {
"resource": "<resource>"
},
"name": "agenthold_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | Identifier for the resource, e.g. a filename like 'intro.md' or 'src/main.py' | |
| timeout_seconds | No | Maximum seconds to wait (default 30). On timeout, the response includes who still holds the claim. |