neoagent 2.4.4-beta.6 → 2.4.4-beta.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.
@@ -28,7 +28,7 @@ const gmailToolDefinitions = [
28
28
  properties: {
29
29
  query: {
30
30
  type: 'string',
31
- description: 'Gmail search query, e.g. "is:unread newer_than:7d".',
31
+ description: 'Gmail search query using standard Gmail search syntax. All operators are optional — pass an empty string to search all mail. Examples: "is:unread", "from:someone@example.com", "subject:invoice", "is:read newer_than:30d", "label:work", "has:attachment".',
32
32
  },
33
33
  max_results: {
34
34
  type: 'number',
@@ -41,11 +41,11 @@ const gmailToolDefinitions = [
41
41
  {
42
42
  name: 'google_workspace_gmail_get_thread',
43
43
  access: 'read',
44
- description: 'Read a Gmail thread with headers and decoded plain-text bodies.',
44
+ description: 'Read a Gmail thread (read or unread) with headers and decoded plain-text bodies. Use this after google_workspace_gmail_search_threads to fetch the full content of a thread. thread_id comes from search results.',
45
45
  parameters: {
46
46
  type: 'object',
47
47
  properties: {
48
- thread_id: { type: 'string', description: 'Gmail thread ID.' },
48
+ thread_id: { type: 'string', description: 'Gmail thread ID, obtained from google_workspace_gmail_search_threads results.' },
49
49
  },
50
50
  required: ['thread_id'],
51
51
  },
@@ -53,11 +53,11 @@ const gmailToolDefinitions = [
53
53
  {
54
54
  name: 'google_workspace_gmail_get_message',
55
55
  access: 'read',
56
- description: 'Read a single Gmail message with headers and decoded body.',
56
+ description: 'Read a single Gmail message (read or unread) with headers and decoded body. message_id can come from search results or from messages inside a thread fetched via google_workspace_gmail_get_thread.',
57
57
  parameters: {
58
58
  type: 'object',
59
59
  properties: {
60
- message_id: { type: 'string', description: 'Gmail message ID.' },
60
+ message_id: { type: 'string', description: 'Gmail message ID, obtained from search results or a thread\'s message list.' },
61
61
  },
62
62
  required: ['message_id'],
63
63
  },
@@ -106,12 +106,12 @@ const gmailToolDefinitions = [
106
106
  add_label_names: {
107
107
  type: 'array',
108
108
  items: { type: 'string' },
109
- description: 'Label names to add, e.g. ["STARRED"] or custom labels.',
109
+ description: 'Label names to add. Supports system labels (e.g. "STARRED", "IMPORTANT", "UNREAD") and custom user labels. Use "UNREAD" to mark a thread as unread.',
110
110
  },
111
111
  remove_label_names: {
112
112
  type: 'array',
113
113
  items: { type: 'string' },
114
- description: 'Label names to remove.',
114
+ description: 'Label names to remove. Supports system labels (e.g. "UNREAD", "STARRED", "IMPORTANT", "INBOX") and custom user labels. Use "UNREAD" to mark a thread as read.',
115
115
  },
116
116
  archive: {
117
117
  type: 'boolean',