Ask a question to get started
Enter to send•Shift+Enter new line
RejectDecision()
TypedDict
The type of response when a human rejects the action.
The human-provided reason for rejecting the action.
The reason is framed as a user rejection when sent to the model. If omitted, the model is told that the tool was not executed and should not retry the same tool call unless the user asks for it.
Response when a human rejects the action.