Skip to content

ConfigUpdateRequest

Base classes

Name Children Inherits
BaseSchema
mcp_server_llmling.injection.models
Base schema with shared configuration.

⋔ Inheritance diagram

graph TD
  211607557["models.ConfigUpdateRequest"]
  3548594046["models.BaseSchema"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3548594046 --> 211607557
  3879467795 --> 3548594046
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseSchema

Request model for config updates.

Source code in src/mcp_server_llmling/injection/models.py
class ConfigUpdateRequest(BaseSchema):
    """Request model for config updates."""

    resources: dict[str, BaseResource] | None = None
    """Dictionary of resources to update."""

    tools: dict[str, ToolConfig] | None = None
    """Dictionary of tools to update."""

    replace_existing: bool = True
    """Whether to replace existing components."""

replace_existing class-attribute instance-attribute

replace_existing: bool = True

Whether to replace existing components.

resources class-attribute instance-attribute

resources: dict[str, BaseResource] | None = None

Dictionary of resources to update.

tools class-attribute instance-attribute

tools: dict[str, ToolConfig] | None = None

Dictionary of tools to update.

:fa-brands-github: Show source on GitHub