@smartytalent/mcp-tools 0.1.33-dev.5 → 0.1.33-dev.7
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/tools.json +27 -1
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -6729,6 +6729,32 @@
|
|
|
6729
6729
|
"type": "string",
|
|
6730
6730
|
"description": "Return only emails belonging to this conversation. Resolved via the ConversationIdIndex GSI (top-level denormalisation of relationships.conversations[0].data.id). Pass the full conversation id (e.g. `980434e7...-2`)."
|
|
6731
6731
|
},
|
|
6732
|
+
"filterDirection": {
|
|
6733
|
+
"type": "string",
|
|
6734
|
+
"description": "Return only emails with this direction. `inbound` = received from an external sender (Inbox), `outbound` = composed by the tenant (Sent). Resolved via the DirectionIndex GSI. Mutually exclusive with `filterStatus` and `filterConversationId` at the pagination layer.",
|
|
6735
|
+
"enum": [
|
|
6736
|
+
"inbound",
|
|
6737
|
+
"outbound"
|
|
6738
|
+
]
|
|
6739
|
+
},
|
|
6740
|
+
"filterIds": {
|
|
6741
|
+
"type": "string",
|
|
6742
|
+
"description": "Batch-fetch emails by id. Pass a comma-separated list (e.g. `abc-1,def-2,ghi-3`). Resolves each id's shard from its suffix and issues a BatchGetItem. Used by the inbox UI to hydrate emails referenced by state rows (folder=unseen / starred / spam) without N showEmail calls. Cap: 500 ids per request; beyond that, page the state list and batch again. Bypasses pagination - the returned `data` is the full batch result with no `nextPage` cursor."
|
|
6743
|
+
},
|
|
6744
|
+
"filterIsSystemSpam": {
|
|
6745
|
+
"type": "boolean",
|
|
6746
|
+
"description": "Return only emails the system (broker / classifier) flagged as spam. Used by the Spam folder's `isSystemSpam=true` leg - the other leg comes from `/v1/states?folder=spam`. Backed by a filter-expression scan across shards for v1; promote to a sparse `SystemSpamIndex` if load warrants. Mutually exclusive with the other index-backed filters at the pagination layer."
|
|
6747
|
+
},
|
|
6748
|
+
"sort": {
|
|
6749
|
+
"type": "string",
|
|
6750
|
+
"description": "Order results by a time field. Leading `-` means descending\n(newest-first). Accepted values:\n `-created` newest-first by creation time (CreatedIndex)\n `created` oldest-first by creation time\n `-modified` most-recently-modified first (ModifiedIndex)\n `modified` least-recently-modified first\nTakes effect only when no equality filter (filterStatus,\nfilterConversationId, filterDirection) dictates a different\nindex; equality filters win. Compatible with date-range filters\n(filterCreatedFrom/To, filterModifiedFrom/To) which already use\nthe same indexes; sort just picks the direction.",
|
|
6751
|
+
"enum": [
|
|
6752
|
+
"-created",
|
|
6753
|
+
"created",
|
|
6754
|
+
"-modified",
|
|
6755
|
+
"modified"
|
|
6756
|
+
]
|
|
6757
|
+
},
|
|
6732
6758
|
"filterCreatedFrom": {
|
|
6733
6759
|
"type": "string",
|
|
6734
6760
|
"description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
|
|
@@ -12120,7 +12146,7 @@
|
|
|
12120
12146
|
},
|
|
12121
12147
|
"folder": {
|
|
12122
12148
|
"type": "string",
|
|
12123
|
-
"description": "Folder-style filter.
|
|
12149
|
+
"description": "Folder-style filter. Tagged-union: the fixed folders are an enum,\nand the label folder is a `label:<labelId>` template. Orthogonal\nto filterResourceType and filterResourceIds which scope within\nthe folder.\n\nFixed folders:\n `all` - default, no folder filter\n `unseen` - only unread rows (sparse UnseenIndex)\n `starred` - only starred rows (sparse StarredIndex)\n `spam` - only user-spam-marked rows (sparse SpamIndex)\n\nLabel folder:\n `label:<labelId>` - rows whose `flags.labels` contains labelId\n\nTypeScript callers should narrow this to\n`'all' | 'unseen' | 'starred' | 'spam' | \\`label:${string}\\``\nin their client wrapper; OpenAPI cannot express template-literal\nunions natively."
|
|
12124
12150
|
},
|
|
12125
12151
|
"pageSize": {
|
|
12126
12152
|
"type": "integer",
|