Claude Code 学习站

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.

  1. Aweb_search
  2. Bweb_fetch
  3. Ccode_execution
  4. Dbash
  5. Etext_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).

  • Aweb_search runs server-side — Claude issues queries and Anthropic returns results.
  • Bweb_fetch runs server-side in the same way, with Claude issuing URLs.
  • Ccode_execution runs code in an Anthropic-hosted sandbox container, so it too is a server tool.
  • DEbash and text_editor are Anthropic-defined *client* tools — Anthropic publishes the schema and trains Claude on the usage pattern, but Claude only emits a tool_use block that your application must execute locally, returning a tool_result (the same client-executed model as the memory tool).

延伸阅读

本题为本站自有原创练习题,非任何官方考试内容;解析对照 Anthropic 公开文档撰写, 如与最新文档不符请以官方为准。想在限时环境下检验水平,可参加 模拟考(题目与本页题库不重叠)。