Delete a vignette
dos2_delete_vignetteDeletes a campaign vignette by UUID or exact title while preserving shared illustration files; backs up the campaign first and blocks writes while the game is running.
Instructions
Deletes one vignette from the campaign, found by UUID or exact title. Its picture files stay in the campaign's Vignettes/Illustrations folder, so other vignettes that use the same image keep working.
Writes Vignettes.lsf. The previous file is backed up first; undo with dos2_restore. Fails with an error while the game process is running unless allow_running=true.
Fails with an error when nothing matches. Returns the UUIDs removed and the backup id.
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": {
"campaign": "<campaign>",
"vignette": "<vignette>"
},
"name": "dos2_delete_vignette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign | Yes | The campaign to work on: its name, its folder name, its UUID, or a unique part of any of them. dos2_status lists the campaigns. | |
| vignette | Yes | The vignette's UUID or its exact title (case-insensitive), as listed by dos2_vignettes. | |
| allow_running | No | Keep false. Set true only after the user has confirmed that the running game sits in the main menu: a write into a campaign that is loaded in the game gets lost or damages it. |