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

# validate • AI Agent SDK

> validate: Validate the tool configuration.

# validate

Method

> This is a method of the [**BaseTool**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/BaseTool.md) class in the [**base**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/base.md) module.

Validate the tool configuration.

## Signature

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

### Returns

**Returns** `bool`

True if validation passes

### Exceptions

> [accordion] ToolValidationError
>
> If validation fails

## Uses

* `get_schema`
* `ToolValidationError`

## Used By

* [`validate_tool`](../functions/validate_tool)
* [`tool`](../functions/tool)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/tools/base.py#L361)
>
> `praisonaiagents/tools/base.py` at line 361


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.