Practice free →
HomeClaude AIclaudearchitectclaudeai_tool_use › Tool returns an error. Best handling?

Tool returns an error. Best handling?

ASwallow the error and continue silently
BPass the error back to Claude so he can fix and retry
CRestart the conversation from scratch
DDrop the tool from the available list
Answer & Solution
Correct answer: B. Pass the error back to Claude so he can fix and retry
Showing Claude the actual error message lets him adjust arguments and retry; swallowing the error leaves him guessing why the result is wrong.
Solve this in the app — Claude AI practice & 24k+ MCQs →
Related questions