add_from_url
Fetch content from a URL, convert to markdown, and add to the knowledge base for instant indexing and search.
Instructions
Fetch content from a URL, convert to markdown, and add to the knowledge base.
Mutating — makes an outbound HTTP request (requires internet access), strips HTML, converts to markdown, saves to disk, and indexes immediately.
Args: url: Full URL to fetch (https:// required). The page must be publicly accessible. category: Document category — one of: security, ctf, logscale, development, general, redteam, blueteam (default: general) title: Optional document title. Auto-detected from the page's tag if omitted.
Returns: JSON string with indexing results (detected title, filepath, chunks created, status).
Usage: Use to ingest web content (writeups, blog posts, documentation pages) directly by URL. Use add_document() instead when you already have the text content. The document is immediately searchable after this call — no manual reindex needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| category | No | general | |
| title | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |