variables
Retrieve and list local variables within the current scope of a Go program during debugging using Delve MCP. Input the debug session ID to analyze variable states efficiently.
Instructions
List local variables in current scope
Input Schema
Name | Required | Description | Default |
---|---|---|---|
sessionId | Yes | ID of the debug session |
Input Schema (JSON Schema)
{
"properties": {
"sessionId": {
"description": "ID of the debug session",
"type": "string"
}
},
"required": [
"sessionId"
],
"type": "object"
}