Skip to content

Add tip for checking model capabilities before binding tools using .profile#14

Merged
DanWahlin merged 1 commit intomicrosoft:mainfrom
DanWahlin:main
Dec 25, 2025
Merged

Add tip for checking model capabilities before binding tools using .profile#14
DanWahlin merged 1 commit intomicrosoft:mainfrom
DanWahlin:main

Conversation

@DanWahlin
Copy link
Contributor

This pull request adds helpful documentation about how to check a model's capabilities before attempting to use tool calling features. It introduces the concept of Model Profiles (currently in beta), showing how to programmatically determine if a model supports tool calling and other advanced features.

Documentation improvements:

  • Added a new tip section in 04-function-calling-tools/README.md explaining how to use the .profile getter to check model capabilities (such as toolCalling, structuredOutput, and imageInputs) before binding tools, with example code and a link to further documentation.

@DanWahlin DanWahlin merged commit 0f997e2 into microsoft:main Dec 25, 2025
2 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.

1 participant