chmod_file
Change file permissions on a 1Panel server by specifying the file path and permission mode. Use the sub option to apply changes recursively.
Instructions
Change file permissions
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 |
|---|---|---|---|
| sub | No | ||
| mode | Yes | ||
| path | Yes |