Add or update knowledge
kb_upsertAdd source material for agents. Type URL crawls a page, TEXT stores pasted content. Three steps, and skipping either of the last two leaves the agent unchanged: add it here, attach it with kb_attach, then rebuild with agent_train. Storing material does not change how the agent writes — that is agent_upsert instructions. Requires the "Agents" permission on the plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _id | No | Omit to create a new entry. | |
| url | No | Required when type is URL. | |
| type | Yes | Filter by type. | |
| title | No | Short label. | |
| content | No | Required when type is TEXT. |