get_variables
Retrieve PHP variables during debugging sessions to inspect local variables, superglobals, or user constants at specific execution points.
Instructions
Get all variables at the current execution point. Use context_id to switch between local variables, superglobals, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_id | No | Context ID: 0=Local variables, 1=Superglobals, 2=User constants | |
| stack_depth | No | Stack frame depth (0 = current frame) | |
| session_id | No | Session ID |