(params: { arguments?: unknown })
| 135 | * the same way. No arguments (missing, null or another empty value) are none. |
| 136 | */ |
| 137 | export 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 |
no outgoing calls
no test coverage detected