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.
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": {
"url": "<url>"
},
"name": "capture_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| force_new | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||