whoami
Verify API credentials and retrieve logged-in user details, including roles and permissions, for Open Journal Systems.
Instructions
Check whether the current credentials work, and who you are.
API token: OJS has no identity endpoint for a token — this tool
reports ONLY whether authentication works at all, not who the
user is (identity in the response is then None).
Login and password: identity carries the logged-in user's
real data (id, username, fullName, roles, role_names).
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 |
|---|---|---|---|
| journal | No |