MCPcopy Create free account
hub / github.com/TanStack/ai / getPrompt

Method getPrompt

packages/ai-mcp/src/client.ts:204–210  ·  view source on GitHub ↗
(
    name: string,
    args?: Record<string, string>,
  )

Source from the content-addressed store, hash-verified

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,

Callers 3

prompts.test.tsFile · 0.80
api.mcp-manual.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected