auth_mint_token
Creates a one-hour Firebase ID token and refresh token for an Auth emulator user so an agent can call functions or the REST API as that user, with optional per-token custom claims.
Instructions
Mint a Firebase ID token (valid one hour) and refresh token for an existing Auth emulator user, so an agent can call a function or the REST API as that user; claims replace the custom claims for this token only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Account id | |
| claims | No | Custom claims for this token only (nothing is stored); omit for the user's own | |
| tenant | No | Tenant id; omit for a project-level user | |
| provider | No | Sign-in provider the token names, e.g. password or phone; default the user's first |