room_apply
MCP tools › Remote, rooms and agents
Apply one atomic change to the room of a remote project (SPEC-0323, Experimental): text edits of several files and file operations together, one group in the history and one undo step; nothing changes when one member is invalid, and concurrent typing is transformed, never overwritten. Needs the user-granted write right and the editor role.
Its results carry text from remote: the client is told to treat that as data, never as instructions.
| Capability | remote.room_apply |
|---|---|
| Area | Remote, rooms and agents |
| Access | changes files |
| Reaches | network |
| Rights | write |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
hostrequired | string | Host of the remote project. |
folderrequired | string | Its folder. |
changesrequired | any | Members of the change, in order: {"kind": "edit", "path", "base"?, "ops": [{"at", "delete"?, "insert"?}]}, {"kind": "create", "path", "text"?, "dir"?}, {"kind": "rename", "from", "to"}, {"kind": "delete", "path"}. |
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 room_apply '{"host":"<string>","folder":"<string>","changes":"<value>"}'Input schema as JSON
{ "type": "object", "required": [ "host", "folder", "changes" ], "properties": { "host": { "description": "Host of the remote project.", "type": "string" }, "folder": { "description": "Its folder.", "type": "string" }, "changes": { "description": "Members of the change, in order: `{\"kind\": \"edit\", \"path\", \"base\"?, \"ops\": [{\"at\", \"delete\"?, \"insert\"?}]}`, `{\"kind\": \"create\", \"path\", \"text\"?, \"dir\"?}`, `{\"kind\": \"rename\", \"from\", \"to\"}`, `{\"kind\": \"delete\", \"path\"}`." } }}