Skip to content

SDKControlReloadPluginsRequest

Base classes

Name Children Inherits
_ControlBase
clawd_code_sdk.models.control
Frozen base for all SDK control request models.

⋔ Inheritance diagram

graph TD
  1770497729["control.SDKControlReloadPluginsRequest"]
  1268774935["control._ControlBase"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  1268774935 --> 1770497729
  3879467795 --> 1268774935
  2751680898 --> 3879467795

🛈 DocStrings

Bases: _ControlBase

Reloads plugins from disk and returns the refreshed session components.

Source code in src/clawd_code_sdk/models/control.py
class SDKControlReloadPluginsRequest(_ControlBase):
    """Reloads plugins from disk and returns the refreshed session components."""

    subtype: Literal["reload_plugins"] = "reload_plugins"
    hold_on_cache_impact: bool | None = None
    """Don't apply the reload if it would change the tool list the prompt cache depends on."""
    add_plugins: list[SdkPluginConfig] | None = None
    """Additional plugins to load as part of the reload."""
    refuse_if_busy: bool | None = None

add_plugins class-attribute instance-attribute

add_plugins: list[SdkPluginConfig] | None = None

Additional plugins to load as part of the reload.

hold_on_cache_impact class-attribute instance-attribute

hold_on_cache_impact: bool | None = None

Don't apply the reload if it would change the tool list the prompt cache depends on.

:fa-brands-github: Show source on GitHub