Parsed result (parseToolResult); rawResult keeps the wire string.
parseToolResult
rawResult
Where the tool executed: the agent (server) or a registered frontend tool.
server
Parsed result (
parseToolResult);rawResultkeeps the wire string.