The result type a tool's execute returns (awaited). Pair with useToolResult<InferToolOutput<typeof myTool>>(...) in a custom client so the rendered shape has a single source of truth.
execute
useToolResult<InferToolOutput<typeof myTool>>(...)
The result type a tool's
executereturns (awaited). Pair withuseToolResult<InferToolOutput<typeof myTool>>(...)in a custom client so the rendered shape has a single source of truth.