update_character
Modify a Dungeons & Dragons character's properties including name, stats, background, hit points, and alignment using the character's name or ID on the D&D MCP Server.
Instructions
Update a character's properties.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
alignment | No | Character alignment | |
armor_class | No | Armor class | |
background | No | Character background | |
bio | No | The character's backstory, personality, and motivations. | |
charisma | No | Charisma score | |
constitution | No | Constitution score | |
description | No | A brief description of the character's appearance and demeanor. | |
dexterity | No | Dexterity score | |
hit_points_current | No | Current hit points | |
hit_points_max | No | Maximum hit points | |
inspiration | No | Inspiration status | |
intelligence | No | Intelligence score | |
name | No | New character name. If you change this, you must use the character's ID to identify them. | |
name_or_id | Yes | The name or ID of the character to update. | |
notes | No | Additional notes about the character | |
player_name | No | The name of the player in control of this character | |
strength | No | Strength score | |
temporary_hit_points | No | Temporary hit points | |
wisdom | No | Wisdom score |
Input Schema (JSON Schema)
{
"properties": {
"alignment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Character alignment",
"title": "Alignment"
},
"armor_class": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Armor class",
"title": "Armor Class"
},
"background": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Character background",
"title": "Background"
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The character's backstory, personality, and motivations.",
"title": "Bio"
},
"charisma": {
"anyOf": [
{
"maximum": 30,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Charisma score",
"title": "Charisma"
},
"constitution": {
"anyOf": [
{
"maximum": 30,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Constitution score",
"title": "Constitution"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A brief description of the character's appearance and demeanor.",
"title": "Description"
},
"dexterity": {
"anyOf": [
{
"maximum": 30,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Dexterity score",
"title": "Dexterity"
},
"hit_points_current": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Current hit points",
"title": "Hit Points Current"
},
"hit_points_max": {
"anyOf": [
{
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Maximum hit points",
"title": "Hit Points Max"
},
"inspiration": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Inspiration status",
"title": "Inspiration"
},
"intelligence": {
"anyOf": [
{
"maximum": 30,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Intelligence score",
"title": "Intelligence"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "New character name. If you change this, you must use the character's ID to identify them.",
"title": "Name"
},
"name_or_id": {
"description": "The name or ID of the character to update.",
"title": "Name Or Id",
"type": "string"
},
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Additional notes about the character",
"title": "Notes"
},
"player_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The name of the player in control of this character",
"title": "Player Name"
},
"strength": {
"anyOf": [
{
"maximum": 30,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Strength score",
"title": "Strength"
},
"temporary_hit_points": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Temporary hit points",
"title": "Temporary Hit Points"
},
"wisdom": {
"anyOf": [
{
"maximum": 30,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Wisdom score",
"title": "Wisdom"
}
},
"required": [
"name_or_id"
],
"type": "object"
}