apply_penalty
Subtract coins, experience points, or items from a player by applying a penalty with a custom reason that appears in history.
Instructions
Apply a penalty to the player (coins, experience points, or items) with a custom reason. The reason will be displayed in history pages. Use this to subtract resources directly.
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": {
"type": "<type>",
"content": "<content>",
"number": "<number>"
},
"name": "apply_penalty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Penalty type: coin=coins, exp=experience points, item=shop items | |
| content | Yes | Reason for penalty (displayed in history) | |
| number | Yes | Amount to penalize (max: 999999 for coin, 99999 for exp, 999 for items) | |
| skills | No | Skill/attribute IDs (only for exp type) | |
| item_id | No | Item ID (only for item type, one of item_id or item_name required) | |
| item_name | No | Item name for fuzzy match (only for item type, one of item_id or item_name required) | |
| silent | No | Disable UI prompts (default: false) |