Add tip for checking model capabilities before binding tools using .profile#14
Merged
DanWahlin merged 1 commit intomicrosoft:mainfrom Dec 25, 2025
Merged
Add tip for checking model capabilities before binding tools using .profile#14DanWahlin merged 1 commit intomicrosoft:mainfrom
DanWahlin merged 1 commit intomicrosoft:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
04-function-calling-tools/README.mdexplaining how to use the.profilegetter to check model capabilities (such astoolCalling,structuredOutput, andimageInputs) before binding tools, with example code and a link to further documentation.