Route to a persona
route_and_loadRoute to a specialist. Call only for initial selection or a needed specialization change; keep the active role locally on continuations. Pass protocol_version=2 and current_persona. Returns separate instruction blocks.
Instructions
Route to a specialist. Call only for initial selection or a needed
specialization change; keep the active role locally on continuations. Pass
protocol_version=2 and current_persona. Returns separate instruction blocks.
ROUTE_REQUIRED needs get_agent_context with the same version and descriptor.
Explicit known roles can be loaded directly. Pass workspace, your working
directory: the first SUCCESS or NO_CHANGE of this session in a workspace carries
its repository context in repo_context, and a workspace outside this session's
grant carries the workspace_mismatch report there instead of a description.
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": {
"query": "<query>"
},
"name": "route_and_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The user request to route. | |
| workspace | No | Absolute path of your working directory, the project this session works in. Pass it whenever you have one. It never widens this session's grant: over HTTP the workspace registered for the connection decides, and over stdio it is checked against the client's own MCP roots unless this session's root is already pinned, when it is ignored. Each tool's description says what it does with a path that grant does not cover. | |
| chat_history | No | Optional relevant earlier conversation facts, as a JSON array of strings. | |
| current_persona | No | The `persona` object of the last SUCCESS/NO_CHANGE, copied verbatim; omit or null on first activation. All 7 keys: agent, activation_id, bundle_revision (64 hex characters), scope, skills_loaded, implants_loaded, rules_loaded. | |
| protocol_version | No | Persona protocol version; always 2. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |