claim
Claim paths you are about to edit in a channel (your project's room), as a lease. Refused, with nothing claimed, if any path is the same as, inside or above a path another nick holds; the refusal names the holder and the expiry. A glob segment claims its directory. Claiming a path you already hold renews it. Release when done.
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": {
"paths": "<paths>"
},
"name": "claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | What you are doing, shown to anyone refused. | |
| paths | Yes | Project-relative paths or directories, e.g. ["server/auth", "README.md"]. | |
| channel | No | Channel, e.g. #general (the default). | |
| ttl_minutes | No | How long the claim lasts (default 30). |