self_openbot
Restart the current agent host by launching a new terminal and retiring the old process seconds later, applying config, plugin, or MCP server changes without manual intervention.
Instructions
Restart the agent host that is running this tool: opens a NEW terminal running the agent first, then retires the current process a few seconds later. Use after changing config, plugins or MCP servers that only take effect on restart — no human needed. Refuses if the replacement command is not on PATH, because killing the session with nothing to replace it is not recoverable through this channel.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "self_openbot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Directory for the new terminal | |
| delay | No | Seconds before the old process is retired (default 5) | |
| command | No | Command to run in the new terminal (default: openbot) | |
| dry_run | No | Report what it would do without launching or killing |