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

# Is Yaml Approved • AI Agent SDK

> is_yaml_approved: API reference for is_yaml_approved

# is\_yaml\_approved

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

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

## Signature

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

## Parameters

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

### Returns

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

## Uses

* `is_yaml_approved`
* `get_approval_registry`

## Used By

* [`is_yaml_approved`](../functions/is_yaml_approved)
* [`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/__init__.py#L116">
  `praisonaiagents/approval/__init__.py` at line 116
</Card>
