(args: ToolArgs, parentKey: string, ...keys: string[])
| 36 | } |
| 37 | |
| 38 | function nestedStringArg(args: ToolArgs, parentKey: string, ...keys: string[]): string { |
| 39 | const parent = args?.[parentKey] |
| 40 | if (!parent || typeof parent !== 'object') return '' |
| 41 | return firstStringArg(parent as Record<string, unknown>, ...keys) |
| 42 | } |
| 43 | |
| 44 | function operationTitle( |
| 45 | args: ToolArgs, |
no test coverage detected