eywa_extract
Extract a handoff document from the current or a specified session to persist key decisions, insights, and open threads.
Instructions
Extract a handoff from the current session (or a specified session).
Called at end of session to persist a handoff document.
Extracts key decisions, insights, and open threads via the Anthropic Claude model configured by
EYWA_CLAUDE_MODEL (default: sonnet) using the Claude Agent SDK.
No args: auto-detects current session via PID tracing + mtime.
With session_id: extracts that specific session.
Examples:
eywa_extract()
eywa_extract(session_id="1b2f6f6b-65a6-42ff-aca7-34889b422799")
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "eywa_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session UUID. Auto-detected if omitted. |