yaaif_ensure_session
Validate platform authentication, refresh or log in, auto-select the appropriate tenant, and return a ready state for immediate use.
Instructions
One-shot: validate platform/OIDC, refresh or login, auto-select tenant (last/single/default), return ready state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant | No | ||
| profile_id | No | ||
| login_if_needed | No |