Skip to content

lb_capture

Submits content for ingestion into the knowledge graph. The call returns immediately with a pending ID — processing (extraction, summarization, embedding, link detection) happens asynchronously and typically completes within one minute.

Use lb_add_node if you need the node to be available immediately.

ParameterTypeRequiredDescription
titlestringYesTitle for the capture
content_typestringYesType of content being captured (see values below)
whystringYesReason for capturing — stored as context metadata
urlstringNoSource URL of the content
raw_contentstringNoRaw text or Markdown content (1–500,000 characters)
captured_atstringNoISO 8601 timestamp override (defaults to now)
ValueDescription
articleWeb article or blog post
tweetTweet or social media post
repoGitHub repository
pdfPDF document
documentWord doc or other document format
audioAudio file or podcast
notePlain text note
videoVideo (YouTube, Loom, etc.)
imageImage file (PNG, JPEG, etc.)
{
"id": "...",
"status": "pending"
}

The id is the capture ID. Once ingestion completes, a node will be created in your graph with a reference back to this capture.

  • At least one of url or raw_content should be provided. If both are supplied, raw_content is used as the body and url is stored as the source reference.
  • Indexing typically completes within one minute. Querying immediately after capture may not return the new node yet.
  • The why field is required and stored alongside the node. It is used by retrieval tools to surface why you saved something, which improves context quality over time.