get_me
Return the user the OAuth token belongs to, the team the token is bound to, and the user’s role in that team. Useful at session start so the agent can greet the user by name and pick the right team-aware behavior.
No fields.
Example call
Section titled “Example call”Output
Section titled “Output”A single text content block containing a JSON object with the caller’s identity.
| Field | Type | Description |
|---|---|---|
user.id | string | User ID of the OAuth token’s owner. |
user.name | string | Display name. |
user.email | string | Email address. |
user.image | string | null | Avatar URL, or null if not set. |
organization.id | string | ID of the team the token is bound to. |
organization.name | string | Team name. |
organization.role | string | The caller’s role in the team (e.g. owner, admin, member). |
Example output
Section titled “Example output”Errors
Section titled “Errors”The tool returns isError: true with an explanatory text block when the
token’s user is no longer a member of the bound team.