upload_knowledge_base_file
Create an interview knowledge base from a file: its text becomes the knowledge base text; returns the new ID and text length. Pass the file content as base64. Supported: .pdf .doc .docx .txt .md .jpg .jpeg .png .webp, up to 10MB. (Requires the user's sign-in with scope interviews:write.)
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": {
"fileName": "<fileName>",
"fileBase64": "<fileBase64>"
},
"name": "upload_knowledge_base_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | File name with extension | |
| fileBase64 | Yes | File content as base64 |