Add Foundry A2A tool schema fixer and code-first agent creator#19
Draft
Codex wants to merge 3 commits into
Draft
Add Foundry A2A tool schema fixer and code-first agent creator#19Codex wants to merge 3 commits into
Codex wants to merge 3 commits into
Conversation
…amic agent grabbing
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.
Description
Portal-created Foundry agents were emitting duplicate A2A tool names (“remote protocol”), breaking multi-server clients; add helpers to inspect/rename schemas and create agents in code with pre-unique tool names.
Type of Change
Related Issues
Changes Made
foundry_agent_tools.pyCLI to show tool schemas, rename portal-created tools (with dry-run/version support), and create prompt agents with pre-named A2A tools.foundry-integration.md; added unit tests covering the new schema utilities.Testing
Checklist
Screenshots (if applicable)
Additional Context
The new CLI workflows resolve the portal “duplicate tool argument name” issue by republishing agents with unique tool names or by creating agents entirely in code:
Original prompt