analyze_collection
Analyze a collection variable to get its count, element type, null count, sample items, and numeric stats like min, max, sum, and average in one call.
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)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"variables_reference": "<variables_reference>"
},
"name": "analyze_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sample_size | No | ||
| variables_reference | Yes |