Exam CCAR-F Topic 1 Question 12 Discussion
Actual exam question for Anthropic's CCAR-F exam
Question #: 12
Topic #: 1
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?
"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
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).