Draw an answer
visualizeInteractive: draw your answer as a card the reader can use: a comparison with a verdict, a plan as steps, a calculator whose chart follows its sliders, a quiz, a table, a diagram. Write it as an A2UI v0.9.1 document; the tool checks that it will draw (a document that won't comes back as an error listing what to fix; its facts aren't checked), returns all of it as text (a one-line handoff where the card shows), and labels it as composed by you. Call it whenever the answer has a shape: the reader asks to compare ("compare", "X vs Y", "pros and cons", "trade-offs", "which is better for"), for a plan ("plan", "roadmap", "migration steps", "rollout", "timeline"), to "show me", "draw", "chart" or "visualise" something, or for "a table of" options, rather than answering with a long Markdown table or list; a post, a case-study comparison or a readiness check go to explore_post, compare_case_studies and assess_databricks_readiness first. Get the facts first with search or get_page and pass those URLs as sources: only pages this site publishes are listed. In a host that renders MCP Apps it opens as the card; the text is complete without it. For example: "draw that Databricks comparison as a card", "lay out the migration plan step by step", "show me the cost options side by side", "compare Fabric vs Databricks", "pros and cons of a lakehouse", "a rollout timeline for the migration".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document": "<document>"
},
"name": "visualize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | The card's title (default: the document's first heading) | |
| sources | No | The techfabric.com URLs whose facts the answer uses (from search or get_page); only this site's pages are cited | |
| document | Yes | The answer as A2UI v0.9.1 messages: JSONL (one JSON message a line) or a JSON array. createSurface with catalogId https://agents.fabric.pro/a2ui/v0.9/fabric_catalog.json (Fabric's catalog: the basic one plus Chart, Stat, Callout, Steps, Quiz, Flashcards, Timeline, Compare, Diagram, Code, Table) or the basic catalog; updateComponents with a component whose id is root; updateDataModel for values the inputs bind to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| title | Yes | ||
| errors | Yes | ||
| sources | Yes | ||
| document | Yes | ||
| surfaces | Yes | ||
| provenance | Yes | ||
| unverified | Yes |