Skip to content

v0.1.5 — MCP Structured Content & Output Schema

Choose a tag to compare

@dgenio dgenio released this 07 Mar 07:46
· 413 commits to main since this release
v0.1.5
f29d1fe

[0.1.5] - 2026-03-07

Added

  • MCP structured content (structuredContent) support — JSON output stored as artifact with facts extracted from top-level keys
  • MCP outputSchema support for tool definitions; SelectableItem now includes output_schema field (#102)
  • MCP content types: audio (base64-decoded binary artifact) and resource_link (URI reference as ArtifactRef)
  • Per-part content annotations (audience, priority) tracked in provenance["content_annotations"]
  • PR template and YAML issue forms (.github/)

Fixed

  • Use text/uri-list MIME for resource_link binaries payload
  • Use validate=True for base64 decoding in image and audio parts
  • Add isinstance guard for structuredContent fact extraction and per-part annotations
  • Use is not None for output_schema checks to preserve empty dict schemas
  • Set resource_link size_bytes to actual URI length
  • Widen structured_content annotation to Any for MCP spec compliance

Changed

  • Extracted _decode_binary_part helper for image/audio binary decoding