capture_url
Capture a URL to extract its content (X, Reddit, YouTube, articles, Wikipedia, PDF) and store as typed data with deduplication and Wayback Machine submission.
Instructions
Capture a URL into the Khiip substrate.
Dispatches to the appropriate extractor (X, Reddit, web article, Wikipedia, YouTube, PDF). Stores raw source bytes at Source-tier plus a typed payload in the vault. Submits to Wayback Machine unless disabled. Idempotent by default (dedup by URL hash).
Args:
url: The URL to capture.
force_new: If True, skip dedup-by-url and force creation of a
new capture (overrides the existing capture's
superseded_by pointer). Defaults to False.
Returns: Capture record (id, source, vault_path, payload, archive_urls, etc.) on success; structured error dict on failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| force_new | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||