( toolUseID: string, )
| 620 | } |
| 621 | |
| 622 | export function createToolResultStopMessage( |
| 623 | toolUseID: string, |
| 624 | ): ToolResultBlockParam { |
| 625 | return { |
| 626 | type: 'tool_result', |
| 627 | content: CANCEL_MESSAGE, |
| 628 | is_error: true, |
| 629 | tool_use_id: toolUseID, |
| 630 | } |
| 631 | } |
| 632 | |
| 633 | export function extractTag(html: string, tagName: string): string | null { |
| 634 | if (!html.trim() || !tagName.trim()) { |
no outgoing calls
no test coverage detected