Bắt đầu ngayBắt đầu miễn phí

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?

Bài tập này là một phần của khóa học

Model Context Protocol: Advanced Topics

Xem khóa học

Bài tập tương tác thực hành

Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi

Bắt đầu bài tập