Skip to content

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.

Capabilityremote.room_apply
AreaRemote, rooms and agents
Accesschanges files
Reachesnetwork
Rightswrite
Dry runnone

Arguments

ArgumentTypeDescription
hostrequiredstringHost of the remote project.
folderrequiredstringIts folder.
changesrequiredanyMembers 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.

Terminal window
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\"}`."
}
}
}