Overview of xcsift output formats
masterxcsift supports three output formats tailored for different integration needs:
- JSON: The default format. Provides a standard, structured schema for maximum compatibility with programmatic tools and JSON parsers.
- TOON (Token-Oriented Object Notation): A compact, indentation-based format designed for LLMs and AI tools. It provides 30-60% fewer tokens compared to JSON, making it ideal for reducing API costs and context window usage.
- GitHub Actions: Automatically appends workflow annotations (e.g.,
::error,::warning) when running in a GitHub Actions environment (GITHUB_ACTIONS=true), allowing build issues to appear directly in PR comments and the GitHub UI.
Use Case | Recommended Format
----------|-------------------
LLM/AI tools | TOON (`-f toon`)
JSON tooling | JSON (default)
GitHub CI | Auto-detected
Debugging | JSON with `--warnings`
API cost optimization | TOON