get_variables
Browse PHP variables in scope by listing names, types, and child counts for a chosen context and stack depth.
Instructions
List all variables in scope with metadata (names, types, child counts). Use get_variable() to inspect specific variable values. Returns lightweight metadata for browsing the variable tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_id | No | Context ID: 0=Local variables, 1=Superglobals, 2=User constants | |
| session_id | No | Session ID | |
| stack_depth | No | Stack frame depth (0 = current frame) |