> ## 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.

# Mark Approved • AI Agent SDK

> mark_approved: Mark a tool as approved in the current context.

# mark\_approved

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

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

Mark a tool as approved in the current context.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def mark_approved(tool_name: str) -> Any
```

## Parameters

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

### Returns

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

## Uses

* `approved.add`

## Used By

* [`Agent.execute_tool_async`](../functions/Agent-execute_tool_async)
* [`require_approval`](../functions/require_approval)

## Source

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