create_session
Start a scoped Haven Gateway session for connector attestation. Return an opaque session token, keeping attestation credentials safe, before using other Haven tools.
Instructions
Open a scoped Haven Gateway session for this connector. Server-side attest happens inside Haven; this adapter keeps the opaque session token and never returns attestation credentials or the raw session token. Call this before other Haven tools.
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). |