{
  "name": "agent-tool-call-result",
  "kind": "block",
  "primary": "section",
  "page": "/catalog/ui-patterns/v050-agent-blocks/v050-agent-blocks.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {},
  "html": "<section>\n    <card-ui>\n      <header>\n        <row-ui gap=\"2\" align=\"center\">\n          <icon-ui name=\"terminal-window\" color=\"accent\"></icon-ui>\n          <text-ui strong>search_chunks</text-ui>\n          <tag-ui text=\"ok · 42ms\" color=\"success\" size=\"sm\"></tag-ui>\n        </row-ui>\n      </header>\n      <section>\n        <col-ui gap=\"3\">\n          <col-ui gap=\"1\">\n            <text-ui size=\"sm\" color=\"subtle\" tracking=\"wide\">ARGUMENTS</text-ui>\n            <code-ui language=\"json\" bare>{\n  \"intent\": \"login form with email and password\",\n  \"limit\": 5\n}</code-ui>\n          </col-ui>\n          <col-ui gap=\"1\">\n            <text-ui size=\"sm\" color=\"subtle\" tracking=\"wide\">RESULT (5 matches)</text-ui>\n            <code-ui language=\"json\" bare>[\n  { \"name\": \"auth-signin-card-password\", \"score\": 41 },\n  { \"name\": \"auth-password-reset\", \"score\": 38 },\n  { \"name\": \"auth-signin-card-email\", \"score\": 36 }\n]</code-ui>\n          </col-ui>\n        </col-ui>\n      </section>\n    </card-ui>\n  </section>",
  "source": "catalog/ui-patterns/v050-agent-blocks/v050-agent-blocks.contents.html",
  "metadata": {
    "domain": "agent",
    "description": "Tool-call result card — tool name + arguments JSON + result preview + status pill + expand/collapse.",
    "keywords": [
      "tool-call",
      "function-call",
      "result",
      "agent",
      "tool",
      "ai",
      "mcp",
      "arguments",
      "output",
      "expand",
      "collapse"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "terminal-window",
      "component": "Icon",
      "name": "terminal-window"
    },
    {
      "id": "text",
      "component": "Text",
      "strong": true,
      "textContent": "search_chunks"
    },
    {
      "id": "tag",
      "component": "Tag",
      "size": "sm",
      "text": "ok · 42ms"
    },
    {
      "id": "row",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "terminal-window",
        "text",
        "tag"
      ]
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "row"
      ]
    },
    {
      "id": "text-2",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "ARGUMENTS"
    },
    {
      "id": "code",
      "component": "Code",
      "bare": true,
      "language": "json",
      "textContent": "{ \"intent\": \"login form with email and password\", \"limit\": 5 }"
    },
    {
      "id": "column-2",
      "component": "Column",
      "gap": "1",
      "children": [
        "text-2",
        "code"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "RESULT (5 matches)"
    },
    {
      "id": "code-2",
      "component": "Code",
      "bare": true,
      "language": "json",
      "textContent": "[ { \"name\": \"auth-signin-card-password\", \"score\": 41 }, { \"name\": \"auth-password-reset\", \"score\": 38 }, { \"name\": \"auth-signin-card-email\", \"score\": 36 } ]"
    },
    {
      "id": "column-3",
      "component": "Column",
      "gap": "1",
      "children": [
        "text-3",
        "code-2"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "3",
      "children": [
        "column-2",
        "column-3"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "card",
      "component": "Card",
      "children": [
        "header",
        "section"
      ]
    },
    {
      "id": "root",
      "component": "Section",
      "children": [
        "card"
      ]
    }
  ]
}
