@denisixnpm/planka-mcp 2.5.0 → 2.5.1
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/server.js +1 -1
- package/dist/tools/core/tools.js +5 -4
- package/package.json +1 -1
package/dist/server.js
CHANGED
package/dist/tools/core/tools.js
CHANGED
|
@@ -345,13 +345,14 @@ export const attachmentsTool = {
|
|
|
345
345
|
requiredFor: ["upload", "download", "rename", "delete"],
|
|
346
346
|
},
|
|
347
347
|
data: {
|
|
348
|
-
description: "Attachment data: upload = { name (
|
|
348
|
+
description: "Attachment data: upload = { name?, filePath (recommended: server reads the file, infers name + MIME from extension) | contentBase64 | text | url, mimeType? }; download = { cardId? (owning card, or set via context) }; rename = { name }",
|
|
349
349
|
requiredFor: ["upload", "rename"],
|
|
350
350
|
properties: {
|
|
351
|
-
name: { type: "string", description: "File/attachment name (e.g. report.pdf)
|
|
352
|
-
|
|
351
|
+
name: { type: "string", description: "File/attachment name (e.g. report.pdf); defaults to the filePath basename" },
|
|
352
|
+
filePath: { type: "string", description: "Local file path — the server reads it (≤ 10 MB) and auto-detects name + MIME from the extension (.png, .jpg, .webp, .gif, .svg, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .txt, .md, .csv, .json, ...)" },
|
|
353
|
+
contentBase64: { type: "string", description: "Base64-encoded file content (for inline binary)" },
|
|
353
354
|
text: { type: "string", description: "Plain-text content (alternative to contentBase64)" },
|
|
354
|
-
mimeType: { type: "string", description: "MIME type
|
|
355
|
+
mimeType: { type: "string", description: "MIME type; auto-detected from the filePath extension, application/octet-stream otherwise, text/plain for text" },
|
|
355
356
|
url: { type: "string", description: "Link attachments (Planka v2): attach an external URL instead of file content" },
|
|
356
357
|
cardId: { type: "string", description: "Owning card ID for download (or set cardId via the context tool)" },
|
|
357
358
|
},
|