quit_ide
MCP tools › Window and UI driver
Quit the running Ferris IDEA window; always needs the quit right. With nothing unsaved or running it quits at once; otherwise it only lists unsaved files and running work unless pending says what to do: save_all (also needs write), discard (quits without saving) or cancel. Running configurations are stopped. check_only only reports. Window (HTTP) only; over stdio use ferris-idea quit.
| Capability | ui.quit_ide |
|---|---|
| Area | Window and UI driver |
| Access | changes files, ide |
| Reaches | — |
| Rights | write, quit |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
pending | string | What to do when files are unsaved or work is running: ask (default: report it, do nothing),
save_all (save every editor, then quit), discard (quit without saving) or cancel. |
check_only | boolean | Only report the pending work, never quit (default false). |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project quit_ideInput schema as JSON
{ "type": "object", "properties": { "pending": { "description": "What to do when files are unsaved or work is running: `ask` (default: report it, do nothing),\n`save_all` (save every editor, then quit), `discard` (quit without saving) or `cancel`.", "type": [ "string", "null" ] }, "check_only": { "description": "Only report the pending work, never quit (default false).", "type": [ "boolean", "null" ] } }}