Extracts the tool_result blocks from a message's content, ignoring everything else. Returns an empty array for plain-string content.
tool_result
The message content to inspect
The tool-result blocks, in order
Extracts the
tool_resultblocks from a message's content, ignoring everything else. Returns an empty array for plain-string content.