Who am I
whoamiVerify the Forgejo token and report the authenticated account's login, name, email, admin status, and visibility. Use it as a first call to confirm credentials and FORGEJO_URL are valid before other tools.
Instructions
Report the account this server's token belongs to, as the forge returns it: login (the owner name for your own repos), full_name, email, is_admin, visibility, created and last_login among others. A cheap first call: it proves the token works, and if it fails, the token or FORGEJO_URL is wrong and no other tool will work either. Use version for the server and forge versions, and write_status for whether writes are possible.
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 | |||