cag_context
Builds a Context Augmented Generation (CAG) from the BambiSleep knowledge graph by traversing relationships from a specified entity to supply relevant context for AI responses.
Instructions
Build CAG (Context Augmented Generation) from BambiSleep knowledge graph
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": {
"entity": "<entity>"
},
"name": "cag_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Depth of relationship traversal | |
| entity | Yes | Entity to build context around (e.g., trigger name, session name) |