get_player
Look up a WarEra player's public profile and selected stats by user ID or exact username; returns only public game data, not private inventory or balances.
Instructions
Get a player's public profile and selected public stats. Use the WarEra user ID when available; username resolution requires an exact, unambiguous match and otherwise asks you to disambiguate. Does not return private inventory, balance, or session-only data.
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": "get_player"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Field groups to include; omit for all. | |
| user_id | No | Opaque WarEra identifier. Prefer this over a name when you have it. | |
| username | No | Exact in-game username. | |
| player_context | No | Optional per-request WarEra credentials: an object containing api_key or jwt. Never use a project-wide or default credential. |