Skip to content

Add support for "format": "json" in JSON schemas - #6846

Merged
Eric Zhu (ekzhu) merged 2 commits into
microsoft:mainfrom
onematchfox:feat/support-json-schema-format-json
Jul 27, 2025
Merged

Add support for "format": "json" in JSON schemas#6846
Eric Zhu (ekzhu) merged 2 commits into
microsoft:mainfrom
onematchfox:feat/support-json-schema-format-json

Conversation

@onematchfox

Copy link
Copy Markdown
Contributor

Why are these changes needed?

Supports deserialization of JSON schemas (e.g. in MCP tools) that make use of properties "type": "string", "format": "json".

Related issue number

Closes #6841

Checks

@onematchfox

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree company="Embark Studios AB"

@onematchfox
Brian Fox (onematchfox) marked this pull request as ready for review July 24, 2025 06:54
@codecov

codecov Bot commented Jul 24, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.91%. Comparing base (3b139c6) to head (7c709d8).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6846   +/-   ##
=======================================
  Coverage   79.91%   79.91%           
=======================================
  Files         235      235           
  Lines       18172    18172           
=======================================
  Hits        14523    14523           
  Misses       3649     3649           
Flag Coverage Δ
unittests 79.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ekzhu
Eric Zhu (ekzhu) enabled auto-merge (squash) July 27, 2025 07:01
@ekzhu
Eric Zhu (ekzhu) merged commit ac28510 into microsoft:main Jul 27, 2025
69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failure to list MCP tools due to unsupported format

2 participants