lease
Claim a document section and its subsections for a set time while drafting a long edit, blocking other agents’ conflicting writes until it expires or is released.
Instructions
Claim a section (and its subsections) while drafting a long edit, for minutes (1–60, default 15).
Other agents' writes to it, its subsections or its ancestors are refused until it expires or is released;
your own patch_section releases it. action: 'take' or 'release'.
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": "lease"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| action | Yes | ||
| heading | No | ||
| minutes | No | ||
| task_id | No | ||
| section_id | No |