Skip to content

[BUG] Tool or toolset has been renamed in agent.md tools front matter #2465

Description

@o-hook

Describe the bug
After installing an APM package with a *.agents.md file with --target copilot option, there is a warning (underline in the file): E.g.: "Tool or toolset 'XYZ' has been renamed, use 'vscode/XYZ' instead.".

This occurs for the following "tools" specified in the front matter of an agent.md file:

  • askQuestions (--> vscode/askQuestions)
  • runInTerminal (--> execute/runInTerminal)
  • getTerminalOutput (--> execute/getTerminalOutput)
  • createFile (--> edit/createFile)
  • fetch (--> web/fetch)
  • listDirectory (--> search/listDirectory)

To Reproduce
Steps to reproduce the behavior:

  1. Run command 'apm install repo/apm-package'
  2. With parameters ' --target copilot'
  3. Open *.agents.md in VSCODE
  4. See error

Expected behavior
Paths/references to tools are correct in VSCODE

Environment (please complete the following information):

  • OS: macOS
  • Python Version: 3.14.5
  • APM Version: 0.27.0
  • VSCode Version: 1.121.0

Logs
Image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/distributionInstallers (curl/PowerShell/Brew/Scoop), self-update, devcontainer, codespaces.priority/lowAccepted but not time-sensitivestatus/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.type/bugSomething does not work as documented.

    Type

    No type

    Projects

    Status
    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions