Skip to content

Plugin

Base classes

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

⋔ Inheritance diagram

graph TD
  864374817["settings.Plugin"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 864374817
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Source code in src/clawd_code_sdk/models/settings.py
class Plugin(ClaudeCodeBaseModel):
    model_config = ConfigDict(
        extra="forbid",
    )
    name: str
    """
    Plugin name
    """
    source: PluginSourceGithub | PluginSourceUrl | PluginSourceGitSubdir | PluginSourceNpm
    """
    External source the plugin is fetched from. Inline plugins must reference external sources such as GitHub or npm, not relative paths
    """

name instance-attribute

name: str

Plugin name

source instance-attribute

External source the plugin is fetched from. Inline plugins must reference external sources such as GitHub or npm, not relative paths

:fa-brands-github: Show source on GitHub