Load a persona
get_agent_contextRetrieve a selected agent's persona and instructions to activate its role. Use force_reload to restore lost instructions or refresh skills.
Instructions
Load an explicitly chosen agent or a ROUTE_REQUIRED selection.
Pass protocol_version=2 and current_persona. The same active agent
returns NO_CHANGE without enrichment. Use force_reload=True to restore lost
instructions; use refresh_persona_context to refresh the same role's skills.
SUCCESS contains separate blocks and a descriptor; apply only when its
replaces_activation_id matches your current activation. Preserve the dialogue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The user request the role is loaded for. | |
| reasoning | No | Why this agent was chosen. | Selected by calling LLM |
| agent_name | Yes | Canonical name of the agent to load. | |
| chat_history | No | Optional relevant earlier conversation facts, as a JSON array of strings. | |
| force_reload | No | True to restore lost instructions of the same agent. | |
| 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 |