mirror of
https://github.com/morluto/rea.git
synced 2026-10-26 17:35:11 +00:00
test: bind MCP validation and cleanup faults to selected inputs
This commit is contained in:
1 parent
fef76a02fb
commit
99062feaa7
7 files changed
+53
-26
No files matched your search
@@ -0,0 +1,11 @@
|
||||
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"]>;
|
||||
Reference in new issue
Block a user