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

# Tools CLI

> CLI commands for tool management in PraisonAI TypeScript

The `praisonai-ts` CLI provides commands for managing and listing available tools.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
graph LR
    User([User]) --> CLI[CLI]
    CLI --> Tools([Tools])

    classDef agent fill:#8B0000,stroke:#7C90A0,color:#fff
    classDef tool fill:#189AB4,stroke:#7C90A0,color:#fff

    class Tools agent
    class CLI,User tool
    classDef agent fill:#8B0000,color:#fff
    classDef tool fill:#189AB4,color:#fff
```

## Quick Start

**1. Simple Usage**

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts tools list
```

**2. With Configuration**

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts chat "Calculate 25*4" --tools calculator
```

***

## List Available Tools

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# List all available tools (pretty output)
praisonai-ts tools

# List tools with JSON output
praisonai-ts tools list --json
```

**Example Output:**

```json theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "success": true,
  "data": {
    "tools": [
      { "name": "arxiv_search", "description": "Search arXiv for academic papers" },
      { "name": "web_search", "description": "Search the web for information" },
      { "name": "calculator", "description": "Perform mathematical calculations" },
      { "name": "code_executor", "description": "Execute code snippets" },
      { "name": "file_reader", "description": "Read file contents" },
      { "name": "file_writer", "description": "Write content to files" }
    ],
    "count": 6
  }
}
```

## Get Tool Information

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# Get info about a specific tool
praisonai-ts tools info calculator
```

## Use Tools with Chat

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# Chat with tools enabled
praisonai-ts chat "Calculate 25 * 4" --tools calculator

# Use multiple tools
praisonai-ts chat "Search for AI papers" --tools arxiv_search,web_search
```

## SDK Usage

For programmatic tool usage, see the [Tools SDK documentation](https://praison.ai/docs/js/tools.md).

## Related

> [card] [Tools](https://praison.ai/docs/js/tools.md)
>
> Tools SDK

> [card] [Agent CLI](https://praison.ai/docs/js/agent-cli.md)
>
> Agent commands


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