get_wiki_page
Retrieve Azure DevOps wiki page content by specifying the project, wiki identifier, and page path to access documentation and knowledge base articles.
Instructions
Gets a wiki page by its path.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path of the wiki page. | |
| project | Yes | The name or ID of the project. | |
| wiki_identifier | Yes | The name or ID of the wiki. |
Implementation Reference
- Core handler function that executes the tool logic by calling Azure DevOps WikiClient.get_page to retrieve the wiki page with content.def get_wiki_page(self, project, wiki_identifier, path): return self.wiki_client.get_page( project=project, wiki_identifier=wiki_identifier, path=path, include_content=True )
- mcp_azure_devops/server.py:960-966 (handler)MCP server dispatch handler for the get_wiki_page tool, invokes the client method and formats the response as JSON.elif name == "get_wiki_page": page = self.client.get_wiki_page(**arguments) return { "path": page.page.path, "url": page.page.url, "content": page.page.content, }
- mcp_azure_devops/server.py:334-356 (schema)Defines the tool schema with input parameters (project, wiki_identifier, path) and description for registration in MCP server.types.Tool( name="get_wiki_page", description="Gets a wiki page by its path.", inputSchema={ "type": "object", "properties": { "project": { "type": "string", "description": "The name or ID of the project." }, "wiki_identifier": { "type": "string", "description": "The name or ID of the wiki." }, "path": { "type": "string", "description": "The path of the wiki page." }, }, "required": ["project", "wiki_identifier", "path"], "additionalProperties": False } ),