chmod_file
Change Unix permission mode of a file. Provide an existing path under allowed directories and an octal mode string (e.g., 755 or 0755) to update access permissions.
Instructions
Wijzig de Unix-permissiemodus van een bestaand toegestaan pad.
path moet bestaan en onder allowed_write_dirs vallen. mode moet
een octale tekenreeks van drie of vier cijfers zijn, bijvoorbeeld
755 of 0755. Deze tool muteert bestandssysteemmetadata via
chmod, maar wijzigt de bestandsinhoud niet.
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": {
"path": "<path>",
"mode": "<mode>"
},
"name": "chmod_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||