| 7 | * Message format - OpenAI standard (industry standard) |
| 8 | */ |
| 9 | export interface Message { |
| 10 | role: 'system' | 'user' | 'assistant' | 'tool' |
| 11 | content?: string | null |
| 12 | tool_calls?: { |
| 13 | id: string |
| 14 | type: 'function' |
| 15 | function: { |
| 16 | name: string |
| 17 | arguments: string // JSON string |
| 18 | } |
| 19 | }[] |
| 20 | tool_call_id?: string |
| 21 | name?: string |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * Tool definition - uses Zod schema (LLM-agnostic) |
nothing calls this directly
no outgoing calls
no test coverage detected