1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. AgentBackendEventUserApprovalRequestContext

AgentBackendEventUserApprovalRequestContext

    Additional context for a user approval request, including tool and diff information.

    Properties

    • tool_call_id string optional
      Tool call identifier associated with the approval request.
    • tool_name string optional
      Tool name associated with the approval request.
    • git_diff map[string]string optional
      Full Git diff patches indexed by filename for source changes.
    • last_approval_diff map[string]string optional
      Git diff patches showing only the changes since the last approval (null for first approval).
    • plan_description string optional
      Markdown description of the plan when exiting plan mode.