Quiz 11 Question 10 of 20

An architect is implementing tool use with the Claude API and receives the following in the assistant response: a content block with type 'tool_use' containing an id, name, and input object. The next step requires constructing the tool_result message correctly. Which structure is correct for returning tool results to Claude?

Select an answer to reveal the explanation.

Motivation