Save or replace source passages
save_passagesStore, update, replace, or delete searchable excerpts and section summaries for a source document, linking them to terms and an Obsidian original for later text search.
Instructions
Store, update, replace, or delete searchable excerpts and section summaries for one source document, linked to Terms and an Obsidian vault original. Use for articles, papers, books, or notes you want searchable via search_text; use add_records for structured facts and save_concept for concept definitions. Identical text from the same source updates in place; replace=true requires source and passages and permanently prunes stale passages; delete_ids permanently removes specified passages. Returns inserted, updated, unchanged, deleted ids, and any stub concepts created.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_passages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Where this came from: an existing source id, or a new source to register (deduplicated by uri or title). | |
| replace | No | Set true when re-ingesting a revised source: passages becomes the complete set and unmentioned passages of that source are permanently deleted. | |
| passages | No | Excerpts or section summaries to insert or update (up to 200 per call). | |
| delete_ids | No | Passage ids to permanently delete (confirm with the user first). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||