Skip to content

room_set_role

MCP tools › Remote, rooms and agents

Change a person's role in a room, or remove them with role removed (SPEC-0323, Experimental); takes effect within a second by closing their session, and a removed person cannot return through a link. Needs the user-granted ssh right and the admin role.

Capabilityremote.room_set_role
AreaRemote, rooms and agents
Accesschanges remote
Reachesnetwork
Rightsssh
Dry runnone

Arguments

ArgumentTypeDescription
hostrequiredstringHost of the remote project.
folderrequiredstringIts folder.
personrequiredstringThe person's id, from room_status.
rolerequiredstringThe new role, or removed to remove the person.

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_set_role '{"host":"<string>","folder":"<string>","person":"<string>","role":"<string>"}'
Input schema as JSON
{
"type": "object",
"required": [
"host",
"folder",
"person",
"role"
],
"properties": {
"host": {
"description": "Host of the remote project.",
"type": "string"
},
"folder": {
"description": "Its folder.",
"type": "string"
},
"person": {
"description": "The person's id, from `room_status`.",
"type": "string"
},
"role": {
"description": "The new role, or `removed` to remove the person.",
"type": "string"
}
}
}