Add Knowledge Document
add_knowledge_documentAdd a document to a notebook: plain text, or a file (PDF, Word, a spreadsheet, an image or audio) as base64. It is processed in the background (audio is transcribed); list_knowledge_documents shows when it is ready. The same file twice is recognised.
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": {
"notebook_id": "<notebook_id>",
"filename": "<filename>"
},
"name": "add_knowledge_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| app_id | No | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. | |
| filename | Yes | ||
| notebook_id | Yes | The notebook id, from list_knowledge_notebooks. | |
| content_type | No | ||
| content_base64 | No |