Skip to content

RefreshMcpTools

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  82949782["output_types.RefreshMcpTools"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 82949782
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

```` entry of RefreshMcpTools.

Source code in src/clawd_code_sdk/models/output_types.py
class RefreshMcpTools(TypedDict):
    """```` entry of RefreshMcpTools."""

    server: str
    """Server name"""
    status: Literal["refreshed", "error", "not_connected"]
    """refreshed: tool list re-queried and applied.

    error: the re-query failed and the previous tool set was kept. not_connected: the server has no
    live connection to query (this tool never dials).
    """
    toolCount: NotRequired[int]
    """Number of tools now available from this server"""
    added: NotRequired[list[str]]
    """Tool names this refresh added"""
    removed: NotRequired[list[str]]
    """Tool names this refresh removed"""
    error: NotRequired[str]
    """Why the refresh failed or the server was unavailable"""

added instance-attribute

added: NotRequired[list[str]]

Tool names this refresh added

error instance-attribute

error: NotRequired[str]

Why the refresh failed or the server was unavailable

removed instance-attribute

removed: NotRequired[list[str]]

Tool names this refresh removed

server instance-attribute

server: str

Server name

status instance-attribute

status: Literal['refreshed', 'error', 'not_connected']

refreshed: tool list re-queried and applied.

error: the re-query failed and the previous tool set was kept. not_connected: the server has no live connection to query (this tool never dials).

toolCount instance-attribute

toolCount: NotRequired[int]

Number of tools now available from this server

:fa-brands-github: Show source on GitHub