level-up-pc
Add one level to a D&D 5e PC, applying class advancements in place. Supports single-class level-ups and multiclass additions, with dry-run to prompt for choices.
Instructions
Add ONE level to an existing PC (type:character) and apply that level's advancement IN PLACE. Same className as a class the PC already has → a single-class level-up; a class it does NOT have → a MULTICLASS add (the PC gets the 2024 multiclass proficiency SUBSET, not the full first-level kit). HP/features/subclass(@ the class's level 3)/spell-slots scale; @scale stays native. Like create-pc: call with no/partial choices to get a needsChoices[] dry-run (e.g. the subclass options at level 3 — the actor is NOT touched); fill choices (level → advancement-id → {chosen|selected|uuid}) and re-call. ASI ability bumps are NOT applied here — raise the final scores with update-actor; a feat taken at an ASI tier is added with add-feature. If a required advancement FAILS to apply, the PC is rolled back to its prior level and success:false is returned with errors[]. Required: actorIdentifier, className. Returns {success, actor (incl. classLevel + classes[]), applied[], needsChoices[], unresolvedScale[], errors[], warnings[]}.
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": {
"actorIdentifier": "<actorIdentifier>",
"className": "<className>"
},
"name": "level-up-pc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hpMode | No | avg | |
| choices | No | ||
| className | Yes | ||
| acceptDefaults | No | ||
| actorIdentifier | Yes |