Skip to content

Scope clarification: browser-automation-agent-sample-foundry not present in repository clone - #2

Closed
mitsha-microsoft with Copilot wants to merge 2 commits into
mainfrom
copilot/update-sample-toolbox-configuration
Closed

Scope clarification: browser-automation-agent-sample-foundry not present in repository clone#2
mitsha-microsoft with Copilot wants to merge 2 commits into
mainfrom
copilot/update-sample-toolbox-configuration

Conversation

Copilot AI commented May 19, 2026

Copy link
Copy Markdown
  • Switch to users/mitsha/ActualFoundrySample and verify browser-automation-agent-sample-foundry exists.
  • Inspect current sample wiring for MCP, run_playwright_cli, and close_browser_session.
  • Run baseline validation commands available in this environment.
  • Add toolbox-name configuration and derive the Foundry toolbox MCP endpoint from project endpoint + toolbox name.
  • Change MCP wiring so browser session creation uses toolbox MCP tool create_session.
  • Keep local run_playwright_cli and local close_browser_session behavior intact.
  • Update prompts/skill/docs/config files to reference create_session and toolbox configuration.
  • Run targeted validation after edits and fix any regressions.
  • Run parallel validation (Code Review + CodeQL) and address actionable findings.
Original prompt

The sample that we made, I want to make a change now. We added the create_session tool to create a remote browser session from a remote toolbox MCP. (Toolbox gives an governed MCP endpoint from Foundry). I want you to surgically edit the sample where we can take the toolbox name in the configuration (assume that the toolbox is already deployed in the same foundry), that mcp tool will contain the create_session tool. Other than that I want to retain the close_browser_session and run_playwright_cli local tools to make the sample workable with the toolbox variant. Can you please do that? Here are reference on how toolbox can be used in hosted agent: https://github.com/microsoft-foundry/foundry-samples/tree/main/samples/python/hosted-agents/agent-framework/responses/04-foundry-toolbox and the foundry documentation on toolbox: https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/toolbox?pivots=python

Created from Copilot CLI via the copilot delegate command.

Copilot AI changed the title [WIP] Update sample to use toolbox configuration for create_session Scope clarification: browser-automation-agent-sample-foundry not present in repository clone May 19, 2026
Copilot AI requested a review from mitsha-microsoft May 19, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants