> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Request Approval • Rust AI Agent SDK

> request_approval: Request approval for an action

# request\_approval

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**ApprovalCallback**](../classes/ApprovalCallback) class in the [**display\_types**](../modules/display_types) module.

Request approval for an action

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def request_approval(
        &self,
        function_name: &str,
        arguments: &serde_json::Value,
        risk_level: RiskLevel,
    ) -> ApprovalDecision
```

## Parameters

<ParamField query="function_name" type="&str" required={true}>
  No description available.
</ParamField>

<ParamField query="arguments" type="&serde_json::Value" required={true}>
  No description available.
</ParamField>

<ParamField query="risk_level" type="RiskLevel" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="ApprovalDecision">
  The result of the operation.
</ResponseField>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Approval" icon="check" href="/docs/rust/approval" />

  <Card title="Rust Guardrails" icon="shield" href="/docs/rust/guardrails" />
</CardGroup>
