Reflect
reflectThe learning loop. Returns the agent's unconsolidated episodes + recent feedback + current skills/top-memory so you (the LLM) can extract durable facts and reusable skills — then write them back with remember/save_skill (cite the episode ids as provenance). Marks the returned episodes consolidated unless peek=true.
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": {
"agent_id": "<agent_id>"
},
"name": "reflect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peek | No | If true, don't mark episodes consolidated (dry run). | |
| limit | No | Max episodes to load (default 50). | |
| agent_id | Yes | ||
| category_id | No | ||
| category_slug | No |