Skip to content

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.

Capabilityui.quit_ide
AreaWindow and UI driver
Accesschanges files, ide
Reaches—
Rightswrite, quit
Dry runnone

Arguments

ArgumentTypeDescription
pendingstringWhat 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_onlybooleanOnly 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.

Terminal window
ferris-idea call ~/my-project quit_ide
Input 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"
]
}
}
}