chmod calculator
chmod_calculatorConverts Unix file permissions between octal (755, 4755) and symbolic (rwxr-xr-x) form, shows the chmod command, explains who can read, write and run, and flags risky modes such as 777.
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": {
"mode": "<mode>"
},
"name": "chmod_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Octal mode such as 644 or 4755, or symbolic mode such as rwxr-xr-x (a leading file-type character, as in -rwxr-xr-x, is accepted). | |
| path | No | A file name to put in the chmod command. Defaults to filename. |