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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email": "<email>"
},
"name": "auth_switch_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||