outputschema

command
v0.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Command outputschema is a minimal stdio MCP server used by the Spec 056 output-schema-validation E2E test. It exposes three tools, all declaring the same output schema (an object with a required integer "id"):

  • conforming: returns structured {"id": 7} -> passes validation
  • bad_output: returns structured {"id": "not-an-int"} -> violates the schema
  • text_only: returns only text content (no structuredContent) -> the ContextForge #4042 case (declared schema, nothing to validate)

It is intentionally dependency-light and deterministic so the proxy's validation behaviour can be asserted from curl/JSON-RPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL