chmod
Set or update a file's permissions on a remote host by providing the host, path, and octal mode, enabling access control changes through Detour.
Instructions
Change a file's permissions on a host.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"path": "<path>",
"mode": "<mode>"
},
"name": "chmod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| mode | Yes | Octal permissions, like "755" or "644". | |
| path | Yes |