Skip to content

wiki_get_page_content tool fails after successful wiki search #818

@rahulnk-premier

Description

@rahulnk-premier

Description

I have connected Azure DevOps MCP to GitHub Copilot in VS Code.
When I ask the agent to retrieve documentation from an Azure DevOps Wiki, the following behavior is observed:

  1. The agent successfully uses the search_wiki tool to locate the correct wiki page.
  2. Immediately after identifying the correct result, the agent invokes the wiki_get_page_content tool.
  3. The request fails with a WikiPageNotFoundException, even though the page exists and was returned by the search.

Error Output

{
  "$id": "1",
  "innerException": null,
  "message": "Wiki page '/RemitraEngineering/Release-Branching-remitra-config-for-PROD-deployment' could not be found. Ensure that the path of the page is correct and the page exists.",
  "typeName": "Microsoft.TeamFoundation.Wiki.Server.WikiPageNotFoundException",
  "typeKey": "WikiPageNotFoundException",
  "errorCode": 0,
  "eventId": 3000
}

Expected Behaviour

After successfully identifying a wiki page via search_wiki, the wiki_get_page_content tool should retrieve the page content without failing due to path or existence issues.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions