MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / argsRecord

Function argsRecord

packages/plugins/mcp/src/sdk/invoke.ts:42–43  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

40const decodeArgsRecord = Schema.decodeUnknownOption(ArgsRecord);
41
42const argsRecord = (value: unknown): Record<string, unknown> =>
43 Option.getOrElse(decodeArgsRecord(value), () => ({}));
44
45// The spec answers `tools/call` for a tool the server no longer advertises
46// with a protocol error (`-32602 Invalid params`, example message

Callers 1

invokeMcpToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected