mirror of
https://github.com/morluto/rea.git
synced 2026-10-26 17:35:11 +00:00
12 lines
361 B
TypeScript
12 lines
361 B
TypeScript
import type {
|
|
Client,
|
|
CallToolRequestOptions,
|
|
} from "@modelcontextprotocol/client";
|
|
|
|
/** Call with the server's advertised schema; callers cannot replace it. */
|
|
export function artifactMcpCall(
|
|
client: Client,
|
|
parameters: Parameters<Client["callTool"]>[0],
|
|
options?: Omit<CallToolRequestOptions, "toolDefinition">,
|
|
): ReturnType<Client["callTool"]>;
|