Restart App
restart_appTerminates and relaunches an application launched by this MCP session, preserving its original command, arguments, and working directory so you can recover or reset an active process.
Instructions
Gracefully terminates and re-launches an active process launched by this MCP session, preserving its original launch command, arguments, and working directory.
NOTE: Only applications launched by this MCP server can be restarted. External applications or user-opened windows cannot be restarted by the MCP server.
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": "restart_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||