close_agent
Closes a Parley-opened terminal tab for an agent session; external tabs stay protected unless explicitly allowed.
Instructions
Close a terminal tab opened by Parley. Refuses to close pre-existing external tabs unless allowExternal is explicitly true.
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": {
"target": "<target>"
},
"name": "close_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target agent tabId or label. | |
| allowExternal | No | Must be true to close a tab that was not opened by Parley. |