update_companion
Previews, downloads, verifies, and stages a signed companion release after user approval, then guides bridge mod installation and restart steps.
Instructions
Update this companion to the latest release, when the user asks for it.
1. Call with no arguments to preview. Pass `tell_user` to the user in
your own words and ask them. confirm=true is refused until this
server has returned that preview; the user's say is their answer to
you and their client's approval of the call.
2. Only on their yes, call again with confirm=true. It downloads this
computer's release, checks it against the release's signed list of
files, and sets it up beside this version. Nothing running is
replaced; the new version starts with the user's next chat.
3. When the reply's `next` says so, show the user `bridge.output` and,
on their yes, call with confirm=true and install_bridge=true. The
new mod loads when they fully quit and reopen Dungeondraft.
Always pass `tell_user` on: it says when to restart the chat or
Dungeondraft, and reports an earlier update that did not start
(`previous_attempt`). `state` is current, available, ready, staged,
refused, manual, update_elsewhere, disabled or unavailable. For a Python
package, the .deb, a Claude Code plugin or a Claude Desktop extension,
`tell_user` gives the steps for that install instead, and nothing is
downloaded here. There is no way to choose another source or version.
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": "update_companion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false previews; true downloads and stages, on the user's yes | |
| install_bridge | No | with confirm: also install the new release's Dungeondraft mod |