Oh My Posh Validator

v31.8.0
dev.ohmyposh/validator Checked 2 hours ago Published 1 month ago

Validate 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.

ParameterTypeDescription
content *stringThe configuration content as a string (JSON, YAML, or TOML)
formatstringThe 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.

ParameterTypeDescription
content *stringThe segment content as a string (JSON, YAML, or TOML)
formatstringThe format of the segment (auto-detect if not specified)