agent

tool-renderer-registry

Lets a tool swap in its own input AND output UI — a designed card instead of raw JSON, a fillable form instead of option buttons. WHAT renders, as opposed to WHERE (part-projection).

weather · read

Reykjavík

4°
sleet, wind 22 km/h

rewrite · needs input

Rewrite release-notes.md — pick a tone, or describe how you want it.

The weather card replaces raw JSON; the rewrite card takes a tone AND free text. Both delegate to ToolCall for states they don't own.

Installation

Usage

Use when

  • A tool whose output deserves a designed surface (weather card, diff view) — getToolOutputData unwraps the MCP result
  • A fillable input: free text PLUS options, responding with both text and optionId

Not for

  • Standard approvals — the default ToolCall already handles binary and multi-choice