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

# schema • AI Agent SDK

> schema: Get the tool schema, applying dynamic overrides if present.

# schema

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

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

Get the tool schema, applying dynamic overrides if present.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def schema() -> Dict[str, Any]
```

### Returns

<ResponseField name="Returns" type="Dict[str, Any]">
  The result of the operation.
</ResponseField>

## Uses

* `get_schema`
* `get_tool_schema`
* `schema_override`
* `logging.warning`

## Source

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