Overview
Before using this tool group, save an Azure DevOps connection as described in
Azure DevOps. If
connection_id is omitted, the
tools use the effective default azure_devops connection for the current
user (My default, then Role default). Actions that need a project use the
explicit project parameter first and otherwise fall back to the connection’s
saved default project. When multiple role defaults conflict, pass
connection_id explicitly or set a user default. See
Default connection layers.Tool Name
Purpose
The azure_devops_wiki_tools group integrates Genesis with Azure DevOps Wikis. Search wiki content, list wikis and pages, read page bodies with author and timestamp enrichment, create or update pages, browse the page tree or flat page batches, retrieve git-backed revision history, download attachments into the thread, and inspect page metadata with backing-repository and work-item links. Supports both project wikis and git-backed code wikis.Key Features
Discover wikis and pages
List wikis in a project, browse the page hierarchy, or enumerate large wikis
with paginated flat listings.
Search wiki content
Run full-text search across wiki pages and read highlighted match fragments.
Read pages and history
Fetch page content with created/modified metadata from git history, or list
revision commits for a page path.
Attachments and cross-links
Download wiki attachments into the thread and resolve work-item and
repository links for a page.
Create and update pages
Publish new wiki pages or replace an existing page body after reading its
current version (ETag).
Input Parameters for Each Function
ado_list_wikis
ado_search_wiki
ado_get_wiki_page
ado_get_wiki_page_revisions
ado_get_wiki_page_tree
ado_list_wiki_pages
ado_download_wiki_attachment
ado_get_wiki_page_metadata
ado_create_or_update_wiki_page
Example Usage
Output
ado_list_wikisreturnswikis(id, name, type —projectWikiorcodeWiki—repositoryId,mappedPath) andcount.ado_search_wikireturnscountandresultswithpath,wiki,project,file_name,content_id, andhits(highlighted fragments).ado_get_wiki_pagereturnspage(markdown/HTML content preserved as stored),wiki,version(page ETag),created_by/created_dateandlast_modified_by/last_modified_datefrom git history,content_size_bytes, andcontent_omitted. Pages larger than 5 MB omit inlinecontentand returndownload_urlandweb_urlinstead. Ahistory_errormay appear when git history enrichment fails without failing the read.ado_get_wiki_page_revisionsreturnsrevisions(newest first:commit_id,author,committer,message,url),count,page_path, andgit_item_path.ado_get_wiki_page_treereturnstree(nested nodes withpath,is_parent_page,sub_pages, andgit_item_path/idwhen present) andpage_count. No page content is included.ado_list_wiki_pagesreturnspages(id and path per page),count, andcontinuation_tokenfor the next batch (nullwhen exhausted).ado_download_wiki_attachmentsaves the file to the thread and returnsfile_path,relative_path,file_id,file_name,size, andattachment_path.ado_get_wiki_page_metadatareturnspage(metadata only),version,wiki,repository(backing git repo),work_items(linked ids and URLs), andlinks(WorkItem/Repositoryentries).work_items_errororrepository_errormay appear when that lookup fails while the rest succeeds.ado_create_or_update_wiki_pagereturnssuccess,created(truewhen a new page was created,falsewhen an existing page was updated),page,version(the new ETag — pass it to the next update), andweb_url. On failure,successisfalsewitherror; HTTP failures may also includestatus_code(412means the supplied version was stale or missing — re-read the page and retry;401or403usually means the PAT lacks Wiki (Read & Write) or the caller lacks contribute permission on the wiki project).
Configuration Details
- Wiki reads need Wiki (Read) and Code (Read) PAT scopes. Page writes additionally need Wiki (Read & Write). Deleting pages and uploading attachments are not supported.
- Calls that resolve a project require either an explicit
projectparameter or a defaultprojecton the saved connection. - See Azure DevOps for the full PAT scope list.
- Azure DevOps Services wiki full-text search is served from
almsearch.dev.azure.com, so outbound allowlists must include that host.
Limitations or Notes
- Use
ado_list_wikisfirst when the wiki name is unknown — every other tool takeswikias name or id from that listing. ado_get_wiki_page_treeis best for wikis with roughly up to 1,000 pages. For larger wikis, preferado_list_wiki_pagesand page in withcontinuation_token.- Wiki search can lag recent edits. If
ado_search_wikireturns no matches, browse withado_get_wiki_page_treeor list pages withado_list_wiki_pages. ado_download_wiki_attachmentonly fetches files under the wiki’s.attachmentsfolder (up to 100 MB per file). Pass the name from page markdown or the full/.attachments/...path.ado_get_wiki_pageaccepts eitherpathorpage_id. A 404 means the path does not exist in that wiki — confirm the path withado_get_wiki_page_tree.- To update a page with
ado_create_or_update_wiki_page, read it first withado_get_wiki_pageand pass the returnedversion. Omitversiononly when creating a new page.contentreplaces the entire page body; it is not appended. - Page deletion and attachment upload are not supported in this tool group.
- For Confluence documentation use the Confluence connector; for Genesis’s internal wiki use the wiki knowledge tools.

