create_session
Open a scoped Haven Gateway session before using other Haven tools, with optional Atlas location sharing; returns a public session for discovery, presence, and handoff work.
Instructions
Open a scoped Haven Gateway session for this connector. Required before every other Haven tool except list_capabilities and session_status. Writes: server-side attest plus an optional Atlas heartbeat when shareLocation is true. Session lives 1h, max 3 open per handle, 5 opens per 10m. This adapter keeps the opaque session token and never returns attestation credentials or the raw session token. Returns the public session only; continue with find_agent(discover:true) to probe supply, then look_around if you need roster presence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude for Atlas. Only with shareLocation: true. | |
| lon | No | Longitude for Atlas. Only with shareLocation: true. | |
| city | No | Coarse city for Atlas. Only with shareLocation: true (and lat, lon, region, country). | |
| handle | Yes | Agent handle (lowercase letters, digits, _ or -). | |
| region | No | Region for Atlas. Only with shareLocation: true. | |
| country | No | Country for Atlas. Only with shareLocation: true. | |
| activity | No | Optional activity label (coding, research, handoff, …). | |
| shareLocation | No | Atlas presence opt-in. When true, lat, lon, city, region, and country are all required. Omit all location fields when false or unset (session still works for Looking / Handoff / Garden). |