install_dungeondraft_bridge
Install or update the bundled Dungeondraft bridge mod in the correct mods folder, previewing changes and backing up existing bridges before confirmation.
Instructions
Install or update the bundled bridge mod in Dungeondraft's mods folder.
This is how a Claude Desktop extension or Claude Code plugin user gets
the mod, and how they update it after updating the companion.
1. Call with no mods_dir: `candidates` lists the folders Dungeondraft
loads, the one it is configured to use first.
2. Call with mods_dir to preview: show the user `actions`.
`requires_force` true means a bridge is already there.
3. Once the user agrees, call again with confirm=true, and replace=true
if a bridge is already there. The old one is moved to a backup outside
the mods folder, never deleted.
`other_copies` are further bridges in that folder under other names (an
older install, a fork with the same mod id); Dungeondraft would load
them too. With the user's agreement, add move_other_copies=true and each
is backed up beside the replaced one (`other_copy_backups` in the
preview), never deleted and never inside the mods folder. Do not move
them by hand.
It never starts Dungeondraft or changes a map. The user must then fully
quit and reopen Dungeondraft and open a map; ping's `bridge_current`
confirms the new bridge is the one running.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "install_dungeondraft_bridge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| replace | No | ||
| mods_dir | No | ||
| move_other_copies | No |