query_agent_kb
Use AI-powered semantic search to recall past context, notes, and insights from agent memories, with citations and optional metadata filtering.
Instructions
Search this agent's memories with AI-powered semantic search to recall past context, notes, and insights with citations.
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": {
"query": "<query>",
"output_variable_name": "<output_variable_name>"
},
"name": "query_agent_kb"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What do you want to recall? Ask about past meetings, notes, or context (supports variable references). | |
| agent_id_override | No | Optionally look up memories from a different agent. Leave empty to use current agent. | |
| include_citations | No | Include citations showing which memories were used to generate the response. | |
| metadata_filter | No | Filter memories by metadata key-value pairs. JSON format, e.g., {"meeting_title": "Q4 Review", "event_id": "event_123"}. Only memories matching ALL specified metadata will be searched. | |
| output_variable_name | Yes | Variable name to store the recalled memories, like 'recalled_memories' or 'past_context'. | recalled_memories |