(
toolName: string,
toolCallId: string = `tool-${toolName}`,
)
| 35 | } |
| 36 | |
| 37 | function createToolBlock( |
| 38 | toolName: string, |
| 39 | toolCallId: string = `tool-${toolName}`, |
| 40 | ): ToolContentBlock { |
| 41 | return { |
| 42 | type: 'tool', |
| 43 | toolCallId, |
| 44 | toolName: toolName as ToolContentBlock['toolName'], |
| 45 | input: {}, |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | function createImageBlock( |
| 50 | mediaType: string = 'image/png', |
no outgoing calls
no test coverage detected