herdr_owned_pane_adopt
Create a cleanup-only lease for an idle or done named agent after validating exact identity, durable authority, state cursor, and protected panes. Grants no Git or implementation authority.
Instructions
Create a cleanup-only lease for one existing idle/done named agent after exact identity, durable authority, state cursor, and protected-pane checks. Adoption grants no Git ownership or implementation authority.
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": {
"controller_id": "<controller_id>",
"controller_lease_id": "<controller_lease_id>",
"controller_fence_token": "<controller_fence_token>",
"purpose": "<purpose>",
"authority_ref": "<authority_ref>",
"authority_sha256": "<authority_sha256>",
"target": "<target>",
"expected_pane_id": "<expected_pane_id>",
"expected_name": "<expected_name>",
"expected_kind": "<expected_kind>",
"expected_cwd": "<expected_cwd>",
"expected_state_change_seq": "<expected_state_change_seq>",
"controller_pane_id": "<controller_pane_id>"
},
"name": "herdr_owned_pane_adopt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Agent target: terminal id, unique agent name, detected/reported agent label, or legacy pane id. | |
| purpose | Yes | ||
| expected_cwd | Yes | ||
| authority_ref | Yes | ||
| controller_id | Yes | ||
| expected_kind | Yes | ||
| expected_name | Yes | ||
| authority_sha256 | Yes | ||
| expected_pane_id | Yes | ||
| controller_pane_id | Yes | ||
| protected_pane_ids | No | ||
| controller_lease_id | Yes | ||
| controller_fence_token | Yes | ||
| expected_state_change_seq | Yes |