Skip to main content
Glama

create_wiki_pages_batch

Create multiple wiki pages simultaneously in Azure DevOps to manage bulk documentation updates efficiently.

Instructions

Create multiple wiki pages at once for bulk operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesThe name or ID of the project.
wiki_identifierYesThe name or ID of the wiki.
pages_dataYesArray of page objects to create.

Implementation Reference

  • The main handler function that implements the batch wiki page creation by iterating through pages_data and calling create_wiki_page for each, returning a list of results with success/error status.
    def create_wiki_pages_batch(self, project, wiki_identifier, pages_data): """ Create multiple wiki pages at once. pages_data: list of {"path": str, "content": str} """ results = [] for page_data in pages_data: try: result = self.create_wiki_page( project=project, wiki_identifier=wiki_identifier, path=page_data["path"], content=page_data["content"] ) results.append({ "path": page_data["path"], "status": "success", "result": result }) except Exception as e: results.append({ "path": page_data["path"], "status": "error", "error": str(e) }) return results
  • The input schema definition for the create_wiki_pages_batch tool, specifying parameters project, wiki_identifier, and pages_data as an array of path/content objects.
    types.Tool( name="create_wiki_pages_batch", description="Create multiple wiki pages at once for bulk operations.", 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." }, "pages_data": { "type": "array", "description": "Array of page objects to create.", "items": { "type": "object", "properties": { "path": { "type": "string", "description": "The path of the wiki page to create." }, "content": { "type": "string", "description": "The content of the wiki page." } }, "required": ["path", "content"] } }, }, "required": ["project", "wiki_identifier", "pages_data"], "additionalProperties": False } ),
  • The dispatch/registration point in the _execute_tool method where the tool call is routed to the client handler.
    elif name == "create_wiki_pages_batch": return self.client.create_wiki_pages_batch(**arguments)

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