Skip to content

New Feature: TOON Integration #13667

@Trikos

Description

@Trikos

name: Feature request
about: Suggest an idea for this project


Hello Microsoft :)

I’d like to suggest evaluating support for TOON (Token-Oriented Object Notation) as an optional structured format in Semantic Kernel .NET.

TOON is a compact, human-readable, lossless representation of JSON designed for LLM input, and it seems potentially useful for scenarios where SK currently serializes structured data into prompts using JSON.

A possible approach could be to expose a pluggable formatter/serializer for structured prompt data, so developers can choose between JSON, TOON, or custom formats depending on the use case.

This could be helpful for:

  • prompt rendering of structured variables
  • tool/function arguments
  • intermediate planner data
  • reducing prompt size for structured inputs
  • be able to call more functions tool

If core support feels too early, an experimental extension package could also make sense.

Would the team be open to this kind of integration or extension point?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions