Skip to content

[Extensibility] Add custom tool formatter API #552

Closed

Description

@sudo-tee

Goal

Allow recipes to provide custom presentations for tool output.

Scope

  • Register and unregister formatters by tool name.
  • Require explicit opt-in when replacing a built-in formatter, with restoration on unregister.
  • Preserve core ownership of borders, folds, streaming, errors, and renderer lifecycle.
  • Document the contract and add focused coverage.

Out of scope

Replacing message-role or arbitrary message-part formatters.

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