Build brain
build_brainCompile an agent file into a deterministic, content-addressed brain. content = the file as a string; format = verdigraph_genome | claude_project_export | openai_assistant | prompt_list | auto. Returns brain_id, content_hash, node/edge counts, the 9-invariant firing report, and provenance. Identical bytes always produce the identical brain_id (VB1). include_document=true returns the full 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": {
"content": "<content>"
},
"name": "build_brain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | verdigraph_genome, claude_project_export, openai_assistant, prompt_list or auto (default). | auto |
| content | Yes | The agent file, as a string. | |
| request_id | No | Optional. Your id for this call. Repeat it to retry safely: the same request_id is never charged twice. | |
| include_document | No | Optional. Include the full compiled document. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |