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:
parent
9578a5b2af
commit
c80f7cf222
20 changed files with 212 additions and 273 deletions
|
|
@ -41,6 +41,7 @@ test('save as pdf', async ({ client, mcpBrowser }) => {
|
|||
|
||||
const response = await client.callTool({
|
||||
name: 'browser_pdf_save',
|
||||
arguments: {},
|
||||
});
|
||||
expect(response).toHaveTextContent(/Save page as.*page-[^:]+.pdf/);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue