add_wiki
Create and manage wiki pages in Backlog projects by specifying project ID, page name, content, and email notifications, enabling organized knowledge sharing.
Instructions
Creates a new wiki page
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content of the wiki page | |
| mailNotify | No | Whether to send notification emails (default: false) | |
| name | Yes | Name of the wiki page | |
| projectId | Yes | Project ID |
Implementation Reference
- src/tools/addWiki.ts:37-43 (handler)The handler function that executes the tool logic by calling backlog.postWiki to create a new wiki page.handler: async ({ projectId, name, content, mailNotify }) => backlog.postWiki({ projectId, name, content, mailNotify, }),
- src/tools/addWiki.ts:7-22 (schema)Input schema for the add_wiki tool, defining parameters like projectId, name, content, and optional mailNotify.const addWikiSchema = buildToolSchema((t) => ({ projectId: z.number().describe(t('TOOL_ADD_WIKI_PROJECT_ID', 'Project ID')), name: z.string().describe(t('TOOL_ADD_WIKI_NAME', 'Name of the wiki page')), content: z .string() .describe(t('TOOL_ADD_WIKI_CONTENT', 'Content of the wiki page')), mailNotify: z .boolean() .optional() .describe( t( 'TOOL_ADD_WIKI_MAIL_NOTIFY', 'Whether to send notification emails (default: false)' ) ), }));
- src/tools/tools.ts:117-117 (registration)The add_wiki tool is registered here in the wiki toolset group.addWikiTool(backlog, helper),