Skip to content

ToolUseMeta

Base classes

Name Children Inherits
ClaudeCodeBaseModel
clawd_code_sdk.models.base
Base model for all Claude Code Pydantic models.

⋔ Inheritance diagram

graph TD
  3592537793["messages.ToolUseMeta"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 3592537793
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Display metadata for a tool_use block in an assistant message (undocumented).

Source code in src/clawd_code_sdk/models/messages.py
class ToolUseMeta(ClaudeCodeBaseModel):
    """Display metadata for a tool_use block in an assistant message (undocumented)."""

    id: str
    """ID of the tool_use block this metadata belongs to."""
    tool_name: str
    """Name of the tool (without MCP server prefix)."""
    display_name: str | None = None
    """Human-readable tool name."""
    server_display_name: str | None = None
    """Display name of the MCP server providing the tool."""

display_name class-attribute instance-attribute

display_name: str | None = None

Human-readable tool name.

id instance-attribute

id: str

ID of the tool_use block this metadata belongs to.

server_display_name class-attribute instance-attribute

server_display_name: str | None = None

Display name of the MCP server providing the tool.

tool_name instance-attribute

tool_name: str

Name of the tool (without MCP server prefix).

:fa-brands-github: Show source on GitHub