knowledge_add
Upload text to a specified knowledge base, wait for processing, and attach the result. If a write fails partially, inspect stage and file_id before retrying.
Instructions
Upload text, wait for processing, then attach to the given knowledge base.
A failed write may be partial: inspect stage and file_id before retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| title | No | knowledge.txt | |
| source | No | ||
| metadata | No | ||
| knowledge_id | Yes |