textrawl
byJeff Green

save_url

Fetch a web page and save it to the knowledge base

Fetch a web page, extract its content as Markdown, and save it to the knowledge base with automatic chunking, embedding, and optional memory extraction. Use this to capture web content for future search and retrieval.

Parameters

ParameterTypeRequiredDefaultDescription
urlstring (URL)REQUIRED-URL of the web page to save
titlestringOPTIONALauto-detectedOverride title (max 500 chars; auto-detected from page if omitted)
tagsstring[]OPTIONAL-Optional tags for organization
extractMemoriesbooleanOPTIONALfalseExtract entities and facts from content and store as memories

Example Request

Basic Save

{
  "url": "https://example.com/blog/interesting-article"
}

Save with Tags and Custom Title

{
  "url": "https://example.com/docs/api-reference",
  "title": "Example API Reference",
  "tags": ["api", "reference", "example"]
}

Save with Memory Extraction

{
  "url": "https://example.com/team/alice-bio",
  "tags": ["people", "team"],
  "extractMemories": true
}

Response

{
  "success": true,
  "documentId": "abc-123-def-456",
  "title": "Example API Reference",
  "url": "https://example.com/docs/api-reference",
  "chunksCreated": 12,
  "contentLength": 8450,
  "memoryExtraction": {
    "entitiesFound": 3,
    "relationsFound": 2,
    "observationsCreated": 7,
    "observationsDuplicate": 1
  }
}

The memoryExtraction field is included only when extractMemories is true and extraction succeeds.

Error Responses

ErrorCauseFix
Database not configuredMissing Supabase credentialsSet SUPABASE_URL and SUPABASE_SERVICE_KEY
Embedding provider not configuredMissing embedding API keySet OPENAI_API_KEY, configure Ollama, or set GOOGLE_AI_API_KEY
Only http and https URLs are supportedNon-HTTP URL schemeUse an http:// or https:// URL
URL targets a private or internal addressSSRF protection triggeredUse a publicly accessible URL
Failed to fetch URL: HTTP {status}Remote server errorVerify the URL is accessible
Unsupported content typeNon-HTML responseOnly HTML pages are supported
Response too largePage exceeds 5 MB limitUse a smaller page or save content manually via add_note
No content extracted from the pageEmpty or unparseable pageCheck the page has readable content

Notes

  • This tool writes data to your knowledge base — it creates a new document. It is not destructive (it does not overwrite existing documents).
  • The page content is automatically converted to Markdown, chunked, and embedded for semantic search.
  • When extractMemories is enabled, entities and facts are extracted from the content and stored in the memory graph (requires ENABLE_MEMORY).
  • If the title is not provided, it is auto-detected from the page's <title> tag or <h1> heading.
  • The saved document's sourceType will be url.

On this page