(name: string, description: string)
| 9 | import type { ListedTool } from '../../src/mcp/tool-discovery.js'; |
| 10 | |
| 11 | function createTool(name: string, description: string): ListedTool { |
| 12 | return { |
| 13 | name, |
| 14 | description, |
| 15 | inputSchema: { |
| 16 | type: 'object', |
| 17 | }, |
| 18 | }; |
| 19 | } |
| 20 | |
| 21 | describe('file session cache store', () => { |
| 22 | it('writes and reads cached session entries', async () => { |