microsoft / microsoft/AgentSchema
Add tools property to ContainerAgent.yaml
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 27
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Add tools property to ContainerAgent.yaml, reusing the existing McpTool.yaml schema that PromptAgent already has.
To support the Toolbox feature in Foundry, hosted agents need tools defined that are in Foundry. Toolboxes are MCP endpoints, so we can reuse the MCPTool schema:
Example:
name: echo-agent
kind: hosted
protocols:
- protocol: responses
version: v1
tools:
- kind: mcp # McpTool.yaml
serverName: echo-github-toolbox # toolbox name
connection: # FoundryConnection.yaml
kind: foundry
endpoint: ${FOUNDRY_TOOLSET__ECHO_GITHUB_TOOLSET__ENDPOINT} # azd, vsc replaces this value in deployment
name: echo-github-toolbox
connectionType: toolbox
approvalMode: auto
allowedTools:
- search_docs
- create_issue
Also noting connectionType: toolbox as a valid value for FoundryConnection.
The tooling can use this to make sure the toolbox is created/updated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ContainerAgent.yaml and compare its structure with the existing McpTool.yaml schema used by PromptAgent. Check FoundryConnection.yaml for the connectionType values, then update the schemas so ContainerAgent tools can use MCP tools and toolbox connections. Done means the example configuration validates with connectionType: toolbox and the existing schema relationships remain valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 70/100