Get Owned Games
steam_getOwnedGamesRetrieve a player's Steam game library with playtime totals, top games, and ownership checks; sort by playtime, recent play, or name and filter by app IDs.
Instructions
Get a player's game library with playtime data. Returns the library size and total playtime, plus the top 50 games by playtime by default (change with sort and limit, or filter with appids). Requires STEAM_API_KEY.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"steamid": "<steamid>"
},
"name": "steam_getOwnedGames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Order games by total playtime (default), playtime in the last two weeks, or name | |
| limit | No | Maximum games to return after sorting (default: 50). game_count always reports the full library. | |
| appids | No | Only return these apps, e.g. to check whether the player owns them | |
| steamid | Yes | The player: a 17-digit Steam64 ID, a profile URL (steamcommunity.com/profiles/... or /id/...), a vanity name, or a SteamID2/SteamID3 (STEAM_0:1:123, [U:1:246]) | |
| include_appinfo | No | Include game name and icon info (default: true) | |
| include_played_free_games | No | Include free-to-play games in results (default: true) |