export_file
MCP tools › Workspace and files
Export a Ferris IDEA exchange file of kind run, keymap, theme, sources or settings. Passwords, secret references, agent rights, secret-named env variables, outside paths and AI, MCP and terminal settings are left out and listed in left_out. Returns text and a suggested file_name; with path writes it in the workspace (needs write; overwrite only with overwrite). share adds a prefilled GitHub issue URL; Ferris IDEA sends nothing.
| Capability | workspace.export_file |
|---|---|
| Area | Workspace and files |
| Access | changes files |
| Reaches | — |
| Rights | write |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
kindrequired | string | run, keymap, theme, sources or settings. |
name | string | The run configuration to export (kind run). |
ids | array of string | Connection ids to export (kind sources; default all). |
path | string | Write the file here (workspace-relative or absolute; needs the write right). |
overwrite | boolean | Replace an existing file at path. |
share | boolean | Also return the prefilled GitHub issue URL for sharing; nothing is sent. |
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 export_file '{"kind":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "kind" ], "properties": { "kind": { "description": "`run`, `keymap`, `theme`, `sources` or `settings`.", "type": "string" }, "name": { "description": "The run configuration to export (kind `run`).", "type": [ "string", "null" ], "default": null }, "ids": { "description": "Connection ids to export (kind `sources`; default all).", "type": [ "array", "null" ], "items": { "type": "string" }, "default": null }, "path": { "description": "Write the file here (workspace-relative or absolute; needs the `write` right).", "type": [ "string", "null" ], "default": null }, "overwrite": { "description": "Replace an existing file at `path`.", "type": [ "boolean", "null" ], "default": null }, "share": { "description": "Also return the prefilled GitHub issue URL for sharing; nothing is sent.", "type": [ "boolean", "null" ], "default": null } }}