Lock a pane for writing
lock_paneAcquire an advisory write lock on a pane to ensure only your owner can send_input until the lock expires or is released. Re-acquire with the same owner to renew.
Instructions
Take an advisory write lock on a pane (agent-orchestration H) so only this owner can send_input until it expires or is released. Advisory: an unlocked pane is writable by anyone. Renew by acquiring again as the same owner. Pass the same owner to send_input while holding it.
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": {
"paneId": "<paneId>",
"owner": "<owner>"
},
"name": "lock_pane"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | your lock identity (e.g. your paneId) | |
| ttlMs | No | lock lifetime (default 30000ms) | |
| paneId | Yes |