device_restrict
MCP tools › Remote, rooms and agents
Narrow the rights of a paired device (SPEC-0324, Experimental): only a subset of its rights; widening is the user's, with ferris-idea serve --rights. A live session of the device ends so that nothing keeps a right that was taken. Needs the user-granted ssh right; logged.
| Capability | remote.device_restrict |
|---|---|
| Area | Remote, rooms and agents |
| Access | changes settings, remote |
| Reaches | — |
| Rights | ssh |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
fingerprintrequired | string | Fingerprint of the paired device. |
rightsrequired | array of string | The rights to keep: a subset of the device's rights. view always stays. |
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 device_restrict '{"fingerprint":"<string>","rights":[]}'Input schema as JSON
{ "type": "object", "required": [ "fingerprint", "rights" ], "properties": { "fingerprint": { "description": "Fingerprint of the paired device.", "type": "string" }, "rights": { "description": "The rights to keep: a subset of the device's rights. `view` always stays.", "type": "array", "items": { "type": "string" } } }}