class documentation

Undocumented

Async Method __aenter__ Undocumented
Async Method __aexit__ 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 _config Undocumented
Instance Variable _connect_handle Undocumented
Instance Variable _name Undocumented
Instance Variable _server_session_config Undocumented
async def __aenter__(self): (source)

Undocumented

async def __aexit__(self, exc_type, exc_value, traceback): (source)

Undocumented

def __init__(self, server: str, config: ActivityConfig | None, server_session_config: ActivityConfig | None): (source)

Undocumented

@_handle_worker_failure
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

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

Undocumented

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

Undocumented

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

Undocumented

Undocumented

Undocumented

_connect_handle: ActivityHandle | None = (source)

Undocumented

Undocumented

_server_session_config = (source)

Undocumented