Get wiki page
get_wiki_pageIdentify a wiki page's title and project from its numeric ID, without exposing content. Use it to verify a URL's target before fetching attachments.
Instructions
Read a wiki page's identity and project — NOT its content.
Two limits define this tool, and both must be passed on to the user rather than worked
around. First, wiki_page_id comes from a wiki page URL the user supplies: API v3 has no
wiki index and no wiki search, so there is no way to look a page up by title or to list a
project's pages. Second, the page's CONTENT is not exposed by the API at all — the
response carries only {id, title, project} plus the page's attachments, and notes
repeats that in-band.
So: use it to confirm which page a URL points at, to get the project a page belongs to, and as the step before fetching its files. To read the text, ask the user to paste it or open the page in the browser.
Pitfalls. A 404 means the id is wrong, the page was deleted, or the wiki is disabled in that project — it does not mean the wiki is empty. Sub-pages, revisions, page history and wiki-page↔work-package links are not exposed either. Creating or editing wiki pages is not supported by this server.
Cross-references: list_attachments(container_type='wiki_page', container_id=<id>) lists
the files on the page and download_attachment fetches one; get_project_metadata for
what the project does expose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wiki_page_id | Yes | Numeric wiki page id. There is no wiki index or search in API v3, so this id can only come from a page URL the user gives you — the number in /projects/<project>/wiki/<id> or in the page's 'Info' view. Never guess it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Wiki page id. | |
| notes | No | Always carries the marker that page content is not part of API v3. | |
| title | No | Page title as shown in the wiki menu. | |
| project | No | Project that owns the wiki. |