add
Add files, directories, or URLs to your local knowledge base and sync them. Supports overwrite, OCR, and crawl rendering options.
Instructions
Add files, directories, or URLs to the knowledge base and sync. Copies the given paths into the documents directory, then ingests them. URLs (http:// or https://) are fetched as markdown and saved to _web/. Paths must be absolute and accessible from this machine.
Args:
paths: Absolute file/directory paths or URLs to add.
force: Overwrite files that already exist in the knowledge base.
enable_ocr: Force vision OCR on (True), off (False), or auto-detect
from chat model capabilities (None/omit).
ocr_timeout: Per-page timeout in seconds for vision OCR. Overrides
the configured default for this invocation only.
render_mode: How any URLs are crawled. None (default) uses the
configured crawl_render_mode; "http" is browserless, "browser"
runs Chromium with JavaScript.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| force | No | ||
| enable_ocr | No | ||
| ocr_timeout | No | ||
| render_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||