Get Inventory
steam_getInventoryRead a player's Steam Inventory items to verify that an inventory grant landed or inspect owned items. Requires a publisher key with Economy permissions and an allowlisted server IP.
Instructions
Read a player's Steam Inventory items for your app, for example to confirm a steam_grantInventoryItem landed. Requires a publisher key with Economy permissions, with the server IP allowlisted.
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>",
"appid": "<appid>"
},
"name": "steam_getInventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appid | Yes | Your app's ID | |
| 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]) |