delete_wiki_page
Remove a wiki page from Azure DevOps by specifying its path, project, and wiki identifier to manage documentation.
Instructions
Deletes 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 to delete. |
Implementation Reference
- mcp_azure_devops/server.py:384-406 (schema)Tool schema definition including input parameters: project, wiki_identifier, path. This is part of the tools list registration.types.Tool( name="delete_wiki_page", description="Deletes 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 to delete." }, }, "required": ["project", "wiki_identifier", "path"], "additionalProperties": False } ),
- mcp_azure_devops/server.py:974-979 (handler)MCP server tool dispatch handler: calls AzureDevOpsClient.delete_wiki_page with arguments and returns success message.elif name == "delete_wiki_page": self.client.delete_wiki_page(**arguments) return { "message": f"Wiki page '{arguments['path']}' deleted successfully.", "path": arguments['path'] }
- Core implementation: invokes Azure DevOps WikiClient.delete_page API to delete the specified wiki page.def delete_wiki_page(self, project, wiki_identifier, path): return self.wiki_client.delete_page( project=project, wiki_identifier=wiki_identifier, path=path )