get_viewer
Retrieve details of the currently authenticated user on the MCP server, verifying token validity and returning user data or error information.
Instructions
Retrieve information about the currently authenticated user.
Parameters:
- None
Returns:
- success (bool)
- data (dict): If successful, contains user details.
- error (dict, optional)
- rate_limits (dict)
Notes:
- Returns an error if the token is invalid or expired.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Input Schema (JSON Schema)
{
"properties": {},
"title": "get_viewerArguments",
"type": "object"
}