claim
Atomically reserve directory, file, or glob scopes before editing to prevent conflicts among parallel agents; blocked responses name holders, intent, lease time, and next-step advice.
Instructions
Atomically claim path scopes (dir/ preferred, file, or basename glob) before editing them. Blocked responses name the holders, their intent, lease remaining, and advice (wait | narrow_scope | coordinate | steal_candidate).
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": {
"scopes": "<scopes>",
"reason": "<reason>"
},
"name": "claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | exclusive | |
| wait | No | ||
| reason | Yes | ||
| scopes | Yes | ||
| task_id | No | ||
| ttl_minutes | No | ||
| plan_summary | No |