Create a saved search
search_saved_createCreate a saved search (virtual folder) that filters messages across selected folders based on specified terms. It stores the query only, no messages moved.
Instructions
Create a saved search that appears in the folder pane.
search_folder_ids are folders to look in (from folder_list). Each term is
{"attribute": "subject", "operator": "contains", "value": "invoice"};
attributes and operators are listed in the error message if you get one
wrong. match_all=false makes the terms OR together. online_search asks
the IMAP server to run the search instead of using the local database.
Nothing is copied or moved — a saved search is a stored query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| terms | Yes | ||
| confirm | No | ||
| match_all | No | ||
| dry_run_only | No | ||
| online_search | No | ||
| parent_folder_id | No | ||
| search_folder_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||