Kom igångKom igång gratis

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?

Den här övningen är en del av kursen

Model Context Protocol: Advanced Topics

Visa kurs

Interaktiv övning med praktiskt arbete

Gör teori till handling med en av våra interaktiva övningar

Starta övningen