Skip to content

Function: ToolMarkdown()

ToolMarkdown(__namedParameters): Element

Tighter, muted markdown variant for inline tool detail copy: Genie attachment text (the natural-language summary that arrives below the SQL) and SQL descriptions. Same Streamdown engine as AssistantMarkdown so we keep GFM, shiki, and table primitive mapping, but everything is squeezed: smaller font, tighter leading, and near-zero block margins so a few short lines don’t take more vertical space than the SQL block above them. Lists get a shallow indent (pl-4) because the default prose-sm indent is sized for chat-bubble copy and looks oversized inside a sub-pill. Strong (bold) gets the foreground color so KPI names still pop against the muted body.

string

Element