w
This commit is contained in:
+4
-2
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user