Skip to content

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.

Capabilityworkspace.export_file
AreaWorkspace and files
Accesschanges files
Reaches—
Rightswrite
Dry runnone

Arguments

ArgumentTypeDescription
kindrequiredstringrun, keymap, theme, sources or settings.
namestringThe run configuration to export (kind run).
idsarray of stringConnection ids to export (kind sources; default all).
pathstringWrite the file here (workspace-relative or absolute; needs the write right).
overwritebooleanReplace an existing file at path.
sharebooleanAlso 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.

Terminal window
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
}
}
}