add_context
Store information in a vector database for later retrieval. This tool adds context entries with unique IDs, content, and optional metadata to enable semantic search capabilities.
Instructions
Add a piece of context/knowledge to the vector database. Use this to store information that can be retrieved later for relevant queries.
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": {
"id": "<id>",
"content": "<content>"
},
"name": "add_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier for this context entry | |
| content | Yes | The text content to store and index | |
| metadata | No | Optional metadata to associate with the context (e.g., source, category, timestamp) |