SetState
methodsSets a new state for the tool call, re-renders the header badge and body content, and resets expanded to false.
Parameters:stateString
The new state. Valid values are "active", "completed", "awaitingApproval", and "error".