Save a document
save_dataSave durable organisational knowledge to the target context as source Data.
Use this when the user asks to save or remember something for the organisation, when an interview topic is complete, or as soon as the conversation or your own work establishes knowledge future agents should know and the layer lacks: a decision and its reason, a finding, how something works, a correction no Data supports yet. Do not wait to be asked. Distil the substance into clean, self-contained Markdown; do not save a raw transcript, personal preferences, or private life.
Before choosing a source_key for an established topic, call search with the topic, node_types=['data'], and data_origins=['saved']. Read the full source before reusing its exact returned source_key: a save replaces it, so preserve unaffected facts. Create a new stable key only when no matching saved source exists.
Use this for material the company should keep as evidence: the saved write-up becomes an ordinary source document, runs through ingestion and curation, and can be deduplicated, kept current, connected to and cited by relevant Pages. It does not directly edit the curated layer; use create_page when a subject genuinely has no Page, or edit_page when an existing Page is wrong.
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": {
"content": "<content>",
"context_id": "<context_id>"
},
"name": "save_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional short, specific title for the source Data document. | |
| content | Yes | Clean, self-contained Markdown containing the durable organisational knowledge to save. Distil the substance and privilege what the user stated over unverified inference; never paste a raw conversation transcript. | |
| context_id | Yes | The destination context id from list_contexts. Required for writes. | |
| source_key | No | Optional stable topic key. Saving again with the same key updates the existing source instead of creating a duplicate. Search the topic with node_types=['data'] and data_origins=['saved'] first, then reuse an exact returned key when present; omit it for a one-off note. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |