Acquire Resource
acquire_resourceTake a slot of a scarce resource as a lease (heartbeat it like a task lease). When full and queue=true you get queue_position and queue_ticket; on your turn a resource.granted event arrives and you must call again with queue_ticket within 60 s, or the slot goes to the next in line.
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_key": "<resource_key>"
},
"name": "acquire_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue | No | ||
| ttl_seconds | No | ||
| queue_ticket | No | ||
| resource_key | Yes | ||
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||