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.
| Capability | remote.remote_rename |
|---|---|
| Area | Remote, rooms and agents |
| Access | changes files, remote |
| Reaches | process, network |
| Rights | ssh |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
hostrequired | string | Host alias from ~/.ssh/config or [user@]host[:port]. |
fromrequired | string | Absolute path of the entry. |
torequired | string | Absolute new path; must not exist yet, its folder must. |
dry_run | boolean | Only 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.
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" ] } }}