Exam CCA-F Topic 1 Question 78 Discussion

Actual exam question for Anthropic's CCA-F exam
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.

by Ula at Sep 29, 2026, 02:10 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