auth_switch_user
Switch active sessions to a different user for testing or administrative purposes by specifying the target user's email and optional reason.
Instructions
Switch the active session to a different user.
Equivalent to calling auth_start_session — provided as a semantic
alias when the intent is to change the active user rather than start a
fresh session.
Parameters
email: The new user to impersonate. reason: Optional free-text description of why the switch is needed.
Returns
dict
Same shape as auth_start_session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||