cs2_positions
CS2 positional data from parsed demos. With mapId: view=grenades (every grenade with landing spot, thrower, round, duration), view=positions (grenades, bomb plants/defuses and kills with attacker/victim spots in one timeline) or view=heatmap (counts per radar cell; kind=utility|smoke|flash|he|molotov|decoy|bomb_plant|bomb_defuse|kill|death). With playerId instead: that player's grenades across recent maps (pass map for a heatmap). Every point has game coordinates and a 0..1 radar point. Read the response notes and null fields for what is not recorded.
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": "cs2_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map | No | With playerId: map name (Mirage, Inferno...) to get a heatmap. | |
| days | No | With playerId: look-back window in days (default 180). | |
| grid | No | Heatmap cells per side (default 32). | |
| kind | No | view=heatmap: utility, smoke, flash, he, molotov, decoy, bomb_plant, bomb_defuse, kill or death. view=positions: grenade,bomb,kill. | |
| side | No | T or CT. | |
| team | No | With mapId + view=grenades: only this team (id or name). | |
| type | No | Grenade type: smoke, flash, he, molotov or decoy. | |
| view | No | For mapId: grenades (default), positions or heatmap. | |
| limit | No | Max items to return (default 200, max 5000). Example: 200. | |
| mapId | No | Map/game id from match maps, e.g. "cs2-match-2399437-map-1". | |
| round | No | Only this round. | |
| player | No | With mapId: only this player (id or nickname). | |
| playerId | No | Player id or slug (e.g. "ropz"). Use instead of mapId for one player across maps. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true if the tool succeeded | |
| data | No | Result payload when ok is true; null on error | |
| meta | Yes | ||
| error | No | ||
| partial | No | ||
| pagination | No |