This commit is contained in:
2026-07-10 16:56:16 +03:00
parent 979e974521
commit afa2bf5126
6 changed files with 18 additions and 9 deletions
+4 -2
View File
@@ -16,7 +16,8 @@ export function registerEmailTools(server: McpServer): void {
+ " Supports optional text search via query/queryScope.",
inputSchema: z.object({
folder: z.string().default("Inbox").describe(
"Folder name (Inbox, Sent, Drafts, Deleted, Junk, or custom). Supports Russian folder names",
"Folder name (Inbox, Sent, Drafts, Deleted, Junk, or custom)."
+ " Supports Russian folder names",
),
limit: z.number().default(10).describe(
"Maximum number of emails to return",
@@ -297,7 +298,8 @@ export function registerEmailTools(server: McpServer): void {
"download_attachments",
{
description: "Download all file attachments from an email to disk."
+ " Inline (embedded) attachments are skipped — only standalone file attachments are downloaded.",
+ " Inline (embedded) attachments are skipped —"
+ " only standalone file attachments are downloaded.",
inputSchema: z.object({
itemId: z.string().describe("The Exchange ItemId of the email"),
targetFolder: z.string().default("/tmp/attachments").describe(