Skip to content

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

Merged
rogerbarreto merged 7 commits into
microsoft:mainfrom
rogerbarreto:feature/3674-openapi-tools
Feb 19, 2026
Merged

.NET: Add Foundry Agents Tool Sample - OpenAPI Tools#3702
rogerbarreto merged 7 commits into
microsoft:mainfrom
rogerbarreto:feature/3674-openapi-tools

Conversation

@rogerbarreto

@rogerbarreto rogerbarreto commented Feb 5, 2026

Copy link
Copy Markdown
Member

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 Usage: [Issues, PRs], Target: documentation in the code base and learn docs .NET Usage: [Issues, PRs], Target: .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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 and others added 5 commits February 16, 2026 16:54
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@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 Usage: [Issues, PRs], Target: documentation in the code base and learn docs .NET Usage: [Issues, PRs], Target: .Net

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants