> ## 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 • AI Agent SDK

> request_approval: Request approval for a tool execution (legacy async API).

# request\_approval

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**approval**](../modules/approval) module.

Request approval for a tool execution (legacy async API).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def request_approval(function_name: str, arguments: Dict) -> ApprovalDecision
```

## Parameters

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

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

### Returns

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

## Uses

* `approve_async`
* `get_approval_registry`

## Used By

* [`AgentApproval.request_approval_sync`](../functions/AgentApproval-request_approval_sync)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/approval/__init__.py#L172">
  `praisonaiagents/approval/__init__.py` at line 172
</Card>
