restart_terminal
Replace a failed or unresponsive Claude session in a terminal. It preserves the ID, profile, model, directory, and inbox, but loses the conversation.
Instructions
Replace a terminal's Claude with a fresh one: same id, profile, model, directory and inbox.
Use when its status is error (Claude exited) or it stays unresponsive
after interrupt. The conversation is lost. Blocks until the new Claude
is ready (up to ~90 s).
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": {
"terminal_id": "<terminal_id>"
},
"name": "restart_terminal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminal_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||