brain_session_start
Start or replay a concurrent coding-agent session from an explicit command, using project and client keys to track retries and parallel sessions in persistent memory.
Instructions
Start or replay a concurrent session from an explicit user command.
briefing defaults to full detail; compact returns counts and IDs in at
most 4,000 characters. Focus text appears only in session.started_focus.
An agent tracer is the only session the server opens or closes on its own; no hook and no auto-close may invoke this lifecycle boundary.
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": {
"project_key": "<project_key>",
"client_key": "<client_key>"
},
"name": "brain_session_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| briefing | No | full | |
| client_key | Yes | Stable identity for one intended session. Reuse it for every retry of that session; use a distinct stable key for each parallel session. | |
| project_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Persistent state of one explicitly controlled concurrent session. | |
| briefing | No | ||
| replayed | Yes | ||
| open_session_count | Yes |