Hand Off Context to Specialist Wing
handoff_to_agentPersist a high-salience (0.9) Semantic handoff memory into a target specialist wing namespace (wing:) (consumes 1 Write API call; non-idempotent: repeated calls create distinct handoff records) and return { id, wing, namespace }. Accepts target wing via wing or alias to_wing (defaults to "architect") and sender via from_agent or alias from_wing (defaults to "agent"), attaching files and memory_ids as searchable context tuples. Use when delegating findings and next steps between architect, reviewer, qa, security, or ops agents; use encode_memory instead for general project memories.
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": {
"summary": "<summary>"
},
"name": "handoff_to_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Optional concrete follow-up action appended for the receiving wing. | |
| wing | No | Destination specialist wing (preferred; defaults to "architect" if both wing and to_wing are omitted). | |
| files | No | Optional file paths attached as ["file", path] context tags. | |
| summary | Yes | Required concise summary of architectural findings, constraints, and state. | |
| to_wing | No | Alias for destination wing used when wing is omitted. | |
| from_wing | No | Alias for sending specialist wing used when from_agent is omitted. | |
| from_agent | No | Identifier of the sending agent or role (preferred; defaults to "agent"). | |
| memory_ids | No | Optional related memory UUIDs attached as ["memory_id", id] context tags. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Created handoff memory UUID. | |
| wing | Yes | Resolved destination wing ID. | |
| namespace | Yes | Target wing namespace (for example "wing:qa"). |