class documentation

class _StatelessMCPServerReference(MCPServer): (source)

Constructor: _StatelessMCPServerReference(server, config, cache_tools_list)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Async Method call_tool Undocumented
Async Method cleanup Undocumented
Async Method connect Undocumented
Async Method get_prompt Undocumented
Async Method list_prompts Undocumented
Async Method list_tools Undocumented
Property name Undocumented
Instance Variable _cache_tools_list Undocumented
Instance Variable _config Undocumented
Instance Variable _name Undocumented
Instance Variable _tools Undocumented
def __init__(self, server: str, config: ActivityConfig | None, cache_tools_list: bool): (source)

Undocumented

async def call_tool(self, tool_name: str, arguments: dict[str, Any] | None) -> CallToolResult: (source)

Undocumented

async def cleanup(self): (source)

Undocumented

async def connect(self): (source)

Undocumented

async def get_prompt(self, name: str, arguments: dict[str, Any] | None = None) -> GetPromptResult: (source)

Undocumented

async def list_prompts(self) -> ListPromptsResult: (source)

Undocumented

async def list_tools(self, run_context: RunContextWrapper[Any] | None = None, agent: AgentBase | None = None) -> list[MCPTool]: (source)

Undocumented

Undocumented

_cache_tools_list = (source)

Undocumented

Undocumented

Undocumented

Undocumented