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

# Get Trust Level • AI Agent SDK

> get_trust_level: Get the trust level for a tool.

# get\_trust\_level

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

> This is a method of the [**ToolRegistry**](../classes/ToolRegistry) class in the [**registry**](../modules/registry) module.

Get the trust level for a tool.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_trust_level(name: str) -> Optional[str]
```

## Parameters

<ParamField query="name" type="str" required={true}>
  Tool name
</ParamField>

### Returns

<ResponseField name="Returns" type="Optional[str]">
  Trust level string or None if not set
</ResponseField>

## Source

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