automd-mcp 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40559,15 +40559,16 @@ function registerTools(server2) {
|
|
|
40559
40559
|
});
|
|
40560
40560
|
server2.registerTool("create_board", {
|
|
40561
40561
|
title: "Create Board",
|
|
40562
|
-
description: "Create a new board
|
|
40562
|
+
description: "Create a new board, checklist, or note. Boards use # (H1) for columns and ## (H2) for tasks. Checklists use ## (H2) with [ ]/[x] prefixes. Notes are free-form markdown. All support YAML frontmatter, plain paragraphs (description), blockquotes (>) for acceptance criteria, and GFM checkboxes for subtasks.",
|
|
40563
40563
|
inputSchema: {
|
|
40564
|
-
name: external_exports.string().describe("Name for the new board"),
|
|
40564
|
+
name: external_exports.string().describe("Name for the new board/checklist/note"),
|
|
40565
|
+
itemType: external_exports.enum(["board", "checklist", "note"]).optional().describe("Type of item to create: board (kanban columns), checklist (task list with checkboxes), or note (free-form markdown). Defaults to board"),
|
|
40565
40566
|
markdown: external_exports.string().optional().describe("Initial markdown content. Start with YAML frontmatter (board:, description:). Use # for columns, ## for tasks. Paragraphs = description, blockquotes (>) = acceptance criteria, checkboxes = subtasks"),
|
|
40566
|
-
projectId: external_exports.string().optional().describe("Project ID to add the
|
|
40567
|
+
projectId: external_exports.string().optional().describe("Project ID to add the item to (optional)")
|
|
40567
40568
|
}
|
|
40568
|
-
}, async ({ name, markdown, projectId }) => {
|
|
40569
|
+
}, async ({ name, itemType, markdown, projectId }) => {
|
|
40569
40570
|
try {
|
|
40570
|
-
const board = await api.createFile(name, markdown, projectId);
|
|
40571
|
+
const board = await api.createFile(name, markdown, projectId, itemType);
|
|
40571
40572
|
return json2(board);
|
|
40572
40573
|
} catch (err) {
|
|
40573
40574
|
return errorResponse(err);
|