import_demo
Analyzes an existing CS2 demo file stored in a configured server import folder and returns match and job IDs for tracking analysis progress and retrieving results.
Instructions
Analyze a demo file that already exists on the server's disk (inside one of the configured import folders). To upload from elsewhere use the REST API: POST /api/v1/matches (multipart field file). Returns match_id and job_id; wait with get_job, then call get_match.
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": {
"path": "<path>"
},
"name": "import_demo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a .dem (or .dem.gz/.bz2/.zip) file. | |
| auto_render_top | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||