Explain a chmod mode
explain_chmodConvert an octal or symbolic file mode into octal, symbolic notation, and a chmod command, including setuid, setgid, and the sticky bit.
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": "explain_chmod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Octal such as 755 or 4755, or symbolic such as rwxr-xr-x. | |
| path | No | file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| octal | Yes | ||
| setgid | Yes | ||
| setuid | Yes | ||
| sticky | Yes | ||
| command | Yes | ||
| symbolic | Yes |