ping
Checks whether the Dungeondraft MCP bridge is running and matches this package's bridge code, reporting version mismatches, duplicate installs, and available updates.
Instructions
Check the bridge is up, and whether it is the bridge in this package.
`bridge_current` compares a hash of the source Dungeondraft is actually
RUNNING with this package's mcp_bridge.gd. It is the only reliable answer to
"is Dungeondraft on the latest bridge?", because Dungeondraft loads mods from
a folder the user chooses and a file check can look in the wrong one.
False: Dungeondraft is running other code. Restart it to load a change, or
reinstall into the folder it loads (inspect_dungeondraft_installation).
None: the running bridge is too old to report its source.
New bridges also report bridge_root (Dungeondraft's Global.Root for the
executing mod) and process_id. These identify the running copy and process;
they do not imply that files subsequently changed on disk are already loaded.
`companion_version` is this server's release; `bridge_version` is the one
in the running bridge's .ddmod (absent from bridges before 1.4). When they
differ, `version_note` says which to update.
`update_available` appears when a newer release has been published: pass
its message to the user. On their yes, update_companion updates a
downloaded companion; other installs get their own steps in the message.
`duplicate_installs` appears when Claude has this server installed more
than one way: pass its message to the user too.
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": "ping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||