delete_character
Remove a character from the cast, with their portrait and voice. Destructive: only call after the user has explicitly asked to delete the character. The first call never deletes: it answers needsConfirmation with what is lost (on an episode of a series, from EVERY episode). In the Promvie studio chat the server shows the user this question in its own words and does it only on their plain yes: never ask it yourself, never say it was done, and never call again with the confirm flag there. Through the API, tell your user exactly what is lost and, only after they agree in a later message, call again with the confirm flag and the confirmId it gave. Does NOT remove the character from existing shot rows; those keep the name reference until the user regenerates them.
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": {
"movieId": "<movieId>",
"characterId": "<characterId>"
},
"name": "delete_character"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| movieId | Yes | The movie id (uuid) this call operates on. Get it from create_movie or list_movies. | |
| confirmId | No | Through the API: the confirmId from the needsConfirmation answer, sent back with confirmDelete. It confirms that one question, once. | |
| characterId | Yes | Character id to delete. | |
| confirmDelete | No | Through the API only. Leave unset on the first call. Set true ONLY after this tool answered needsConfirmation and your user, told that the character, their portrait and their voice will be deleted (from every episode on a series), agreed in a later message, in a separate later call that also sends the confirmId. In the studio chat the server answers the question itself: never set it there. |