black_souls_battle_action
Execute a single battle turn: choose a command (attack, skill, magic, guard, item, flee) and specify target indices; validates costs and returns updated party and enemy state.
Instructions
Execute one battle turn in a single call: pick the command (attack / skill(特技) / magic(魔法) / guard / item / flee), the list index, and the enemy target; menu navigation is closed-loop against the real cursor. Indices come from black_souls_battle_options; a choice the battler cannot afford is refused before any input is spent. Returns resulting party (including MP/TP) and enemy state.
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": {
"action": "<action>"
},
"name": "black_souls_battle_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| item_index | No | ||
| timeout_ms | No | ||
| enemy_index | No | ||
| skill_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |