Skip to content

Consider using TOON for tool output #139

Description

@mattt

https://github.com/toon-format/toon-swift

TOON is a human-readable serialization format for LLM contexts with 30-60% token reduction vs JSON.

Tool outputs are currently encoded as JSON-LD, which is precise but heavy with ceremony. Encoding instead with TOON should give us the same fidelity of results at a lower token cost.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions