Exam CCA-F Topic 1 Question 78 Discussion
Actual exam question for Anthropic's CCA-F exam
Question #: 78
Topic #: 1
Question #: 78
Topic #: 1
Your product search tool queries an external catalog API and returns matching items. In production, you observe the agent frequently retries searches immediately after receiving zero results, treating "no matches found" as a failure requiring retry. The external API returns HTTP 200 with an empty results array - a valid response. How should you restructure the tool's result to help the agent correctly interpret empty result sets?
Suggested Answer: D Vote an answer
A zero-result search is a successful tool execution with an empty result set, not an error.
Returning a structured success indicator with the results array helps the agent distinguish valid
"no matches found" outcomes from actual tool or API failures, preventing unnecessary retries.
Returning a structured success indicator with the results array helps the agent distinguish valid
"no matches found" outcomes from actual tool or API failures, preventing unnecessary retries.
by Ula at Sep 29, 2026, 02:10 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).