Skip to content

import_file

MCP tools › Workspace and files

Preview or import a Ferris IDEA exchange file (run configuration, keymap, theme, data sources, settings bundle): kind, format, envelope, contents, the changes and every problem. Newer formats, files over 64 KiB, secrets, outside paths or private settings are refused. Dry run unless dry_run false, which needs the write right for project files and settings for IDE settings, keymap and theme. show lets the user confirm the preview in the window (HTTP only; ui right).

Capabilityworkspace.import_file
AreaWorkspace and files
Accesschanges files, settings, ide
Reaches—
Rightswrite, ui, settings
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
pathrequiredstringThe exchange file (.idcrun, .idckeymap, .idctheme, .idcsources, .idcsettings, or such a file renamed to .toml), workspace-relative or absolute.
dry_runbooleanOnly return the preview (default true); false imports it (needs the write right).
showbooleanShow the preview in the running Ferris IDEA window instead, where the user confirms (MCP over HTTP only).

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 import_file '{"path":"<string>"}'
Input schema as JSON
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"description": "The exchange file (`.idcrun`, `.idckeymap`, `.idctheme`, `.idcsources`, `.idcsettings`, or\nsuch a file renamed to `.toml`), workspace-relative or absolute.",
"type": "string"
},
"dry_run": {
"description": "Only return the preview (default true); false imports it (needs the `write` right).",
"type": [
"boolean",
"null"
],
"default": null
},
"show": {
"description": "Show the preview in the running Ferris IDEA window instead, where the user confirms (MCP over\nHTTP only).",
"type": [
"boolean",
"null"
],
"default": null
}
}
}