[GH-ISSUE #11075] TooFunction declaration should allow to refer types from $ref declarations #7306

Open
opened 2026-04-12 19:21:23 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @kudla on GitHub (Jun 15, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11075

Hey guys

As there's declared option to define custom type $defssection within ToolFunction structure still there's no possibility to refer them from the Properties declarations with existing structure.

So should this work extending the structure with Ref property.

I've create a pull request with a change #11074

Thank you

Originally created by @kudla on GitHub (Jun 15, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11075 Hey guys As there's declared option to define custom type `$defs`section within `ToolFunction` structure still there's no possibility to refer them from the `Properties` declarations with existing structure. So should this work extending the structure with `Ref` property. I've create a pull request with a change #11074 Thank you
GiteaMirror added the feature request label 2026-04-12 19:21:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#7306