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

# run • AI Agent SDK

> run: Execute the tool with given arguments.

# run

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.

Execute the tool with given arguments.

This method must be implemented by subclasses.

## Signature

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

### Returns

**Returns** `Any`

Tool output (any type, will be converted to string for LLM)

## Used By

* [`Agent.run_until`](../functions/Agent-run_until)
* [`MCPToolRunner.run`](../functions/MCPToolRunner-run)
* [`run_health_checks`](../functions/run_health_checks)
* [`GitRemoteSkillSource.fetch`](../functions/GitRemoteSkillSource-fetch)
* [`BaseTool.safe_run`](../functions/BaseTool-safe_run)

## Source

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


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