use_spell_slot
Track spell slot usage in D&D 5e campaigns by decrementing available slots for a character at a specified level, returning remaining count after validation.
Instructions
Use a spell slot, decrementing available slots for the given level.
Validates that the character has slots at this level and that at least one is still available. Returns remaining slot count.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| character_name_or_id | Yes | Character name, ID, or player name | |
| slot_level | Yes | Spell slot level to use (1-9) | |
| player_id | No | Player ID for permission check (omit for single-player DM mode) |