MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / toolCallArguments

Function toolCallArguments

src/mcp/session.ts:99–102  ·  view source on GitHub ↗
(params: { arguments?: unknown })

Source from the content-addressed store, hash-verified

97 * the same way. No arguments (missing, null or another empty value) are none.
98 */
99export function toolCallArguments(params: { arguments?: unknown }): Record<string, unknown> | null {
100 const args = params.arguments || {};
101 return typeof args === 'object' && !Array.isArray(args) ? (args as Record<string, unknown>) : null;
102}
103
104/**
105 * How long to wait for the client's `roots/list` response before giving up

Callers 2

serveLocallyFunction · 0.90
handleToolsCallMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected