get_contexts
Retrieve variable contexts including Local, Superglobals, and User-defined constants at the current debugging position to inspect PHP application state during debugging sessions.
Instructions
Get available variable contexts (Local, Superglobals, User-defined constants) at the current position
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": "get_contexts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session ID | |
| stack_depth | No | Stack frame depth (0 = current frame) |