Skip to main content
Glama

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
NameRequiredDescriptionDefault
projectYesThe name or ID of the project.
wiki_identifierYesThe name or ID of the wiki.
pathYesThe path of the wiki page to delete.

Implementation Reference

  • 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 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
        )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xrmghost/mcp-azure-devops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server