resolve_attack
Resolve D&D 5e attack rolls against target AC, incorporating advantage, disadvantage, natural 20 critical hits, and natural 1 automatic misses.
Instructions
解析攻击骰。nat20 必中且暴击,nat1 必失。
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": {
"attack_bonus": "<attack_bonus>",
"target_ac": "<target_ac>"
},
"name": "resolve_attack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| advantage | No | ||
| target_ac | Yes | ||
| attack_bonus | Yes | ||
| disadvantage | No |