Structured output (outputSchema)
structured_outputReturns a fake build report as schema-declared structured content, with variants for valid data, text mismatches, invalid schema data, and isError results to test client handling.
Instructions
Return a fake build report as structuredContent, declared by an outputSchema. Variants: object (valid data plus the same JSON as text, as the spec recommends), data_only (valid data, no text block at all), text_differs (the text block reports different numbers than the data), invalid (data that violates the outputSchema), error (an isError result without structuredContent, which the spec allows).
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | No | object |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | Free-form labels | |
| failed | Yes | Number of failed tests | |
| passed | Yes | Number of passed tests | |
| status | Yes | Overall result | |
| project | Yes | Project name | |
| durationMs | Yes | Wall-clock duration in milliseconds |