Exam CCAR-F Topic 1 Question 12 Discussion

Actual exam question for Anthropic's CCAR-F exam
Question #: 12
Topic #: 1
When implementing your lookup_order MCP tool, the backend sometimes returns errors (e.g.,
"Order not found" or temporary database failures). What is the correct pattern for communicating these errors back to the agent?

Suggested Answer: B Vote an answer

Returning structured tool results with isError set to true allows the agent to receive explicit error signals while preserving the error message. This enables the agent to reason about the failure, choose appropriate recovery actions, and provide meaningful feedback to the user.

by Julius at Sep 24, 2026, 04:14 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10