UpdateToolUseData updates the tool use data for a specific tool call in the chat. This is used to update the UI state for tool execution (approval status, results, etc.)
(chatId string, toolCallId string, toolUseData uctypes.UIMessageDataToolUse)
| 31 | // UpdateToolUseData updates the tool use data for a specific tool call in the chat. |
| 32 | // This is used to update the UI state for tool execution (approval status, results, etc.) |
| 33 | UpdateToolUseData(chatId string, toolCallId string, toolUseData uctypes.UIMessageDataToolUse) error |
| 34 | |
| 35 | // RemoveToolUseCall removes a tool use call from the chat's native messages. |
| 36 | // This is used to clean up incomplete or canceled tool calls when stopping execution. |
no outgoing calls
no test coverage detected