validate_segment
Validate a segment snippet against the oh-my-posh schema. Useful for validating individual prompt segments before adding them to a configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | The format of the segment (auto-detect if not specified) | auto |
| content | Yes | The segment content as a string (JSON, YAML, or TOML) |