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?
Это упражнение является частью курса
Model Context Protocol: Advanced Topics
Практическое интерактивное упражнение
Превратите теорию в практику с помощью одного из наших интерактивных упражнений
Начать упражнение