Store a New Input Source
Persist raw input material in the provenance database so it can later be linked to notes.
Steps
- •Identify the input content the user has provided (transcript, article, excerpt, pasted text, etc.).
- •Call
store_inputwith the content. Optionally include metadata such as:- •
source_type: e.g. "youtube_transcript", "article", "book_excerpt", "pasted_text" - •
source_url: URL if applicable - •
title: a descriptive title for the input
- •
- •If the tool returns
duplicate: true, inform the user that this content was already stored and provide the existinginput_id. - •If newly stored, report the
input_idandcontent_sha256back to the user. - •Ask the user if they want to immediately create a note from this input (suggest using
/new-note).
Important
- •The database must be initialized first. If you get a "DB not initialized" error, suggest running
/vault-init. - •Inputs are immutable once stored. They can only be redacted, not edited.
- •SHA-256 deduplication prevents storing the same content twice.
Examples
User provides a YouTube transcript:
"Here's the transcript from the video about composting..."
User pastes an article:
"Store this article about soil health: ..."