(
name: string,
args?: Record<string, string>,
)
| 202 | } |
| 203 | |
| 204 | async getPrompt( |
| 205 | name: string, |
| 206 | args?: Record<string, string>, |
| 207 | ): Promise<GetPromptResult> { |
| 208 | if (this.#closed) throw new MCPConnectionError('MCP client is closed') |
| 209 | return this.#client.getPrompt({ name, arguments: args }) |
| 210 | } |
| 211 | |
| 212 | async callTool( |
| 213 | name: string, |
no outgoing calls
no test coverage detected