handoff_session
Transfer session context between agents by generating a markdown summary and optionally seeding a new session with given instructions.
Instructions
Hand a session's context from one agent to another. Builds a markdown brief from the source transcript, saves it under ~/.agent-bus/handoffs/, and either returns a ready-to-run launch command (launch=false) or seeds a new target session and returns its resume command (launch=true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Override working directory | |
| tail | No | Messages to include (default 25) | |
| launch | No | Actually seed the target session now | |
| to_agent | Yes | ||
| from_agent | Yes | ||
| session_id | Yes | ||
| instructions | No | What the target agent should do next |