Set logging level before calling test_tool_with_logging (#38)

This commit is contained in:
Mike Kistler 2025-11-20 03:44:28 -08:00 • committed by GitHub
commit 3caf68722d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -388,6 +388,9 @@ Implement tool \`test_tool_with_logging\` with no arguments.
const connection = await connectToServer(serverUrl);
const notifications = new NotificationCollector(connection.client);
// Set logging level to debug
await connection.client.setLoggingLevel('debug');
await connection.client.callTool({
name: 'test_tool_with_logging',
arguments: {}