add_url_tool
Index YouTube videos, playlists, or GitHub repositories by URL to enable searchable content retrieval with citations.
Instructions
Add YouTube videos/playlists or GitHub repos to the index via URL.
For local files or directories, use add_document_tool instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"paths": "<paths>"
},
"name": "add_url_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | URLs to index: YouTube video/playlist or GitHub repo. | |
| tags | No | Optional list of tags, one per URL. | |
| branch | No | For GitHub: override branch (default: main). | |
| include_patterns | No | For GitHub: glob patterns for files to include. | |
| exclude_patterns | No | For GitHub: glob patterns to exclude. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |