( call: PreflightedToolCall, args: unknown, output: string, )
| 684 | } |
| 685 | |
| 686 | function makeErrorToolResult( |
| 687 | call: PreflightedToolCall, |
| 688 | args: unknown, |
| 689 | output: string, |
| 690 | ): PendingToolResult { |
| 691 | return makeToolResult(call, args, { output, isError: true }); |
| 692 | } |
| 693 | |
| 694 | /** |
| 695 | * Record `tool.call` in provider order. Reusing the provider/API tool-call id |
no test coverage detected