spell_attack_bonus
Calculate a D&D 5e spell attack bonus by adding proficiency bonus to ability modifier, resolving the total for attack rolls.
Instructions
法术攻击加值 = 熟练 + 属性调整。
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": {
"ability_mod": "<ability_mod>",
"proficiency_bonus": "<proficiency_bonus>"
},
"name": "spell_attack_bonus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ability_mod | Yes | ||
| proficiency_bonus | Yes |