session_bind
Authenticate your app by providing an HMAC-signed header to open a cryptographically-bound session, receive a session ID, and set your trust level for subsequent MCP calls.
Instructions
Open a cryptographically-bound session (check-in). Provide a 13-field
HMAC-signed header whose agent_id equals your app_id; the server verifies
it against your operator-registered secret and caps the claimed trust_level
at your registered ceiling ("Elder is not a text field anyone can type").
Returns {session_id, agent_id, trust_level, tier}, or {error} on refusal.
Once bound, the tier is LOGGED on your subsequent calls (receipt
bind_observed). With WILLOW_MCP_ENFORCE_BINDING on it is also ENFORCED —
each call must carry a valid per-call signature and clear the tier ceiling
(Phase 3). Registration/rotation of the secret is operator/CLI-only
(willow-mcp register-agent); no MCP tool can mint one — the sudo invariant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| header | Yes |