Send a raw object and return the raw response (no error raising).
(self, obj: dict)
| 140 | self._send({"jsonrpc": "2.0", "method": method, "params": params or {}}) |
| 141 | |
| 142 | def raw_send(self, obj: dict) -> dict: |
| 143 | """Send a raw object and return the raw response (no error raising).""" |
| 144 | self._send(obj) |
| 145 | return self._recv() |
| 146 | |
| 147 | # ------------------------------------------------------------------ |
| 148 | # MCP convenience helpers |