export_brain
Serialize an agent's brain to a portable Markdown (default) or JSON document: persona/values + plaintext skills + top memories + goals + team (the user's other agents and their brains/domains, for delegate_task routing) + optional work queue. Redacts 'private'-source memory. format: 'md'|'json'; optional brain_id to scope to one brain.
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": "export_brain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: md (default) or json | |
| agent_id | Yes | ID of the agent | |
| brain_id | No | ID of the brain | |
| include_work_queue | No | Also include work queue |