Skip to content

feat: add experimental TOON support for structured content output#2042

Draft
zyzyzyryxy wants to merge 1 commit into
mainfrom
zyzyzyryxy/toon-output
Draft

feat: add experimental TOON support for structured content output#2042
zyzyzyryxy wants to merge 1 commit into
mainfrom
zyzyzyryxy/toon-output

Conversation

@zyzyzyryxy
Copy link
Copy Markdown
Contributor

Adds --experimentalStructuredContentFormat flag (json | toon). Adding it in args implies --experimentalStructuredContent.

--experimentalStructuredContentFormat json works like --experimentalStructuredContent before.
--experimentalStructuredContentFormat toon outputs structuredContent encoded as TOON.

Work in progress:

  • Exact output format still in the works (can "toon" key be dropped?)
  • automated tests

@zyzyzyryxy zyzyzyryxy force-pushed the zyzyzyryxy/toon-output branch from 91642e4 to 3273670 Compare May 14, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant