Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot the copilot agentic engine requires ' "tools": ["*"],' in the mcp server configurations. |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Added Copilot output: "web-fetch": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/fetch"],
"tools": ["*"]
}Other engines (Claude, Codex, Custom) don't include this field as they don't require it. |
|
@copilot update the tool allow list for web-fetch to use any tools in the copilot engine. --allow-tool web-fetch See error in https://github.com/githubnext/gh-aw/actions/runs/18182698880/job/51761513740 |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Added Change: Removed Copilot command output: copilot ... --allow-tool safe_outputs --allow-tool web-fetch --prompt "$INSTRUCTION"Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Add SupportsWebFetch property to agentic engines
✅ Completed tasks:
SupportsWebFetch()method toCodingAgentEngineinterface inagentic_engine.gosupportsWebFetchfield toBaseEnginestructSupportsWebFetch()method inBaseEnginesupportsWebFetchto appropriate values for each engine (Claude=true, Codex/Copilot/Custom=false)pkg/workflow/fetch.gowith shared code to add web-fetch MCP serverSupportsWebFetch()and add MCP fetch server when neededImplementation details:
supportsWebFetch=true) - uses nativeWebFetchtoolsupportsWebFetch=false)web-fetchtool is requested and engine doesn't support it, the compiler automatically addsweb-fetchMCP serverfetch.gosupports both JSON (Claude, Custom, Copilot) and TOML (Codex) formatsmcp/fetchDocker image from Docker Hub"tools": ["*"]field as required by Copilot CLI--allow-tool web-fetchpermission when web-fetch MCP server is configuredVerification:
"tools": ["*"]field and--allow-tool web-fetchpermissionmake fmtOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.