Collect Adaptive Runtime Evidence
debug_adaptive_evidenceCollect runtime evidence in progressive phases to minimize debugger cost, expanding from stack and locals to a full report only when needed.
Instructions
Collect runtime evidence in progressively richer bounded phases instead of immediately requesting a maximal snapshot. Use it when token/DAP cost matters or the amount of evidence needed is unknown: it starts with stack and small locals, expands only when symbols, exception state, or variables are insufficient, and finishes with a full runtime report when needed. Do not use it to replace deliberate deep inspection when the required evidence is already known.
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": "debug_adaptive_evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| forceFull | No | Force the full evidence phase even if the cheap snapshot already looks sufficient. | |
| sessionId | No | Optional DAP session ID. Omit to use the backward-compatible default session. | |
| maxVariables | No | Maximum locals/registers per scope in the richest phase. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | No | ||
| snapshot | No | ||
| selectedPhase | Yes | ||
| evidenceBudget | Yes | ||
| expansionReasons | Yes |