Add knowledge file
add_knowledge_fileAdd a file the person already has in the Vault to a knowledge base: copied into its folder and indexed with its embedding model. Takes what an upload takes (documents, spreadsheets, CSV, text, code, PDFs), up to the upload's size per file.
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": {
"knowledge_base": "<knowledge_base>",
"path": "<path>"
},
"name": "add_knowledge_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The file's Vault path, e.g. 'reports/prices.csv'. | |
| knowledge_base | Yes | The knowledge base's name (or its id). |