Restart pane
restart_paneRestart a terminal pane by killing and respawning its shell. Optionally resume the pane's Claude conversation after the restart.
Instructions
Kill and respawn a pane's shell. With resume:true, the pane's live Claude conversation (per its session marker) is resumed in its own cwd after the respawn — an agent may target its OWN pane to restart itself. prompt queues a message typed into the resumed claude the moment it is ready (speak-first); requires resume: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": {
"paneId": "<paneId>"
},
"name": "restart_pane"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paneId | Yes | ||
| prompt | No | Message delivered to the resumed conversation once ready | |
| resume | No | Resume the pane's Claude conversation after respawn |