td_claim_scope
Claim a network subtree before editing to prevent other agents from overwriting your changes. Set an owner and TTL to automatically release the claim after a timeout.
Instructions
Announce one subtree of the network as yours while you work in it.
Reach for this before a run of edits whenever another agent or session may
be touching the same project: without a claim, two agents editing the same
nodes overwrite each other and neither result reports anything wrong.
owner is any string that identifies you (a task name, a session id) —
it is what the other agent is told when it is refused.
The claim covers everything below path: '/project1/audio' includes
'/project1/audio/eq1' but not '/project1/audio2'. It lapses on its own
after ttl_seconds, so a crash cannot park a subtree for the session;
claim again to renew. This is an agreement between agents, not a lock —
it does not constrain a person editing those nodes by hand.
Write calls must carry the same owner to pass their own claim; the
refusal text says which owner to send.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| owner | Yes | ||
| ttl_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |