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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "yaaif_ensure_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant | No | ||
| profile_id | No | ||
| login_if_needed | No |