whoami
Report who this connection is authenticated as. Answers two SEPARATE questions that are easy to conflate: which APPLICATION is connected (the OAuth client), and which HUMAN authorised it (the signed-in account, when the endpoint is one that can know). The public endpoint is anonymous by design and will say so — that is not an error, it is the free tier. Use it to check whether per-user features (saved profile, reading history) are available before offering them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | What this identity can do. | |
| user | No | The signed-in user {sub, email}, or null. | |
| endpoint | Yes | "public" or "authenticated". | |
| application | No | OAuth client id, or null when anonymous. | |
| authenticated | Yes | True on the authenticated endpoint. | |
| per_user_features | Yes | True when a human is attributable. |