create_wiki_page
Create new wiki pages in Azure DevOps projects to document processes, share knowledge, and maintain team documentation with specified content and structure.
Instructions
Creates a new wiki page with specified content.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The content of the wiki page. | |
| 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
- mcp_azure_devops/server.py:307-333 (schema)Input schema and tool definition for the 'create_wiki_page' tool, which is used for registration via the list_tools handler.types.Tool( name="create_wiki_page", description="Creates a new wiki page with specified content.", 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." }, "content": { "type": "string", "description": "The content of the wiki page." }, }, "required": ["project", "wiki_identifier", "path", "content"], "additionalProperties": False } ),
- mcp_azure_devops/server.py:953-959 (handler)MCP server handler in _execute_tool that processes the tool call by invoking the client's create_wiki_page method and formatting the response.elif name == "create_wiki_page": page = self.client.create_wiki_page(**arguments) return { "path": page.page.path, "url": page.page.url, "content": page.page.content, }
- Core implementation of create_wiki_page in AzureDevOpsClient, which calls the Azure DevOps WikiClient to create or update the wiki page.def create_wiki_page(self, project, wiki_identifier, path, content): parameters = { "content": content } return self.wiki_client.create_or_update_page( project=project, wiki_identifier=wiki_identifier, path=path, parameters=parameters, version=None )