file_chmod
Change file or directory permissions by setting an octal mode like 755 or 644 for a specified path.
Instructions
Change permissions mode for a file or directory path.
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": "file_chmod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Permissions octal string (e.g. '755', '644'). | |
| path | Yes | Target file or directory path. |