MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / __init__

Method __init__

mini_agent/tools/mcp_loader.py:63–75  ·  view source on GitHub ↗
(
        self,
        name: str,
        description: str,
        parameters: dict[str, Any],
        session: ClientSession,
        execute_timeout: float | None = None,
    )

Source from the content-addressed store, hash-verified

61 """Wrapper for MCP tools with timeout handling."""
62
63 def __init__(
64 self,
65 name: str,
66 description: str,
67 parameters: dict[str, Any],
68 session: ClientSession,
69 execute_timeout: float | None = None,
70 ):
71 self._name = name
72 self._description = description
73 self._parameters = parameters
74 self._session = session
75 self._execute_timeout = execute_timeout
76
77 @property
78 def name(self) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected