(id: string, name: string, args: string | null)
| 4 | import type { ToolReturnValue } from './fixtures/simple-toolset'; |
| 5 | import { describe, expect, it } from 'vitest'; |
| 6 | function makeToolCall(id: string, name: string, args: string | null): ToolCall { |
| 7 | return { |
| 8 | type: 'function', |
| 9 | id, |
| 10 | name, arguments: args, |
| 11 | }; |
| 12 | } |
| 13 | describe('SimpleToolset', () => { |
| 14 | it('handle() invokes the registered handler and returns ToolResult', async () => { |
| 15 | const toolset = new SimpleToolset(); |
no outgoing calls
no test coverage detected