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?
This exercise is part of the course
Model Context Protocol: Advanced Topics
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise