Default fallback
Without any configuration, chrome prettifies the raw id and args:host_email_sendrenders as “Email send”.gmail_GMAIL_CREATE_EMAIL_DRAFTrenders as “Gmail create email draft”.- Object arguments render as a
Key: valuepreview in the approval card and a compactKey value · Key valuesummary on the chip. Non-object args fall back to the server-formatted input preview. - Consecutive identical chips (same tool, same args) collapse into one entry
with an
×Ncount. - The chip’s spinner, check, or error icon carries lifecycle state — no
output-availableorTool:text ever renders. - The in-thread approval card no longer prints a fabricated context byline. Standalone and queue approval cards keep their real server-provided principal, venue, and presence context.
Pass friendly metadata to VendoProvider
VendoProvider accepts an optional tools prop keyed by tool name. Every
field is optional; missing fields fall through to the default fallback.
tools is additive and UI-side. It does not change the wire, the tool
descriptor, or guard behavior — a call still routes through the same policy,
grant, and approval decision described in
Tools and safety.
Read metadata from your own chrome
useVendoTools() exposes the same ToolMetaMap for custom surfaces built on
top of the headless hooks. The hook is provider-optional
and returns an empty map when called outside VendoProvider, so standalone
components degrade to the formatting fallback.