pb_admin_impersonate_user
Enable admins to impersonate any user by specifying the user ID and optional token duration for troubleshooting or management purposes within PocketBase MCP Server.
Instructions
Impersonate a user (admin only)
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": {
"recordId": "<recordId>"
},
"name": "pb_admin_impersonate_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Token duration in seconds (optional) | |
| recordId | Yes | User ID to impersonate |