ringkit_upload_knowledge_document
Step 2: Teach it the business. Upload a document the receptionist should answer from (menu, price list, policies, manual). contentBase64 is the file's bytes, base64-encoded; fileName's extension picks the type: .pdf, .docx, .txt, .md, .html (PDF/DOCX only where the server has them enabled). Text is extracted at upload and searched on every call; a website import never removes uploads. Limits by tier (see get_knowledge_usage): 10 MB per file; Starter 5 documents / 50k tokens, Pro 100 / 500k. Identical requests are deduplicated for 24 hours; use a new idempotencyKey only to deliberately repeat the action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | ||
| businessId | No | Defaults to the business of the API key in the Authorization header. | |
| contentType | No | ||
| contentBase64 | Yes | ||
| idempotencyKey | No | Optional. Retries of the same call should reuse it (the stored result comes back); a new value deliberately repeats an identical call. The MCP POST's Idempotency-Key header takes precedence. |