Create or Update Agent Knowledge
upsert_knowledgeCreate a new agent knowledge base entry, or update one when id is provided. Creating requires title, content, and content_type.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upsert_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Knowledge item ID to update (omit to create). | |
| tags | No | ||
| title | No | ||
| content | No | ||
| category | No | ||
| business_id | No | Business ID. Required for create when the token can access multiple businesses. | |
| content_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false | |
| success | Yes | Whether the tool completed successfully | |
| knowledge | No |