.NET: Add Foundry Agents Tool Sample - OpenAPI Tools#3702
Open
rogerbarreto wants to merge 6 commits intomicrosoft:mainfrom
Open
.NET: Add Foundry Agents Tool Sample - OpenAPI Tools#3702rogerbarreto wants to merge 6 commits intomicrosoft:mainfrom
rogerbarreto wants to merge 6 commits intomicrosoft:mainfrom
Conversation
5ca0c8b to
5508081
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new .NET GettingStarted sample under FoundryAgents demonstrating how to configure and run Azure Foundry Agents with an OpenAPI tool (calling a public REST API via an embedded OpenAPI spec).
Changes:
- Introduces a new Step19 sample showing OpenAPI tool usage against the REST Countries API.
- Documents prerequisites, environment variables, and expected behavior for running the sample.
- Adds a dedicated project file referencing the needed Azure/Agent Framework packages.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step19_OpenAPITools/README.md | New sample documentation for OpenAPI tools usage and how to run the sample. |
| dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step19_OpenAPITools/Program.cs | Implements agent creation + OpenAPI tool configuration and executes a sample query. |
| dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step19_OpenAPITools/FoundryAgents_Step19_OpenAPITools.csproj | Adds the new sample project and package/project references. |
dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step19_OpenAPITools/Program.cs
Outdated
Show resolved
Hide resolved
dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step19_OpenAPITools/Program.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
34e728c to
aede5a4
Compare
westey-m
approved these changes
Feb 17, 2026
lokitoth
approved these changes
Feb 18, 2026
markwallace-microsoft
approved these changes
Feb 18, 2026
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.
Motivation and Context
Description
Contribution Checklist