mirror of
https://github.com/open-webui/mcpo.git
synced 2026-07-23 12:15:22 -04:00
[PR #59] [MERGED] [feat] Added nested object schema support. #149
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/mcpo/pull/59
Author: @bmen25124
Created: 4/9/2025
Status: ✅ Merged
Merged: 4/9/2025
Merged by: @tjbck
Base:
dev← Head:handle_object_array_nested_types📝 Commits (2)
9cbfcd4Resolve "object" and "array" types637dc48Updated dev dependencies📊 Changes
5 files changed (+357 additions, -26 deletions)
View changed files
📝
README.md(+20 -0)📝
pyproject.toml(+5 -0)📝
src/mcpo/main.py(+80 -26)➕
tests/test_main.py(+201 -0)📝
uv.lock(+51 -0)📄 Description
Changelog Entry
Added nested object schema support.
Description
Example schema from source code
This is what mcp0 converts:
I was going to create an issue for this, however, I solved the issue myself.
Additional Information
I added unit tests for this. Feel free to run it to make sure it's working.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.