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