hltv_get_player_photo
Fetches a Counter-Strike player's bodyshot photo from HLTV, returning a CDN URL by default or downloading it locally; pass a year to retrieve a historical photo.
Instructions
获取选手照片(bodyshot):默认返回 CDN 地址;download=true 时下载到本地。传 year 可回溯那一年的照片(走统计页,通常 800×800,适合做老比赛的数据页)。
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": "hltv_get_player_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | No | ||
| name | No | ||
| size | No | ||
| year | No | ||
| month | No | ||
| prefer | No | auto | |
| download | No | ||
| player_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |