manage_wiki
Manage Azure DevOps wiki pages. Wikis in Azure DevOps are markdown-native. Supports listing wikis, reading pages, creating new pages, updating content, and deleting pages.
Actions
Section titled “Actions”| Action | Description | Required Params | Optional Params | Write |
|---|---|---|---|---|
list | List all wikis in a project | project_key | No | |
list_pages | List all pages in a wiki | project_key, wiki_id | No | |
get_page | Get a wiki page with content | project_key, wiki_id, page_path | No | |
create_page | Create a new wiki page | project_key, wiki_id, page_path, content | Yes | |
update_page | Update an existing wiki page | project_key, wiki_id, page_path, content | version | Yes |
delete_page | Delete a wiki page | project_key, wiki_id, page_path | Yes |
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
action | string | Required. The action to perform |
project_key | string | Required. Project name |
wiki_id | string | Wiki name or ID (required for page operations) |
page_path | string | Wiki page path, e.g. /Home or /Design/Architecture (required for page operations) |
content | string | Page content in Markdown (for create_page, update_page) |
version | integer | Page version for optimistic concurrency (for update_page) |
Examples
Section titled “Examples”List wikis
Section titled “List wikis”{ "action": "list", "project_key": "MyProject"}Get a wiki page
Section titled “Get a wiki page”{ "action": "get_page", "project_key": "MyProject", "wiki_id": "Project Wiki", "page_path": "/Architecture/Backend"}Create a new page
Section titled “Create a new page”{ "action": "create_page", "project_key": "MyProject", "wiki_id": "Project Wiki", "page_path": "/Architecture/NewService", "content": "# New Service\n\nArchitecture documentation for the new service."}Update a page
Section titled “Update a page”{ "action": "update_page", "project_key": "MyProject", "wiki_id": "Project Wiki", "page_path": "/Architecture/Backend", "content": "# Backend Architecture\n\nUpdated documentation.", "version": 3}Delete a page
Section titled “Delete a page”{ "action": "delete_page", "project_key": "MyProject", "wiki_id": "Project Wiki", "page_path": "/Architecture/Deprecated"}