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

Function toolCallArguments

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

Source from the content-addressed store, hash-verified

135 * the same way. No arguments (missing, null or another empty value) are none.
136 */
137export function toolCallArguments(params: { arguments?: unknown }): Record<string, unknown> | null {
138 const args = params.arguments || {};
139 return typeof args === 'object' && !Array.isArray(args) ? (args as Record<string, unknown>) : null;
140}
141
142/**
143 * 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