Create objective
create_objectiveCreates a Minecraft scoreboard objective to track criteria such as player kills, deaths, or health; returns an error if the objective name already exists.
Instructions
Create a scoreboard objective (fails if it already exists).
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": {
"name": "<name>"
},
"name": "create_objective"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Objective name (no spaces). | |
| criteria | No | What the score tracks: 'dummy' (changed only by commands), 'playerKillCount', 'deathCount', 'health', ... | dummy |
| display_name | No | Name shown to players; default: the internal name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||