analyze_collection
Analyze a collection variable to get count, element type, null count, first/last items, and numeric statistics for numeric collections. Requires a stopped debug state and a variable reference.
Instructions
Analyze a collection variable in one call.
State: STOPPED required. Get variables_reference from get_variables() response.
Returns count, element type, null count, first/last N items, and numeric stats (min/max/sum/average) for numeric collections.
Args: variables_reference: Variable reference from get_variables response sample_size: Number of first/last items to include (default 5)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sample_size | No | ||
| variables_reference | Yes |