Files
stalwart_mcp/stalwart_search_emails.json

22 lines
678 B
JSON

{
"name": "stalwart_search_emails",
"description": "Search for emails in a specific mailbox or across all mailboxes.",
"parameters": {
"type": "object",
"properties": {
"mailboxId": {
"type": "string",
"description": "Optional mailbox ID to filter the search."
},
"query": {
"type": "string",
"description": "Search query (e.g., 'from:someone', 'subject:hello')."
},
"limit": {
"type": "number",
"description": "Maximum number of emails to return (default 10)."
}
}
}
}