version
Retrieve the version information of the Delve debugger to verify the installed release.
Instructions
Get Delve version information
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": "version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server.ts:350-357 (registration)Tool registration in ListToolsRequestSchema handler — defines the 'version' tool with name, description, and empty input schema
{ name: "version", description: "Get Delve version information", inputSchema: { type: "object", properties: {} } }, - src/handlers/config.ts:50-58 (handler)Handler implementation — executes 'dlv version' via shell and returns the stdout text
case "version": { const { stdout } = await exec("dlv version"); return { content: [{ type: "text", text: stdout }] }; } - src/server.ts:416-418 (registration)Tool routing in CallToolRequestSchema — routes 'version' to handleConfigCommands
if (["setBackend", "configureLogging", "version"].includes(name)) { return handleConfigCommands(name, args); }