Set permissions
set_permissionsUse this when the user asks to change mode bits or ownership of a file or directory, for example to make a script executable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gid | No | Optional numeric group id to set as owner. | |
| uid | No | Optional numeric user id to set as owner. | |
| mode | Yes | Octal mode such as "755" or "0644". | |
| path | Yes | Absolute path whose permissions should change. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. | |
| recursive | No | Apply to a directory and everything inside it. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional structured result data for follow-up reasoning and tool calls. | |
| text | Yes | Concise human-readable result of the tool call. |