CommencerCommencez gratuitement

JSON message types

When Claude decides to use one of your tools, the client sends a "Call Tool Request" and then waits for the server to send the tool's output back in a matching message.

What kind of message pattern is this send-and-wait-for-a-reply exchange?

Cet exercice fait partie du cours

<cours>Model Context Protocol: Advanced Topics</cours>
Voir le cours

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice