CCA-F 练习题库· Tool Design & MCP Integration
Which of the following are Anthropic 'server tools' that execute on Anthropic's infrastructure (you receive results without writing a handler), rather than client tools that run in your application? Select all that apply.
- A
web_search - B
web_fetch - C
code_execution - D
bash - E
text_editor
正确答案:A B C(多选)
解析
Anthropic classifies tools by where execution happens: server tools run entirely on Anthropic's infrastructure — you declare them in tools and receive results as content blocks without writing any handler (tool_search is likewise a server tool).
- A
web_searchruns server-side — Claude issues queries and Anthropic returns results. - B
web_fetchruns server-side in the same way, with Claude issuing URLs. - C
code_executionruns code in an Anthropic-hosted sandbox container, so it too is a server tool. - DE
bashandtext_editorare Anthropic-defined *client* tools — Anthropic publishes the schema and trains Claude on the usage pattern, but Claude only emits atool_useblock that your application must execute locally, returning atool_result(the same client-executed model as the memory tool).
延伸阅读
本题为本站自有原创练习题,非任何官方考试内容;解析对照 Anthropic 公开文档撰写, 如与最新文档不符请以官方为准。想在限时环境下检验水平,可参加 模拟考(题目与本页题库不重叠)。