get_wiki_page
Retrieve Azure DevOps wiki pages by specifying project, wiki identifier, and page path to access documentation and knowledge base content.
Instructions
Gets a wiki page by its path.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | The name or ID of the project. | |
| wiki_identifier | Yes | The name or ID of the wiki. | |
| path | Yes | The path of the wiki page. |
Implementation Reference
- The core handler function that executes the tool logic by calling the Azure DevOps WikiClient to retrieve the specified wiki page including its 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:334-356 (registration)Tool registration in the MCP server, defining the name, description, and input schema for validation.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 } ),
- mcp_azure_devops/server.py:337-356 (schema)Input schema definition for the get_wiki_page tool parameters.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 } ),
- mcp_azure_devops/server.py:960-966 (handler)MCP server dispatch handler that invokes the client method and formats the response for the tool call.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, }