开始使用免费开始使用

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

查看课程

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习