Thanks for your great project. When I used this tool, I met an issue as following.
Description
When using Copilot Agent, the following validation error occurs:
Failed to validate tool f1e_create_container: Error: tool parameters array type must have items
Workaround
This issue no longer occurs with the following workaround:
🔗 ar90n@4d55aa9
This fix adds an empty items field next to prefixItems, which resolves the issue in environments with strict JSON Schema validation.
Cause
The schema generated for tuple[str, int] includes only prefixItems without an items field, which violates the expectations of some JSON Schema validators (such as the one used by Copilot Agent).
Proposal
Would it be okay for me to open a PR that adds items: {} where prefixItems is used?
If you're okay with that, feel free to assign this issue to me.
Thanks for the great project!
Thanks for your great project. When I used this tool, I met an issue as following.
Description
When using Copilot Agent, the following validation error occurs:
Workaround
This issue no longer occurs with the following workaround:
🔗 ar90n@4d55aa9
This fix adds an empty
itemsfield next toprefixItems, which resolves the issue in environments with strict JSON Schema validation.Cause
The schema generated for
tuple[str, int]includes onlyprefixItemswithout anitemsfield, which violates the expectations of some JSON Schema validators (such as the one used by Copilot Agent).Proposal
Would it be okay for me to open a PR that adds
items: {}whereprefixItemsis used?If you're okay with that, feel free to assign this issue to me.
Thanks for the great project!