Skip to content

.NET: Add Foundry Agents Tool Sample - OpenAPI Tools#3702

Open
rogerbarreto wants to merge 6 commits intomicrosoft:mainfrom
rogerbarreto:feature/3674-openapi-tools
Open

.NET: Add Foundry Agents Tool Sample - OpenAPI Tools#3702
rogerbarreto wants to merge 6 commits intomicrosoft:mainfrom
rogerbarreto:feature/3674-openapi-tools

Conversation

@rogerbarreto
Copy link
Member

@rogerbarreto rogerbarreto commented Feb 5, 2026

Motivation and Context

Description

image

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

@markwallace-microsoft markwallace-microsoft added documentation Improvements or additions to documentation .NET labels Feb 5, 2026
@github-actions github-actions bot changed the title .Net: Add Foudry Agents Tool Sample - OpenAPI Tools [WIP] .NET: Add Foudry Agents Tool Sample - OpenAPI Tools [WIP] Feb 5, 2026
@rogerbarreto rogerbarreto changed the title .NET: Add Foudry Agents Tool Sample - OpenAPI Tools [WIP] .NET: Add Foundry Agents Tool Sample - OpenAPI Tools [WIP] Feb 5, 2026
@rogerbarreto rogerbarreto self-assigned this Feb 5, 2026
@rogerbarreto rogerbarreto moved this to In Progress in Agent Framework Feb 12, 2026
@rogerbarreto rogerbarreto force-pushed the feature/3674-openapi-tools branch from 5ca0c8b to 5508081 Compare February 16, 2026 11:57
@rogerbarreto rogerbarreto marked this pull request as ready for review February 16, 2026 11:58
Copilot AI review requested due to automatic review settings February 16, 2026 11:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@rogerbarreto rogerbarreto force-pushed the feature/3674-openapi-tools branch from 34e728c to aede5a4 Compare February 16, 2026 16:56
@rogerbarreto rogerbarreto changed the title .NET: Add Foundry Agents Tool Sample - OpenAPI Tools [WIP] .NET: Add Foundry Agents Tool Sample - OpenAPI Tools Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation .NET

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

4 participants

Comments