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

Function argsRecord

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

Source from the content-addressed store, hash-verified

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

Callers 1

invokeMcpToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected