Oh My Posh Validator
v31.8.0Validate oh-my-posh configurations and segment snippets against the official schema.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
validate_config
Validate an oh-my-posh configuration against the schema. Supports JSON, YAML, and TOML formats.
| Parameter | Type | Description |
|---|---|---|
content * | string | The configuration content as a string (JSON, YAML, or TOML) |
format | string | The format of the configuration (auto-detect if not specified) |
validate_segment
Validate a segment snippet against the oh-my-posh schema. Useful for validating individual prompt segments before adding them to a configuration.
| Parameter | Type | Description |
|---|---|---|
content * | string | The segment content as a string (JSON, YAML, or TOML) |
format | string | The format of the segment (auto-detect if not specified) |