get_wiki
Retrieve detailed information about a specific wiki page by providing its unique ID, enabling efficient access to Backlog project documentation via the integrated MCP server.
Instructions
Returns information about a specific wiki page
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wikiId | Yes | Wiki ID |
Implementation Reference
- src/tools/getWiki.ts:29-33 (handler)The handler function that executes the core logic of the 'get_wiki' tool by fetching the wiki page from Backlog using the provided wikiId, converting it to number if necessary.handler: async ({ wikiId }) => { const wikiIdNumber = typeof wikiId === 'string' ? parseInt(wikiId, 10) : wikiId; return backlog.getWiki(wikiIdNumber); },
- src/tools/getWiki.ts:7-11 (schema)Input schema definition for the 'get_wiki' tool using Zod, specifying the wikiId parameter as string or number.const getWikiSchema = buildToolSchema((t) => ({ wikiId: z .union([z.string(), z.number()]) .describe(t('TOOL_GET_WIKI_ID', 'Wiki ID')), }));
- src/tools/tools.ts:110-119 (registration)Registration of the 'get_wiki' tool within the 'wiki' toolset group in the allTools export.name: 'wiki', description: 'Tools for managing wiki pages.', enabled: false, tools: [ getWikiPagesTool(backlog, helper), getWikisCountTool(backlog, helper), getWikiTool(backlog, helper), addWikiTool(backlog, helper), ], },
- src/tools/getWiki.ts:27-27 (schema)Output schema reference for the 'get_wiki' tool, using the imported WikiSchema for validation.outputSchema: WikiSchema,
- src/tools/tools.ts:36-36 (registration)Import statement for the getWikiTool used in registration.import { getWikiTool } from './getWiki.js';