Structured output with an array root
structured_output_arrayReturns metrics whose outputSchema has an array root and unwraps the {"result": [...]} envelope used by 2025-era connections.
Instructions
Return a list of metrics whose outputSchema has an array root. Allowed on 2026-07-28 (SEP-2106); on 2025-era connections the schema and the value arrive wrapped as {"result": [...]}.
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": "structured_output_array"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Name/value pairs (array root) |