decision_request_approval

Request human approval when a policy returns requires_exception.

Overview

When a policy evaluation returns requires_exception, use this method to request human approval. The approval will be delivered via the approval route configured in the policy.

Method

text
tools/call

Tool Name

text
decision_request_approval

Parameters

[Content to be filled - from provided getting started guide]

text
{
  "decision_id": "dec_...",
  "title": "Order Approval",
  "message": "Customer requesting order above policy limit...",
  "require_rationale": true,
  "expires_in_seconds": 3600
}

Response

[Content to be filled]

Polling for Approval

[Content to be filled - how to poll using decision_get]

Example

[Content to be filled - from provided getting started guide]

TraceMem is trace-native infrastructure for AI agents