Semaphore
semaphoreCounting semaphore: at most limit concurrent holders, each with an owner_token and fence. Same actions
as lease. Use it to cap how many agents work in parallel.
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": {
"action": "<action>"
},
"name": "semaphore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| limit | No | ||
| action | Yes | ||
| holder | No | ||
| owner_token | No | ||
| ttl_seconds | No | ||
| hold_seconds | No | ||
| wait_seconds | No |