Skip to content

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.

ActionDescriptionRequired ParamsOptional ParamsWrite
listList all wikis in a projectproject_keyNo
list_pagesList all pages in a wikiproject_key, wiki_idNo
get_pageGet a wiki page with contentproject_key, wiki_id, page_pathNo
create_pageCreate a new wiki pageproject_key, wiki_id, page_path, contentYes
update_pageUpdate an existing wiki pageproject_key, wiki_id, page_path, contentversionYes
delete_pageDelete a wiki pageproject_key, wiki_id, page_pathYes
ParameterTypeDescription
actionstringRequired. The action to perform
project_keystringRequired. Project name
wiki_idstringWiki name or ID (required for page operations)
page_pathstringWiki page path, e.g. /Home or /Design/Architecture (required for page operations)
contentstringPage content in Markdown (for create_page, update_page)
versionintegerPage version for optimistic concurrency (for update_page)
{
"action": "list",
"project_key": "MyProject"
}
{
"action": "get_page",
"project_key": "MyProject",
"wiki_id": "Project Wiki",
"page_path": "/Architecture/Backend"
}
{
"action": "create_page",
"project_key": "MyProject",
"wiki_id": "Project Wiki",
"page_path": "/Architecture/NewService",
"content": "# New Service\n\nArchitecture documentation for the new service."
}
{
"action": "update_page",
"project_key": "MyProject",
"wiki_id": "Project Wiki",
"page_path": "/Architecture/Backend",
"content": "# Backend Architecture\n\nUpdated documentation.",
"version": 3
}
{
"action": "delete_page",
"project_key": "MyProject",
"wiki_id": "Project Wiki",
"page_path": "/Architecture/Deprecated"
}