Skip to content

remote_rename

MCP tools › Remote, rooms and agents

Rename or move an entry on an SSH host: to must not exist yet and its folder must. dry_run defaults to true; dry_run=false needs the user-granted ssh right and is logged in .ferris-idea/agent-log.jsonl.

Capabilityremote.remote_rename
AreaRemote, rooms and agents
Accesschanges files, remote
Reachesprocess, network
Rightsssh
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
hostrequiredstringHost alias from ~/.ssh/config or [user@]host[:port].
fromrequiredstringAbsolute path of the entry.
torequiredstringAbsolute new path; must not exist yet, its folder must.
dry_runbooleanOnly describe the change (default true).

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 remote_rename '{"host":"<string>","from":"<string>","to":"<string>"}'
Input schema as JSON
{
"type": "object",
"required": [
"host",
"from",
"to"
],
"properties": {
"host": {
"description": "Host alias from `~/.ssh/config` or `[user@]host[:port]`.",
"type": "string"
},
"from": {
"description": "Absolute path of the entry.",
"type": "string"
},
"to": {
"description": "Absolute new path; must not exist yet, its folder must.",
"type": "string"
},
"dry_run": {
"description": "Only describe the change (default true).",
"type": [
"boolean",
"null"
]
}
}
}