Wiki

July 4, 2026 ยท View on GitHub

Project and group wiki page CRUD. Attachment uploads where supported.

!!! note "Feature toggle" Opt-in. Enable via GITLAB_TOOLSETS=wiki (or GITLAB_TOOLSETS=all), or use the legacy USE_GITLAB_WIKI=true flag for backward compatibility.

Tools in this group


list_wiki_pages

๐Ÿ“– Read-only

List wiki pages in a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
with_contentbooleanInclude content of the wiki pages
render_htmlbooleanReturn rendered HTML content and include front_matter (e.g., the custom title)
pagenumberPage number for pagination (default: 1)
per_pagenumberNumber of items per page (max: 100, default: 20)

get_wiki_page

๐Ÿ“– Read-only

Get details of a specific wiki page

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
slugstringโœ“Slug of the wiki page (will be URL-encoded internally)
render_htmlbooleanReturn rendered HTML content and include front_matter (e.g., the custom title)

create_wiki_page

โœ๏ธ Writes

Create a wiki page in a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
titlestringโœ“Title of the wiki page
contentstringโœ“Content of the wiki page
formatstringContent format, e.g., markdown, rdoc

update_wiki_page

โœ๏ธ Writes

Update a wiki page in a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
slugstringโœ“Slug of the wiki page (will be URL-encoded internally)
titlestringNew title of the wiki page. WARNING: setting this renames the page and changes its slug/URL (for nested pages it can also move the page to a different path), which breaks existing links. To change only the displayed title while keeping the URL, omit this parameter and instead set a title: field in the content's YAML front matter.
contentstringNew content of the wiki page
formatstringContent format, e.g., markdown, rdoc

delete_wiki_page

โœ๏ธ Writes

Delete a wiki page from a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
slugstringโœ“Slug of the wiki page (will be URL-encoded internally)

list_group_wiki_pages

๐Ÿ“– Read-only

List wiki pages in a group

Parameters

ParameterTypeRequiredDescription
group_idstringโœ“Group ID or URL-encoded path
with_contentbooleanInclude content of the wiki pages
render_htmlbooleanReturn rendered HTML content and include front_matter (e.g., the custom title)
pagenumberPage number for pagination (default: 1)
per_pagenumberNumber of items per page (max: 100, default: 20)

get_group_wiki_page

๐Ÿ“– Read-only

Get details of a specific group wiki page

Parameters

ParameterTypeRequiredDescription
group_idstringโœ“Group ID or URL-encoded path
slugstringโœ“Slug of the wiki page (will be URL-encoded internally)
render_htmlbooleanReturn rendered HTML content and include front_matter (e.g., the custom title)

create_group_wiki_page

โœ๏ธ Writes

Create a wiki page in a group

Parameters

ParameterTypeRequiredDescription
group_idstringโœ“Group ID or URL-encoded path
titlestringโœ“Title of the wiki page
contentstringโœ“Content of the wiki page
formatstringContent format, e.g., markdown, rdoc

update_group_wiki_page

โœ๏ธ Writes

Update a wiki page in a group

Parameters

ParameterTypeRequiredDescription
group_idstringโœ“Group ID or URL-encoded path
slugstringโœ“Slug of the wiki page (will be URL-encoded internally)
titlestringNew title of the wiki page. WARNING: setting this renames the page and changes its slug/URL (for nested pages it can also move the page to a different path), which breaks existing links. To change only the displayed title while keeping the URL, omit this parameter and instead set a title: field in the content's YAML front matter.
contentstringNew content of the wiki page
formatstringContent format, e.g., markdown, rdoc

delete_group_wiki_page

โœ๏ธ Writes

Delete a wiki page from a group

Parameters

ParameterTypeRequiredDescription
group_idstringโœ“Group ID or URL-encoded path
slugstringโœ“Slug of the wiki page (will be URL-encoded internally)