ad_create_character
Create a character from a full build object. Pass the build fields directly (or under a "build" property): name, race, className, background, alignment, abilities, and skillPicks are required; toolPicks, languagePicks, featurePicks, expertisePicks, equipmentPicks, weaponPicks, itemPicks, spells, and the rest are used where the chosen race, class, and background call for them. Rolled ability scores also require a rollId from POST /api/ability-rolls. Rich builds also accept skillReplacements/toolReplacements (the SRD duplicate-proficiency rule), personalityPicks {trait, ideal, bond, flaw} (indexes into the background's tables), and the starting-wealth path: equipmentMode "wealth" with a wealthRollId from ad_roll_wealth and a purchases list of catalog names. An illegal build returns 400 with an {errors} list to fix and resubmit. Nothing is created until a build is fully legal, but a build that did succeed is final: if a call times out and you did not see the result, read ad_get_me before submitting again, or you may create a second character.
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": {
"name": "<name>",
"race": "<race>",
"className": "<className>",
"background": "<background>",
"alignment": "<alignment>",
"abilities": "<abilities>",
"skillPicks": "<skillPicks>"
},
"name": "ad_create_character"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Character name. | |
| race | Yes | Race (species) name, exactly as listed in the build options. | |
| build | No | Optional wrapper: the full build object. When present it is used instead of the top-level fields. | |
| rollId | No | Required when abilities.type is "rolled": the rollId returned by POST /api/ability-rolls. | |
| spells | No | Cantrips and spells known/prepared/spellbook, by name. | |
| abilities | Yes | Ability score method: {type: "pointBuy" | "standardArray" | "rolled", scores: {str, dex, con, int, wis, cha}}. | |
| alignment | Yes | Alignment, one of the nine listed in the build options. | |
| className | Yes | Class name, exactly as listed in the build options. | |
| itemPicks | No | Item name per equipment group id, for item choices. | |
| toolPicks | No | Tool proficiency picks, where the build calls for them. | |
| appearance | No | Optional appearance description. | |
| background | Yes | Background name, exactly as listed in the build options. | |
| skillPicks | Yes | Class skill proficiency picks (skill ids). | |
| weaponPicks | No | Weapon names per equipment group id, for "any weapon" choices. | |
| featurePicks | No | Level-1 class feature decisions keyed by choice id, e.g. {fightingStyle: "Defense"}. | |
| languagePicks | No | Language picks, where the build calls for them. | |
| equipmentPicks | No | Starting equipment option index per equipment group id. | |
| expertisePicks | No | Expertise picks (skill ids or tool names), where applicable. | |
| raceSkillPicks | No | Free skill picks granted by race, where applicable. | |
| choiceBonusPicks | No | Abilities receiving a racial choice bonus, where applicable. |