AiTool

Tool

Tool invocation display with lifecycle states.

searchKnowledgeBase
Completed

Arguments

{
  "query": "RAG architecture",
  "top_k": 5,
  "filter": "category:ml"
}

Result

{
  "found": 3,
  "documents": [
    "doc_01",
    "doc_02",
    "doc_03"
  ]
}

Usage

<AiTool :tool-call="toolCall" />

Props

Prop Type Default Description
toolCall*AiToolCall

Slots

  • header
  • args
  • result
  • status