Claude Certified Architect – Foundations Practice Question 38: Server vs Client Tools

Claude Certified Architect, Foundations · Test 4 · question 8 of 10

Tool Design & MCP Integrationeasy

A developer enables the web search tool on a Claude API request and also defines a custom get_order_status tool that queries the company's internal database. Which statement correctly describes who runs each tool?

Select one answer
Show answer and explanation

Answer:

  • B. Anthropic executes web search on its servers within the request, while the application must run get_order_status and return the result in a tool_result block.

Server tools such as web search are executed by Anthropic; the results come back in the same response with no action from your code. Client tools, including user-defined tools, return a tool_use block with stop_reason: "tool_use", and your application runs the operation and sends a tool_result.

A and C each ignore the distinction. D is wrong because Claude never accesses your systems; it only emits a request for your code to run.

Reference: Tool use with Claude

Practice Test 4 ›

Study guides for Claude Certified Architect, Foundations