Cli add
archivebox_cli_addAdd URLs or extracted feed/text links to an ArchiveBox archive and queue them for capture, with controls for tags, crawl depth, re-archiving existing snapshots, and index-only entries.
Instructions
POST /api/v1/cli/add
Add URLs to the archive (one crawl; one snapshot per URL) and queue them for capture.
Args:
urls: URLs (or text/feeds the parser extracts URLs from) to archive.
tag: Comma-separated tag names applied to every new snapshot.
depth: Crawl depth (0 = only these URLs, 1 = also their outlinks).
snapshot_ids: Re-run capture on these existing snapshots instead.
max_urls: Cap on URLs the crawl may queue (0 = unlimited).
crawl_max_size: Cap on total crawl bytes (0 = unlimited).
crawl_timeout: Crawl time limit in seconds (0 = unlimited).
snapshot_max_size: Cap on bytes per snapshot (0 = unlimited).
parser: Input parser (auto, txt, rss, html, ...).
plugins: Comma-separated plugins to run (empty = instance defaults),
for example wget,singlefile,pdf,screenshot,readability.
persona: Browser persona (cookies/profile) to capture with.
only_new: Skip URLs already in the archive.
update: Re-archive URLs already in the archive.
overwrite: Overwrite existing outputs on re-archive.
index_only: Add to the index without capturing.
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": {
"urls": "<urls>"
},
"name": "archivebox_cli_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| urls | Yes | ||
| depth | No | ||
| parser | No | auto | |
| update | No | ||
| persona | No | Default | |
| plugins | No | ||
| max_urls | No | ||
| only_new | No | ||
| overwrite | No | ||
| index_only | No | ||
| snapshot_ids | No | ||
| crawl_timeout | No | ||
| crawl_max_size | No | ||
| snapshot_max_size | No |