You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: support Pydantic Model as function param and return type #1066
Ideally it would work with complex pydantic models! It would also be good to be able to mark some of the arguments as to be excluded from the LM-generation like FastMCP's exclude_args.
Activity
hangfei commentedon May 30, 2025
@Jacksunwei is driving this work.
If you have any requirements or thoughts, please share with him. Thanks!
mikeedjones commentedon Sep 3, 2025
Ideally it would work with complex pydantic models! It would also be good to be able to mark some of the arguments as to be excluded from the LM-generation like FastMCP's exclude_args.
lucasnobre212 commentedon Feb 13, 2026
@Jacksunwei Any updates on this?
armude commentedon Apr 20, 2026
Are you going to add this anytime soon?
xuanyang15 commentedon Jun 26, 2026
This has been supported with the feature JSON_SCHEMA_FOR_FUNC_DECL being enabled by default.