Hi,
When handling client-side tool calls, is there a recommended way to propagate a user denial in the same way as with server-side tool calls?
I noticed that UIToolInvocation state seems to include output-denied, but it doesn’t appear that this can be set via addToolOutput().
Would addToolApprovalResponse() be the correct approach here?
However, that function seems to be intended only for server-side tool calls.
Alternatively, if I return an appropriate error via addToolOutput(), will the LLM properly interpret that as the tool invocation being denied by the user?
Thanks in advance.