Skip to content

ClaudeCodeAgentInfo

Base classes

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

⋔ Inheritance diagram

graph TD
  1133631721["server_info.ClaudeCodeAgentInfo"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 1133631721
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Information about an available subagent from Claude Code server.

Source code in src/clawd_code_sdk/models/server_info.py
class ClaudeCodeAgentInfo(ClaudeCodeBaseModel):
    """Information about an available subagent from Claude Code server."""

    name: str
    """Agent type identifier (e.g., "Explore")."""

    description: str
    """Description of when to use this agent."""

    model: Model | str | None = None
    """Model alias this agent uses. If omitted, inherits the parent's model."""

description instance-attribute

description: str

Description of when to use this agent.

model class-attribute instance-attribute

model: Model | str | None = None

Model alias this agent uses. If omitted, inherits the parent's model.

name instance-attribute

name: str

Agent type identifier (e.g., "Explore").

:fa-brands-github: Show source on GitHub