Reflect
reflectRun an on-demand reflection/consolidation pass over the agent's unconsolidated episodes (§8.2). Calls the agent-reflect edge function; may write new skills/memories and marks episodes consolidated.
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 |
|---|---|---|---|
| agent_id | Yes | ||
| brain_id | No | ||
| max_episodes | No |