MCPcopy Create free account
hub / github.com/IBM/mcp-cli / ToolCallMetadata

Class ToolCallMetadata

src/mcp_cli/chat/models.py:287–298  ·  view source on GitHub ↗

Metadata tracked per in-flight tool call during execution.

Source from the content-addressed store, hash-verified

285
286
287class ToolCallMetadata(BaseModel):
288 """Metadata tracked per in-flight tool call during execution."""
289
290 llm_tool_name: str = Field(description="Tool name as the LLM sees it")
291 execution_tool_name: str = Field(description="Actual tool name for execution")
292 display_name: str = Field(description="Display name for UI")
293 arguments: dict[str, Any] = Field(
294 default_factory=dict, description="Resolved arguments"
295 )
296 raw_arguments: str = Field(default="", description="Raw arguments string from LLM")
297
298 model_config = {"frozen": True}
299
300
301# ──────────────────────────────────────────────────────────────────────────────

Calls

no outgoing calls