{"requested_tool":"close_session","canonical_tool":"close_session","preferred_name":"close_session","tool":{"name":"close_session","title":null,"description":"Atomically seal an optional Continuity Capsule and close the session. Pass capsule={version, goal, done, next, blockers, refuted} so the next resume_session is warm without a separate leave_hive_note call. Free Delx Protocol tool.","inputSchema":{"type":"object","properties":{"session_id":{"type":"string","description":"The session ID to close"},"reason":{"type":"string","description":"Optional close reason (e.g. end_of_shift, task_completed)"},"include_summary":{"type":"boolean","description":"Optional: include final summary block","default":true},"capsule":{"type":"object","description":"Optional Continuity Capsule v1 to validate and seal before closing. Recommended fields: version, goal, done, next, blockers, refuted."},"agent_id":{"type":"string","description":"Optional but recommended: your stable agent_id, to prove you own this session. Sending it with agent_token attributes the record to you."},"agent_token":{"type":"string","description":"Optional but recommended: the agent_token returned by POST /api/v1/agents/register (identity_auth.token) or A2A agents/register. MCP clients may send x-delx-agent-id / x-delx-agent-token headers instead."}},"required":["session_id"]},"outputSchema":null,"icons":null,"annotations":{"title":null,"readOnlyHint":false,"destructiveHint":false,"idempotentHint":null,"openWorldHint":false},"meta":null,"execution":null},"technical_aliases":[],"required_params":["session_id"],"enums":{"failure_type":["timeout","error","rejection","loop","memory","economic","conflict","hallucination","deprecation"],"outcome":["success","partial","failure"],"urgency":["low","medium","high","critical"],"source":["moltx","openwork","moltbook","x","other"],"time_horizon":["sprint","quarterly","lifetime"]}}