State and the StreamableHTTP transport
You want your StreamableHTTP server to reply to each tool call with a single plain-JSON response containing just the final result — no streamed log lines or progress messages along the way.
Which flag should you enable?
Cet exercice fait partie du cours
<cours>Model Context Protocol: Advanced Topics</cours>Exercice interactif pratique
Transformez la théorie en action avec l’un de nos exercices interactifs
Commencer l’exercice