╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
```
### Tool Types
#### Headers
"url": "https://api.weather.com/v1/current",
}
"method": "GET",
```
```
```
{
"tools": [
"required": true
"type": "integer",
```json
```json
```json
}
"url": "https://docs.example.com/api-reference",
}
```
"name": "Company Policies",
"description": "HR policies and employee handbook"
}
```
- `document_types` (optional): Filter by document types (file, url, text)
"id": "doc_url123xyz",
"success": true,
#### Response
```json
"conversation_config": {
"agent": {
"knowledge_base": {
"document_ids": ["doc_abc123xyz", "doc_def456xyz"]
}
```
#### RAG-Enabled Knowledge Base
"conversation_config": {
"document_ids": ["doc_abc123xyz"],
```
5. **Documentation**: Provide clear descriptions for LLM understanding
### RAG Configuration
- **Chunk Size**: 500-1500 characters optimal for most use cases
---
---
- **July 15, 2025**: GET endpoints stop returning `tools` field
3. Update agent configurations to reference tool IDs
### Python Example - Create Tool
```python
"type": "webhook",
"method": "GET",
"parameters": [
"required": True
}
response = requests.post(url, headers=headers, json=payload)
tool_data = response.json()
### JavaScript Example - Create Knowledge Base from URL
name: "Company API Documentation",
# ElevenLabs Tools & Knowledge Base Management API Documentation
## Base URL
```
https://api.elevenlabs.io/v1/convai
```
## Authentication
All API requests require authentication using the `xi-api-key` header.
```http
xi-api-key: YOUR_API_KEY_HERE
```
---
## Tools Management API
### Overview
Tools enable Conversational AI agents to perform actions beyond generating text responses. They allow agents to interact with external systems, execute custom logic, or access specific functionalities during conversations.
### Tool Types
1. **Client Tools**: Executed directly on the client-side application (browser, mobile app)
2. **Server Tools**: Custom tools executed on your server-side infrastructure via API calls
3. **System Tools**: Built-in tools (end_call, language_detection, etc.)
---
## Tools API Endpoints
### 1. Create Tool
**POST** `/tools`
Creates a new tool in the workspace.
"tools_kb.md" 683L, 15510B