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).
| Capability | workspace.import_file |
|---|---|
| Area | Workspace and files |
| Access | changes files, settings, ide |
| Reaches | — |
| Rights | write, ui, settings |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
pathrequired | string | The exchange file (.idcrun, .idckeymap, .idctheme, .idcsources, .idcsettings, or
such a file renamed to .toml), workspace-relative or absolute. |
dry_run | boolean | Only return the preview (default true); false imports it (needs the write right). |
show | boolean | Show 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.
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 } }}