chore: infer tool params (#241)

Moves the `schema.parse` call to the calling side of the handler, so we
don't have to duplicate it everywhere.
This commit is contained in:
Simon Knott 2025-04-22 13:24:38 +02:00 committed by GitHub
parent 9578a5b2af
commit c80f7cf222
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 212 additions and 273 deletions

View file

@ -26,6 +26,7 @@ test('test reopen browser', async ({ client }) => {
expect(await client.callTool({
name: 'browser_close',
arguments: {},
})).toContainTextContent('No open pages available');
expect(await client.callTool({