create_wiki_page
Create a new wiki page in a Gitea repository using Markdown content. Check whether the title already exists, because this command errors on duplicates; use the update function for existing pages.
Instructions
Create a wiki page. title is required ('Home' is the wiki landing page; '_Sidebar' / '_Footer' are the layout pages). content is plain Markdown — base64 encoding is handled for you. message is an optional commit message. RISK: fails if a page with that title already exists — call list_wiki_pages or get_wiki_page first and use update_wiki_page for existing pages. Returns the created page with decoded content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| title | Yes | Wiki page title (e.g. 'Getting-Started'; use 'Home' for the landing page, '_Sidebar' / '_Footer' for layout pages) | |
| content | Yes | Page content in Markdown (plain text — base64 encoding is handled for you) | |
| message | No | Optional commit message summarizing the change |