(toolId: string, output: Record<string, unknown>)
| 629 | } |
| 630 | |
| 631 | export function postProcessToolOutput(toolId: string, output: Record<string, unknown>) { |
| 632 | return isCustomTool(toolId) ? output : stripInternalFields(output) |
| 633 | } |
| 634 | |
| 635 | /** |
| 636 | * Apply post-execution hosted-key cost tracking to a successful tool result. |
no test coverage detected