long_rest
Reset a character's spell slots, restore hit dice, clear death saves, and optionally restore HP to maximum during a long rest in D&D 5e campaigns.
Instructions
Perform a long rest for a character.
Resets spell slots, restores hit dice (half of total, minimum 1), clears death saves, and optionally restores HP to maximum.
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": {
"character_name_or_id": "<character_name_or_id>"
},
"name": "long_rest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| character_name_or_id | Yes | Character name, ID, or player name | |
| restore_hp | No | Restore HP to maximum (default: true) | |
| player_id | No | Player ID for permission check (omit for single-player DM mode) |