Skip to content

Sample consolidation and Tool tests#48317

Open
jpalvarezl wants to merge 10 commits intomainfrom
jpalvarezl/fix/sample_work_docs
Open

Sample consolidation and Tool tests#48317
jpalvarezl wants to merge 10 commits intomainfrom
jpalvarezl/fix/sample_work_docs

Conversation

@jpalvarezl
Copy link
Member

This pull request adds comprehensive support for agent tool samples in the Azure AI Agents SDK, aligning Java sample coverage with the Python SDK and introducing new end-to-end documentation and test coverage. It includes new async sample files, renames existing samples for clarity, and updates documentation to reflect these changes and pending link updates.

New and updated samples for agent tools:

  • Added new async sample files for agent tools, including AgentToAgentAsync.java and AzureAISearchAsync.java, demonstrating how to use these tools with the async client. [1] [2]
  • Renamed existing sync sample files for agent tools for consistency, e.g., AgentToAgentSample.javaAgentToAgentSync.java and AzureAISearchSample.javaAzureAISearchSync.java. [1] [2]

Documentation improvements:

  • Expanded the README.md with detailed sections for both built-in and connection-based tools, including code snippets and sample links for each tool.
  • Added UPDATE_README_LINKS.md to track pending sample link updates, reflecting file renames and new samples that will be added after merging.

SDK and test enhancements:

  • Added a convenience method readSpecFromFile(Path) to OpenApiFunctionDefinition for easier OpenAPI integration, and provided new OpenAPI sample and tool samples for parity with Python SDK. Also added recorded end-to-end tests for OpenAPI tool flows.

Miscellaneous:

  • Updated asset tag in assets.json to reflect new sample and tool additions.

- CHANGELOG: Added entries for readSpecFromFile, OpenApiSample, and OpenAPIToolTests
- README: Added full tool catalog (15 tools) aligned with Python SDK README structure
- All sample links use absolute GitHub URLs for CI link verification
- Added MISSING_SAMPLES.md tracking Java vs Python sample parity gaps
Base automatically changed from jpalvarezl/fix/sample_work to main March 7, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant