ToolApprovalDecision
Tool approval decision sent from the UI.
Shape: object
| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
requestId |
yes | string |
Identifier of the approved request. This is the ToolApprovalRequestContent.RequestId value received in the stream. |
— |
approved |
yes | boolean |
Whether the call is approved. | — |
reason |
no | string |
Reason for the decision. Passed on to the model. | — |
remember |
no | boolean |
Whether the decision should be saved as a permanent rule (“don’t ask again”). Meaningful only while Approved is true. |
— |
rememberArgumentsOnly |
no | boolean |
Whether the permanent rule covers only a call with the same arguments. If false, it covers every call to the tool. |
— |