Get score
get_scoreRetrieve a player's or label's score for a specified Minecraft scoreboard objective, returning 0 when no score exists.
Instructions
A score holder's score on an objective (0 if they have none).
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": {
"objective": "<objective>",
"player": "<player>"
},
"name": "get_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player | Yes | Score holder: a player name or any label like '#timer'. | |
| objective | Yes | Objective name (no spaces). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||