Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
There was an error while loading. Please reload this page.
Describe the bug
The code in this section: https://github.com/modelcontextprotocol/docs/blob/main/quickstart/client.mdx#query-processing-logic
Will silently fail if the response contains multiple tool calls.
Expected behavior
The code should either properly handle multiple tool calls or indicate that it doesn't.