> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pathors.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Tool

> Create a new tool for a project

## Request

```bash theme={null}
POST https://api.pathors.com/v1/projects/{projectId}/tools
```

### Path Parameters

<ParamField path="projectId" type="string" required>The project ID</ParamField>

### Headers

<ParamField header="Authorization" type="string" required>
  Bearer token using your developer key
</ParamField>

### Body

<ParamField body="type" type="string" required>
  Tool type (e.g., `restful`, `mcp`, `google-calendar-create`, `smtp`, `duckduckgo-search`, `agent`)
</ParamField>

<ParamField body="metadata" type="object">
  Type-specific configuration. See `GET /v1/projects/{projectId}/tools/types` for available types and their schemas.
</ParamField>

## Response

Returns the created tool with status `201`.

### Example

```bash theme={null}
curl -X POST https://api.pathors.com/v1/projects/{projectId}/tools \
  -H "Authorization: Bearer dk_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "restful",
    "metadata": {
      "url": "https://api.example.com/search",
      "method": "GET"
    }
  }'
```
