Add knowledge
add_knowledgeTeaches the receptionist something it can use to answer callers. For type faq, send question and answer. For type text, send title and content, for example a policy or a price list. Write it as a fact about the business, not as an instruction to the receptionist.
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": {
"type": "<type>"
},
"name": "add_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | faq for a question and answer, text for anything else. | |
| title | No | For text: a short title. | |
| answer | No | For faq: the answer. | |
| content | No | For text: the information itself. | |
| question | No | For faq: the question callers ask. | |
| idempotency_key | No | Optional. A unique value you choose, such as a UUID. Retrying with the same value within 24 hours returns the first result instead of creating a duplicate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable identifier (UUID). | |
| tags | Yes | Your own labels for the entry. | |
| type | Yes | ||
| title | Yes | The entry's title, or an FAQ's question. | |
| active | Yes | Whether the receptionist answers from it. | |
| content | Yes | The entry's text, or an FAQ's answer. | |
| agent_id | Yes | The one agent that answers from it. Null when every agent does. | |
| priority | Yes | Entries with higher numbers come first when the receptionist picks the entries it keeps ready on every call. Defaults to 0. | |
| created_at | Yes | ISO 8601 timestamp in UTC. | |
| updated_at | Yes | ISO 8601 timestamp in UTC. |