dircolors
Retrieve LS_COLORS configuration mapping file types to ANSI color codes. Inspect how shell colors file listings.
Instructions
Return LS_COLORS configuration mapping file types to ANSI color codes. Read-only, no side effects. Returns JSON with the color mapping; color output disabled by default for agent-friendly display. Use to inspect how the shell colors file listings. Not for actual directory listing — use 'ls' or 'dir'. See also 'ls'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dircolors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Write shell configuration without a JSON envelope. | |
| shell | No | Raw shell format. | bash |