Available Approval States
The system supports three approval decisions for each tool execution:- APPROVED: Tool will execute with provided arguments
- DENIED: Tool execution will be skipped
- ABORTED_WITH_FEEDBACK_WITH_FEEDBACK: Tool execution cancelled with user feedback
State Combination Rules
Mixed States (Allowed)
Within a single batch, you can mix APPROVED and DENIED states:Abort Restrictions (System Limitation)
Critical Constraint: If any tool in a batch has an ABORTED_WITH_FEEDBACK state, ALL tools in that batch must be ABORTED_WITH_FEEDBACK. You cannot mix ABORTED_WITH_FEEDBACK with APPROVED or DENIED states.When to Use Each State
APPROVED
Use when the tool execution should proceed as planned:- Tool arguments look correct
- User authorizes the action
- No concerns about the operation
DENIED
Use when the tool should not execute but the overall workflow can continue:- Tool arguments are incorrect but fixable
- User doesn’t want this specific action
- Timing isn’t right for this operation
ABORTED_WITH_FEEDBACK
Use when there are fundamental issues requiring workflow termination:- Tool arguments indicate a serious problem
- User wants to stop the entire process
- Additional context/feedback is needed
Abort vs Deny Decision Matrix
Scenario | Recommended State | Reason |
---|---|---|
Wrong recipient in email | DENIED | Specific tool issue, workflow can continue |
Incorrect calendar time | DENIED | Specific parameter problem |
Agent misunderstood entire request | ABORTED_WITH_FEEDBACK | Fundamental workflow issue |
About to perform destructive action | ABORTED_WITH_FEEDBACK | Safety concern requiring full stop |
User wants to provide feedback | ABORTED_WITH_FEEDBACK | Need to communicate back to agent |
UX Recommendations for State Handling
Button vs Text Input Patterns
Based on system constraints and UX best practices: For APPROVED/DENIED: Use individual buttons per toolState Validation
Implement client-side validation to prevent invalid state combinations:Progressive State Selection
Guide users away from problematic state combinations:Error Scenarios
Mixed Abort Error Response
When you attempt to submit invalid mixed states:Content Field Considerations
Tool approval responses that are not abortions cannot include files or images in the content field - these will be ignored by the system.Next Steps
- Learn about API Integration for proper request formatting
- Review Best Practices for UX patterns
- See Error Handling for managing validation failures