@commandable/integration-data 0.5.0 → 0.6.0
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/credentials-index.d.ts +2 -7
- package/dist/credentials-index.d.ts.map +1 -1
- package/dist/credentials-index.js +11 -684
- package/dist/credentials-index.js.map +1 -1
- package/dist/generated/registry.d.ts +3 -0
- package/dist/generated/registry.d.ts.map +1 -0
- package/dist/generated/registry.js +11907 -0
- package/dist/generated/registry.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/loader.d.ts +1 -122
- package/dist/loader.d.ts.map +1 -1
- package/dist/loader.js +81 -178
- package/dist/loader.js.map +1 -1
- package/dist/tools.d.ts +1 -1
- package/dist/tools.d.ts.map +1 -1
- package/dist/types.d.ts +92 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +6 -4
- package/integrations/README.md +0 -52
- package/integrations/__tests__/liveHarness.ts +0 -97
- package/integrations/__tests__/usageParity.ts +0 -54
- package/integrations/airtable/.env.test.example +0 -11
- package/integrations/airtable/README.md +0 -27
- package/integrations/airtable/__tests__/get_handlers.test.ts +0 -187
- package/integrations/airtable/__tests__/usage_parity.test.ts +0 -9
- package/integrations/airtable/__tests__/write_and_admin_handlers.test.ts +0 -116
- package/integrations/airtable/credentials.json +0 -26
- package/integrations/airtable/credentials_hint.md +0 -4
- package/integrations/airtable/handlers/create_record.js +0 -12
- package/integrations/airtable/handlers/delete_record.js +0 -7
- package/integrations/airtable/handlers/get_record.js +0 -4
- package/integrations/airtable/handlers/get_table_schema.js +0 -6
- package/integrations/airtable/handlers/list_bases.js +0 -4
- package/integrations/airtable/handlers/list_records.js +0 -25
- package/integrations/airtable/handlers/list_table_fields.js +0 -6
- package/integrations/airtable/handlers/list_tables.js +0 -4
- package/integrations/airtable/handlers/list_views.js +0 -6
- package/integrations/airtable/handlers/search_records.js +0 -6
- package/integrations/airtable/handlers/update_record.js +0 -11
- package/integrations/airtable/manifest.json +0 -84
- package/integrations/airtable/schemas/create_record.json +0 -12
- package/integrations/airtable/schemas/delete_record.json +0 -11
- package/integrations/airtable/schemas/empty.json +0 -6
- package/integrations/airtable/schemas/get_record.json +0 -11
- package/integrations/airtable/schemas/id_base.json +0 -9
- package/integrations/airtable/schemas/id_base_table.json +0 -10
- package/integrations/airtable/schemas/list_records.json +0 -26
- package/integrations/airtable/schemas/search_records.json +0 -12
- package/integrations/airtable/schemas/update_record.json +0 -13
- package/integrations/confluence/.env.test.example +0 -36
- package/integrations/confluence/README.md +0 -28
- package/integrations/confluence/__tests__/get_handlers.test.ts +0 -121
- package/integrations/confluence/__tests__/usage_parity.test.ts +0 -14
- package/integrations/confluence/__tests__/write_handlers.test.ts +0 -131
- package/integrations/confluence/credentials.json +0 -39
- package/integrations/confluence/credentials_hint.md +0 -4
- package/integrations/confluence/credentials_hint_api_token.md +0 -9
- package/integrations/confluence/credentials_hint_oauth_token.md +0 -8
- package/integrations/confluence/handlers/add_comment.js +0 -19
- package/integrations/confluence/handlers/add_label.js +0 -16
- package/integrations/confluence/handlers/create_page.js +0 -22
- package/integrations/confluence/handlers/delete_page.js +0 -17
- package/integrations/confluence/handlers/get_comments.js +0 -33
- package/integrations/confluence/handlers/get_page_children.js +0 -30
- package/integrations/confluence/handlers/get_space.js +0 -22
- package/integrations/confluence/handlers/list_spaces.js +0 -39
- package/integrations/confluence/handlers/read_page.js +0 -49
- package/integrations/confluence/handlers/search_pages.js +0 -42
- package/integrations/confluence/handlers/update_page.js +0 -42
- package/integrations/confluence/manifest.json +0 -85
- package/integrations/confluence/prompt.md +0 -55
- package/integrations/confluence/schemas/add_comment.json +0 -22
- package/integrations/confluence/schemas/add_label.json +0 -19
- package/integrations/confluence/schemas/create_page.json +0 -33
- package/integrations/confluence/schemas/delete_page.json +0 -23
- package/integrations/confluence/schemas/empty.json +0 -6
- package/integrations/confluence/schemas/get_comments.json +0 -24
- package/integrations/confluence/schemas/get_page_children.json +0 -28
- package/integrations/confluence/schemas/get_space.json +0 -18
- package/integrations/confluence/schemas/list_spaces.json +0 -36
- package/integrations/confluence/schemas/read_page.json +0 -28
- package/integrations/confluence/schemas/search_pages.json +0 -26
- package/integrations/confluence/schemas/update_page.json +0 -31
- package/integrations/github/.env.test.example +0 -17
- package/integrations/github/README.md +0 -75
- package/integrations/github/__tests__/get_handlers.test.ts +0 -305
- package/integrations/github/__tests__/usage_parity.test.ts +0 -22
- package/integrations/github/__tests__/write_handlers.test.ts +0 -496
- package/integrations/github/credentials.json +0 -47
- package/integrations/github/credentials_hint.md +0 -7
- package/integrations/github/credentials_hint_classic_pat.md +0 -8
- package/integrations/github/credentials_hint_fine_grained_pat.md +0 -9
- package/integrations/github/handlers/add_labels_to_issue.js +0 -12
- package/integrations/github/handlers/close_issue.js +0 -5
- package/integrations/github/handlers/comment_on_issue.js +0 -5
- package/integrations/github/handlers/create_branch.js +0 -33
- package/integrations/github/handlers/create_commit.js +0 -84
- package/integrations/github/handlers/create_file.js +0 -46
- package/integrations/github/handlers/create_issue.js +0 -10
- package/integrations/github/handlers/create_or_update_file.js +0 -21
- package/integrations/github/handlers/create_pull_request.js +0 -16
- package/integrations/github/handlers/create_pull_request_review.js +0 -10
- package/integrations/github/handlers/create_release.js +0 -14
- package/integrations/github/handlers/create_repo.js +0 -11
- package/integrations/github/handlers/delete_branch.js +0 -8
- package/integrations/github/handlers/delete_file.js +0 -22
- package/integrations/github/handlers/delete_repo.js +0 -6
- package/integrations/github/handlers/edit_file.js +0 -52
- package/integrations/github/handlers/edit_files.js +0 -107
- package/integrations/github/handlers/fork_repo.js +0 -10
- package/integrations/github/handlers/get_commit.js +0 -8
- package/integrations/github/handlers/get_file_contents.js +0 -21
- package/integrations/github/handlers/get_issue.js +0 -4
- package/integrations/github/handlers/get_job_logs.js +0 -6
- package/integrations/github/handlers/get_latest_release.js +0 -4
- package/integrations/github/handlers/get_me.js +0 -4
- package/integrations/github/handlers/get_pull_request.js +0 -4
- package/integrations/github/handlers/get_pull_request_diff.js +0 -8
- package/integrations/github/handlers/get_repo.js +0 -4
- package/integrations/github/handlers/get_repo_tree.js +0 -12
- package/integrations/github/handlers/get_workflow_run.js +0 -4
- package/integrations/github/handlers/list_branches.js +0 -9
- package/integrations/github/handlers/list_commits.js +0 -11
- package/integrations/github/handlers/list_issue_comments.js +0 -8
- package/integrations/github/handlers/list_issues.js +0 -11
- package/integrations/github/handlers/list_labels.js +0 -8
- package/integrations/github/handlers/list_pull_request_comments.js +0 -8
- package/integrations/github/handlers/list_pull_request_files.js +0 -8
- package/integrations/github/handlers/list_pull_requests.js +0 -13
- package/integrations/github/handlers/list_releases.js +0 -8
- package/integrations/github/handlers/list_repos_install.js +0 -4
- package/integrations/github/handlers/list_repos_user.js +0 -16
- package/integrations/github/handlers/list_tags.js +0 -8
- package/integrations/github/handlers/list_workflow_runs.js +0 -11
- package/integrations/github/handlers/merge_pull_request.js +0 -14
- package/integrations/github/handlers/request_pull_request_reviewers.js +0 -10
- package/integrations/github/handlers/search_code.js +0 -8
- package/integrations/github/handlers/search_issues.js +0 -8
- package/integrations/github/handlers/search_pull_requests.js +0 -8
- package/integrations/github/handlers/search_repos.js +0 -10
- package/integrations/github/handlers/update_issue.js +0 -15
- package/integrations/github/handlers/update_pull_request.js +0 -13
- package/integrations/github/manifest.json +0 -92
- package/integrations/github/prompt.md +0 -36
- package/integrations/github/schemas/add_labels_to_issue.json +0 -12
- package/integrations/github/schemas/close_issue.json +0 -10
- package/integrations/github/schemas/comment_on_issue.json +0 -11
- package/integrations/github/schemas/create_branch.json +0 -12
- package/integrations/github/schemas/create_commit.json +0 -25
- package/integrations/github/schemas/create_file.json +0 -13
- package/integrations/github/schemas/create_issue.json +0 -13
- package/integrations/github/schemas/create_or_update_file.json +0 -15
- package/integrations/github/schemas/create_pull_request.json +0 -15
- package/integrations/github/schemas/create_pull_request_review.json +0 -17
- package/integrations/github/schemas/create_release.json +0 -16
- package/integrations/github/schemas/create_repo.json +0 -12
- package/integrations/github/schemas/delete_branch.json +0 -10
- package/integrations/github/schemas/delete_file.json +0 -13
- package/integrations/github/schemas/delete_repo.json +0 -10
- package/integrations/github/schemas/edit_file.json +0 -26
- package/integrations/github/schemas/edit_files.json +0 -39
- package/integrations/github/schemas/empty.json +0 -5
- package/integrations/github/schemas/fork_repo.json +0 -11
- package/integrations/github/schemas/get_commit.json +0 -12
- package/integrations/github/schemas/get_file_contents.json +0 -11
- package/integrations/github/schemas/get_issue.json +0 -10
- package/integrations/github/schemas/get_job_logs.json +0 -10
- package/integrations/github/schemas/get_pull_request.json +0 -10
- package/integrations/github/schemas/get_pull_request_diff.json +0 -10
- package/integrations/github/schemas/get_repo.json +0 -9
- package/integrations/github/schemas/get_repo_tree.json +0 -12
- package/integrations/github/schemas/get_workflow_run.json +0 -10
- package/integrations/github/schemas/list_branches.json +0 -12
- package/integrations/github/schemas/list_commits.json +0 -14
- package/integrations/github/schemas/list_issue_comments.json +0 -12
- package/integrations/github/schemas/list_issues.json +0 -14
- package/integrations/github/schemas/list_labels.json +0 -11
- package/integrations/github/schemas/list_pull_request_comments.json +0 -12
- package/integrations/github/schemas/list_pull_request_files.json +0 -12
- package/integrations/github/schemas/list_pull_requests.json +0 -16
- package/integrations/github/schemas/list_releases.json +0 -11
- package/integrations/github/schemas/list_tags.json +0 -11
- package/integrations/github/schemas/list_workflow_runs.json +0 -18
- package/integrations/github/schemas/merge_pull_request.json +0 -14
- package/integrations/github/schemas/owner_repo.json +0 -9
- package/integrations/github/schemas/request_pull_request_reviewers.json +0 -20
- package/integrations/github/schemas/search_code.json +0 -10
- package/integrations/github/schemas/search_issues.json +0 -10
- package/integrations/github/schemas/search_pull_requests.json +0 -10
- package/integrations/github/schemas/search_repos.json +0 -12
- package/integrations/github/schemas/update_issue.json +0 -15
- package/integrations/github/schemas/update_pull_request.json +0 -15
- package/integrations/google-calendar/.env.test.example +0 -11
- package/integrations/google-calendar/README.md +0 -41
- package/integrations/google-calendar/__tests__/get_handlers.test.ts +0 -120
- package/integrations/google-calendar/__tests__/usage_parity.test.ts +0 -9
- package/integrations/google-calendar/__tests__/write_and_admin_handlers.test.ts +0 -155
- package/integrations/google-calendar/credentials.json +0 -59
- package/integrations/google-calendar/credentials_hint.md +0 -9
- package/integrations/google-calendar/credentials_hint_oauth_token.md +0 -8
- package/integrations/google-calendar/credentials_hint_service_account.md +0 -10
- package/integrations/google-calendar/handlers/create_event.js +0 -6
- package/integrations/google-calendar/handlers/delete_acl.js +0 -6
- package/integrations/google-calendar/handlers/delete_event.js +0 -7
- package/integrations/google-calendar/handlers/freebusy_query.js +0 -4
- package/integrations/google-calendar/handlers/get_acl.js +0 -5
- package/integrations/google-calendar/handlers/get_calendar.js +0 -4
- package/integrations/google-calendar/handlers/get_event.js +0 -9
- package/integrations/google-calendar/handlers/insert_acl.js +0 -6
- package/integrations/google-calendar/handlers/list_acl.js +0 -5
- package/integrations/google-calendar/handlers/list_calendars.js +0 -4
- package/integrations/google-calendar/handlers/list_colors.js +0 -4
- package/integrations/google-calendar/handlers/list_events.js +0 -23
- package/integrations/google-calendar/handlers/list_settings.js +0 -4
- package/integrations/google-calendar/handlers/move_event.js +0 -6
- package/integrations/google-calendar/handlers/patch_event.js +0 -5
- package/integrations/google-calendar/handlers/quick_add.js +0 -6
- package/integrations/google-calendar/handlers/update_acl.js +0 -7
- package/integrations/google-calendar/manifest.json +0 -36
- package/integrations/google-calendar/prompt.md +0 -68
- package/integrations/google-calendar/schemas/create_event.json +0 -34
- package/integrations/google-calendar/schemas/delete_acl.json +0 -9
- package/integrations/google-calendar/schemas/empty.json +0 -1
- package/integrations/google-calendar/schemas/freebusy_query.json +0 -13
- package/integrations/google-calendar/schemas/get_acl.json +0 -9
- package/integrations/google-calendar/schemas/id_calendar.json +0 -8
- package/integrations/google-calendar/schemas/id_calendar_event.json +0 -11
- package/integrations/google-calendar/schemas/insert_acl.json +0 -18
- package/integrations/google-calendar/schemas/list_events.json +0 -17
- package/integrations/google-calendar/schemas/move_event.json +0 -10
- package/integrations/google-calendar/schemas/patch_event.json +0 -10
- package/integrations/google-calendar/schemas/quick_add.json +0 -9
- package/integrations/google-calendar/schemas/update_acl.json +0 -10
- package/integrations/google-docs/README.md +0 -30
- package/integrations/google-docs/__tests__/get_handlers.test.ts +0 -83
- package/integrations/google-docs/__tests__/usage_parity.test.ts +0 -9
- package/integrations/google-docs/__tests__/write_handlers.test.ts +0 -238
- package/integrations/google-docs/credentials.json +0 -59
- package/integrations/google-docs/credentials_hint.md +0 -9
- package/integrations/google-docs/credentials_hint_oauth_token.md +0 -8
- package/integrations/google-docs/credentials_hint_service_account.md +0 -10
- package/integrations/google-docs/handlers/append_text.js +0 -12
- package/integrations/google-docs/handlers/batch_update.js +0 -13
- package/integrations/google-docs/handlers/create_document.js +0 -9
- package/integrations/google-docs/handlers/delete_first_match.js +0 -50
- package/integrations/google-docs/handlers/insert_inline_image_after_first_match.js +0 -41
- package/integrations/google-docs/handlers/insert_page_break_after_first_match.js +0 -49
- package/integrations/google-docs/handlers/insert_table_after_first_match.js +0 -49
- package/integrations/google-docs/handlers/insert_text_after_first_match.js +0 -51
- package/integrations/google-docs/handlers/read_document.js +0 -189
- package/integrations/google-docs/handlers/replace_all_text.js +0 -8
- package/integrations/google-docs/handlers/style_first_match.js +0 -42
- package/integrations/google-docs/handlers/update_document_style.js +0 -8
- package/integrations/google-docs/handlers/update_paragraph_style_for_first_match.js +0 -48
- package/integrations/google-docs/manifest.json +0 -44
- package/integrations/google-docs/prompt.md +0 -49
- package/integrations/google-docs/schemas/append_text.json +0 -10
- package/integrations/google-docs/schemas/apply_text_style.json +0 -13
- package/integrations/google-docs/schemas/batch_update.json +0 -16
- package/integrations/google-docs/schemas/create_document.json +0 -8
- package/integrations/google-docs/schemas/delete_content_range.json +0 -11
- package/integrations/google-docs/schemas/delete_first_match.json +0 -10
- package/integrations/google-docs/schemas/insert_inline_image.json +0 -12
- package/integrations/google-docs/schemas/insert_inline_image_after_first_match.json +0 -12
- package/integrations/google-docs/schemas/insert_page_break.json +0 -10
- package/integrations/google-docs/schemas/insert_page_break_after_first_match.json +0 -11
- package/integrations/google-docs/schemas/insert_table.json +0 -12
- package/integrations/google-docs/schemas/insert_table_after_first_match.json +0 -13
- package/integrations/google-docs/schemas/insert_text_after_first_match.json +0 -12
- package/integrations/google-docs/schemas/insert_text_at.json +0 -11
- package/integrations/google-docs/schemas/read_document.json +0 -12
- package/integrations/google-docs/schemas/replace_all_text.json +0 -12
- package/integrations/google-docs/schemas/style_first_match.json +0 -12
- package/integrations/google-docs/schemas/update_document_style.json +0 -11
- package/integrations/google-docs/schemas/update_paragraph_style.json +0 -13
- package/integrations/google-docs/schemas/update_paragraph_style_for_first_match.json +0 -12
- package/integrations/google-docs/todo.md +0 -18
- package/integrations/google-drive/README.md +0 -26
- package/integrations/google-drive/__tests__/handlers.test.ts +0 -145
- package/integrations/google-drive/__tests__/usage_parity.test.ts +0 -9
- package/integrations/google-drive/credentials.json +0 -59
- package/integrations/google-drive/credentials_hint_oauth_token.md +0 -8
- package/integrations/google-drive/credentials_hint_service_account.md +0 -10
- package/integrations/google-drive/handlers/create_file.js +0 -15
- package/integrations/google-drive/handlers/create_folder.js +0 -15
- package/integrations/google-drive/handlers/delete_file.js +0 -14
- package/integrations/google-drive/handlers/get_file.js +0 -5
- package/integrations/google-drive/handlers/get_file_content.js +0 -41
- package/integrations/google-drive/handlers/list_files.js +0 -15
- package/integrations/google-drive/handlers/move_file.js +0 -12
- package/integrations/google-drive/handlers/search_files.js +0 -20
- package/integrations/google-drive/handlers/share_file.js +0 -20
- package/integrations/google-drive/manifest.json +0 -70
- package/integrations/google-drive/prompt.md +0 -59
- package/integrations/google-drive/schemas/create_file.json +0 -12
- package/integrations/google-drive/schemas/create_folder.json +0 -11
- package/integrations/google-drive/schemas/delete_file.json +0 -10
- package/integrations/google-drive/schemas/get_file.json +0 -10
- package/integrations/google-drive/schemas/get_file_content.json +0 -11
- package/integrations/google-drive/schemas/list_files.json +0 -12
- package/integrations/google-drive/schemas/move_file.json +0 -12
- package/integrations/google-drive/schemas/search_files.json +0 -14
- package/integrations/google-drive/schemas/share_file.json +0 -23
- package/integrations/google-gmail/.env.test.example +0 -11
- package/integrations/google-gmail/README.md +0 -49
- package/integrations/google-gmail/__tests__/get_handlers.test.ts +0 -134
- package/integrations/google-gmail/__tests__/usage_parity.test.ts +0 -9
- package/integrations/google-gmail/__tests__/write_and_admin_handlers.test.ts +0 -211
- package/integrations/google-gmail/credentials.json +0 -59
- package/integrations/google-gmail/credentials_hint_oauth_token.md +0 -8
- package/integrations/google-gmail/credentials_hint_service_account.md +0 -10
- package/integrations/google-gmail/handlers/create_draft_email.js +0 -27
- package/integrations/google-gmail/handlers/create_label.js +0 -12
- package/integrations/google-gmail/handlers/delete_draft.js +0 -13
- package/integrations/google-gmail/handlers/delete_label.js +0 -13
- package/integrations/google-gmail/handlers/delete_message.js +0 -13
- package/integrations/google-gmail/handlers/delete_thread.js +0 -13
- package/integrations/google-gmail/handlers/get_draft.js +0 -6
- package/integrations/google-gmail/handlers/get_label.js +0 -6
- package/integrations/google-gmail/handlers/get_message.js +0 -14
- package/integrations/google-gmail/handlers/get_profile.js +0 -5
- package/integrations/google-gmail/handlers/get_thread.js +0 -14
- package/integrations/google-gmail/handlers/list_drafts.js +0 -15
- package/integrations/google-gmail/handlers/list_labels.js +0 -5
- package/integrations/google-gmail/handlers/list_messages.js +0 -19
- package/integrations/google-gmail/handlers/list_threads.js +0 -19
- package/integrations/google-gmail/handlers/modify_message.js +0 -11
- package/integrations/google-gmail/handlers/modify_thread.js +0 -11
- package/integrations/google-gmail/handlers/read_email.js +0 -56
- package/integrations/google-gmail/handlers/send_draft.js +0 -15
- package/integrations/google-gmail/handlers/send_email.js +0 -22
- package/integrations/google-gmail/handlers/trash_message.js +0 -6
- package/integrations/google-gmail/handlers/trash_thread.js +0 -6
- package/integrations/google-gmail/handlers/untrash_message.js +0 -6
- package/integrations/google-gmail/handlers/untrash_thread.js +0 -6
- package/integrations/google-gmail/handlers/update_label.js +0 -15
- package/integrations/google-gmail/manifest.json +0 -45
- package/integrations/google-gmail/prompt.md +0 -52
- package/integrations/google-gmail/schemas/create_draft_email.json +0 -16
- package/integrations/google-gmail/schemas/create_label.json +0 -26
- package/integrations/google-gmail/schemas/get_message.json +0 -20
- package/integrations/google-gmail/schemas/get_profile.json +0 -11
- package/integrations/google-gmail/schemas/get_thread.json +0 -20
- package/integrations/google-gmail/schemas/id_draft.json +0 -16
- package/integrations/google-gmail/schemas/id_label.json +0 -16
- package/integrations/google-gmail/schemas/id_message.json +0 -16
- package/integrations/google-gmail/schemas/id_thread.json +0 -16
- package/integrations/google-gmail/schemas/list_drafts.json +0 -30
- package/integrations/google-gmail/schemas/list_labels.json +0 -11
- package/integrations/google-gmail/schemas/list_messages.json +0 -35
- package/integrations/google-gmail/schemas/list_threads.json +0 -35
- package/integrations/google-gmail/schemas/modify_message.json +0 -24
- package/integrations/google-gmail/schemas/modify_thread.json +0 -24
- package/integrations/google-gmail/schemas/read_email.json +0 -10
- package/integrations/google-gmail/schemas/send_draft.json +0 -29
- package/integrations/google-gmail/schemas/send_email.json +0 -17
- package/integrations/google-gmail/schemas/update_label.json +0 -33
- package/integrations/google-sheet/README.md +0 -27
- package/integrations/google-sheet/__tests__/get_handlers.test.ts +0 -76
- package/integrations/google-sheet/__tests__/usage_parity.test.ts +0 -9
- package/integrations/google-sheet/__tests__/write_handlers.test.ts +0 -153
- package/integrations/google-sheet/credentials.json +0 -59
- package/integrations/google-sheet/credentials_hint.md +0 -9
- package/integrations/google-sheet/credentials_hint_oauth_token.md +0 -8
- package/integrations/google-sheet/credentials_hint_service_account.md +0 -10
- package/integrations/google-sheet/handlers/append_values.js +0 -18
- package/integrations/google-sheet/handlers/batch_clear_values.js +0 -6
- package/integrations/google-sheet/handlers/batch_update.js +0 -14
- package/integrations/google-sheet/handlers/batch_update_values.js +0 -16
- package/integrations/google-sheet/handlers/clear_values.js +0 -6
- package/integrations/google-sheet/handlers/copy_to_spreadsheet.js +0 -6
- package/integrations/google-sheet/handlers/create_spreadsheet.js +0 -5
- package/integrations/google-sheet/handlers/get_spreadsheet.js +0 -14
- package/integrations/google-sheet/handlers/read_sheet.js +0 -75
- package/integrations/google-sheet/handlers/update_values.js +0 -16
- package/integrations/google-sheet/manifest.json +0 -77
- package/integrations/google-sheet/prompt.md +0 -49
- package/integrations/google-sheet/schemas/append_values.json +0 -16
- package/integrations/google-sheet/schemas/batch_clear_values.json +0 -10
- package/integrations/google-sheet/schemas/batch_update.json +0 -13
- package/integrations/google-sheet/schemas/batch_update_values.json +0 -25
- package/integrations/google-sheet/schemas/clear_values.json +0 -10
- package/integrations/google-sheet/schemas/copy_to_spreadsheet.json +0 -11
- package/integrations/google-sheet/schemas/create_spreadsheet.json +0 -11
- package/integrations/google-sheet/schemas/get_spreadsheet.json +0 -16
- package/integrations/google-sheet/schemas/read_sheet.json +0 -21
- package/integrations/google-sheet/schemas/update_values.json +0 -15
- package/integrations/google-slides/README.md +0 -28
- package/integrations/google-slides/__tests__/get_handlers.test.ts +0 -74
- package/integrations/google-slides/__tests__/usage_parity.test.ts +0 -9
- package/integrations/google-slides/__tests__/write_handlers.test.ts +0 -131
- package/integrations/google-slides/credentials.json +0 -59
- package/integrations/google-slides/credentials_hint.md +0 -9
- package/integrations/google-slides/credentials_hint_oauth_token.md +0 -8
- package/integrations/google-slides/credentials_hint_service_account.md +0 -10
- package/integrations/google-slides/handlers/append_text_to_title_of_first_slide.js +0 -17
- package/integrations/google-slides/handlers/batch_update.js +0 -15
- package/integrations/google-slides/handlers/create_presentation.js +0 -8
- package/integrations/google-slides/handlers/create_slide_after_first_match.js +0 -20
- package/integrations/google-slides/handlers/get_page_thumbnail.js +0 -12
- package/integrations/google-slides/handlers/insert_image_after_first_match.js +0 -19
- package/integrations/google-slides/handlers/insert_shape_after_first_match.js +0 -21
- package/integrations/google-slides/handlers/read_presentation.js +0 -51
- package/integrations/google-slides/handlers/replace_text_first_match.js +0 -9
- package/integrations/google-slides/handlers/set_background_color_for_slide_index.js +0 -15
- package/integrations/google-slides/handlers/style_text_first_match.js +0 -48
- package/integrations/google-slides/manifest.json +0 -42
- package/integrations/google-slides/prompt.md +0 -56
- package/integrations/google-slides/schemas/append_text_to_title_of_first_slide.json +0 -11
- package/integrations/google-slides/schemas/batch_update.json +0 -13
- package/integrations/google-slides/schemas/create_presentation.json +0 -8
- package/integrations/google-slides/schemas/create_slide_after_first_match.json +0 -11
- package/integrations/google-slides/schemas/get_page_thumbnail.json +0 -12
- package/integrations/google-slides/schemas/get_presentation.json +0 -9
- package/integrations/google-slides/schemas/insert_image_after_first_match.json +0 -13
- package/integrations/google-slides/schemas/insert_shape_after_first_match.json +0 -13
- package/integrations/google-slides/schemas/replace_text_first_match.json +0 -12
- package/integrations/google-slides/schemas/set_background_color_for_slide_index.json +0 -11
- package/integrations/google-slides/schemas/style_text_first_match.json +0 -12
- package/integrations/hubspot/.env.test.example +0 -20
- package/integrations/hubspot/README.md +0 -48
- package/integrations/hubspot/__tests__/get_handlers.test.ts +0 -151
- package/integrations/hubspot/__tests__/usage_parity.test.ts +0 -10
- package/integrations/hubspot/__tests__/write_handlers.test.ts +0 -244
- package/integrations/hubspot/credentials.json +0 -50
- package/integrations/hubspot/credentials_hint.md +0 -20
- package/integrations/hubspot/credentials_hint_oauth_token.md +0 -16
- package/integrations/hubspot/handlers/archive_company.js +0 -13
- package/integrations/hubspot/handlers/archive_contact.js +0 -13
- package/integrations/hubspot/handlers/archive_deal.js +0 -13
- package/integrations/hubspot/handlers/archive_ticket.js +0 -13
- package/integrations/hubspot/handlers/create_association.js +0 -18
- package/integrations/hubspot/handlers/create_company.js +0 -13
- package/integrations/hubspot/handlers/create_contact.js +0 -14
- package/integrations/hubspot/handlers/create_deal.js +0 -16
- package/integrations/hubspot/handlers/create_note.js +0 -44
- package/integrations/hubspot/handlers/create_task.js +0 -48
- package/integrations/hubspot/handlers/create_ticket.js +0 -15
- package/integrations/hubspot/handlers/get_associations.js +0 -14
- package/integrations/hubspot/handlers/get_company.js +0 -18
- package/integrations/hubspot/handlers/get_contact.js +0 -18
- package/integrations/hubspot/handlers/get_deal.js +0 -18
- package/integrations/hubspot/handlers/get_ticket.js +0 -20
- package/integrations/hubspot/handlers/list_owners.js +0 -12
- package/integrations/hubspot/handlers/list_pipelines.js +0 -5
- package/integrations/hubspot/handlers/list_properties.js +0 -11
- package/integrations/hubspot/handlers/remove_association.js +0 -22
- package/integrations/hubspot/handlers/search_companies.js +0 -43
- package/integrations/hubspot/handlers/search_contacts.js +0 -43
- package/integrations/hubspot/handlers/search_deals.js +0 -43
- package/integrations/hubspot/handlers/search_notes.js +0 -43
- package/integrations/hubspot/handlers/search_tasks.js +0 -43
- package/integrations/hubspot/handlers/search_tickets.js +0 -43
- package/integrations/hubspot/handlers/update_company.js +0 -13
- package/integrations/hubspot/handlers/update_contact.js +0 -14
- package/integrations/hubspot/handlers/update_deal.js +0 -16
- package/integrations/hubspot/handlers/update_task.js +0 -17
- package/integrations/hubspot/handlers/update_ticket.js +0 -15
- package/integrations/hubspot/manifest.json +0 -231
- package/integrations/hubspot/prompt.md +0 -69
- package/integrations/hubspot/schemas/archive_company.json +0 -13
- package/integrations/hubspot/schemas/archive_contact.json +0 -13
- package/integrations/hubspot/schemas/archive_deal.json +0 -9
- package/integrations/hubspot/schemas/archive_ticket.json +0 -9
- package/integrations/hubspot/schemas/create_association.json +0 -24
- package/integrations/hubspot/schemas/create_company.json +0 -14
- package/integrations/hubspot/schemas/create_contact.json +0 -15
- package/integrations/hubspot/schemas/create_deal.json +0 -20
- package/integrations/hubspot/schemas/create_note.json +0 -37
- package/integrations/hubspot/schemas/create_task.json +0 -51
- package/integrations/hubspot/schemas/create_ticket.json +0 -16
- package/integrations/hubspot/schemas/empty.json +0 -6
- package/integrations/hubspot/schemas/get_associations.json +0 -30
- package/integrations/hubspot/schemas/get_company.json +0 -27
- package/integrations/hubspot/schemas/get_contact.json +0 -27
- package/integrations/hubspot/schemas/get_deal.json +0 -20
- package/integrations/hubspot/schemas/get_ticket.json +0 -20
- package/integrations/hubspot/schemas/list_owners.json +0 -25
- package/integrations/hubspot/schemas/list_pipelines.json +0 -13
- package/integrations/hubspot/schemas/list_properties.json +0 -17
- package/integrations/hubspot/schemas/remove_association.json +0 -24
- package/integrations/hubspot/schemas/search_companies.json +0 -56
- package/integrations/hubspot/schemas/search_contacts.json +0 -56
- package/integrations/hubspot/schemas/search_deals.json +0 -43
- package/integrations/hubspot/schemas/search_notes.json +0 -43
- package/integrations/hubspot/schemas/search_tasks.json +0 -43
- package/integrations/hubspot/schemas/search_tickets.json +0 -43
- package/integrations/hubspot/schemas/update_company.json +0 -20
- package/integrations/hubspot/schemas/update_contact.json +0 -21
- package/integrations/hubspot/schemas/update_deal.json +0 -19
- package/integrations/hubspot/schemas/update_task.json +0 -31
- package/integrations/hubspot/schemas/update_ticket.json +0 -18
- package/integrations/jira/.env.test.example +0 -41
- package/integrations/jira/README.md +0 -46
- package/integrations/jira/__tests__/get_handlers.test.ts +0 -193
- package/integrations/jira/__tests__/usage_parity.test.ts +0 -14
- package/integrations/jira/__tests__/write_handlers.test.ts +0 -157
- package/integrations/jira/credentials.json +0 -39
- package/integrations/jira/credentials_hint.md +0 -4
- package/integrations/jira/credentials_hint_api_token.md +0 -6
- package/integrations/jira/credentials_hint_oauth_token.md +0 -6
- package/integrations/jira/handlers/add_comment.js +0 -9
- package/integrations/jira/handlers/assign_issue.js +0 -11
- package/integrations/jira/handlers/create_issue.js +0 -37
- package/integrations/jira/handlers/create_sprint.js +0 -19
- package/integrations/jira/handlers/delete_issue.js +0 -10
- package/integrations/jira/handlers/get_backlog_issues.js +0 -13
- package/integrations/jira/handlers/get_board.js +0 -6
- package/integrations/jira/handlers/get_issue.js +0 -63
- package/integrations/jira/handlers/get_issue_comments.js +0 -31
- package/integrations/jira/handlers/get_myself.js +0 -14
- package/integrations/jira/handlers/get_project.js +0 -28
- package/integrations/jira/handlers/get_sprint.js +0 -5
- package/integrations/jira/handlers/get_sprint_issues.js +0 -13
- package/integrations/jira/handlers/get_transitions.js +0 -23
- package/integrations/jira/handlers/list_boards.js +0 -34
- package/integrations/jira/handlers/list_projects.js +0 -29
- package/integrations/jira/handlers/list_sprints.js +0 -29
- package/integrations/jira/handlers/move_issues_to_sprint.js +0 -11
- package/integrations/jira/handlers/search_issues.js +0 -43
- package/integrations/jira/handlers/search_users.js +0 -21
- package/integrations/jira/handlers/transition_issue.js +0 -44
- package/integrations/jira/handlers/update_issue.js +0 -40
- package/integrations/jira/handlers/update_sprint.js +0 -20
- package/integrations/jira/manifest.json +0 -204
- package/integrations/jira/prompt.md +0 -80
- package/integrations/jira/schemas/add_comment.json +0 -16
- package/integrations/jira/schemas/assign_issue.json +0 -16
- package/integrations/jira/schemas/create_issue.json +0 -49
- package/integrations/jira/schemas/create_sprint.json +0 -29
- package/integrations/jira/schemas/delete_issue.json +0 -12
- package/integrations/jira/schemas/empty.json +0 -6
- package/integrations/jira/schemas/get_backlog_issues.json +0 -33
- package/integrations/jira/schemas/get_board.json +0 -13
- package/integrations/jira/schemas/get_issue.json +0 -23
- package/integrations/jira/schemas/get_issue_comments.json +0 -23
- package/integrations/jira/schemas/get_project.json +0 -17
- package/integrations/jira/schemas/get_sprint.json +0 -13
- package/integrations/jira/schemas/get_sprint_issues.json +0 -33
- package/integrations/jira/schemas/get_transitions.json +0 -12
- package/integrations/jira/schemas/list_boards.json +0 -27
- package/integrations/jira/schemas/list_projects.json +0 -22
- package/integrations/jira/schemas/list_sprints.json +0 -29
- package/integrations/jira/schemas/move_issues_to_sprint.json +0 -19
- package/integrations/jira/schemas/search_issues.json +0 -28
- package/integrations/jira/schemas/search_users.json +0 -18
- package/integrations/jira/schemas/transition_issue.json +0 -38
- package/integrations/jira/schemas/update_issue.json +0 -47
- package/integrations/jira/schemas/update_sprint.json +0 -33
- package/integrations/new_integration_prompt.md +0 -216
- package/integrations/notion/.env.test.example +0 -13
- package/integrations/notion/README.md +0 -42
- package/integrations/notion/__tests__/get_handlers.test.ts +0 -156
- package/integrations/notion/__tests__/usage_parity.test.ts +0 -9
- package/integrations/notion/__tests__/write_and_admin_handlers.test.ts +0 -186
- package/integrations/notion/credentials.json +0 -27
- package/integrations/notion/credentials_hint.md +0 -5
- package/integrations/notion/handlers/append_block_children.js +0 -7
- package/integrations/notion/handlers/create_comment.js +0 -10
- package/integrations/notion/handlers/create_database.js +0 -11
- package/integrations/notion/handlers/create_page.js +0 -13
- package/integrations/notion/handlers/delete_block.js +0 -8
- package/integrations/notion/handlers/get_me.js +0 -4
- package/integrations/notion/handlers/list_block_children.js +0 -10
- package/integrations/notion/handlers/list_comments.js +0 -14
- package/integrations/notion/handlers/list_users.js +0 -10
- package/integrations/notion/handlers/query_database.js +0 -10
- package/integrations/notion/handlers/retrieve_block.js +0 -4
- package/integrations/notion/handlers/retrieve_database.js +0 -4
- package/integrations/notion/handlers/retrieve_page.js +0 -4
- package/integrations/notion/handlers/retrieve_page_property_item.js +0 -10
- package/integrations/notion/handlers/retrieve_user.js +0 -4
- package/integrations/notion/handlers/search.js +0 -11
- package/integrations/notion/handlers/update_block.js +0 -7
- package/integrations/notion/handlers/update_database.js +0 -10
- package/integrations/notion/handlers/update_page_properties.js +0 -10
- package/integrations/notion/manifest.json +0 -169
- package/integrations/notion/prompt.md +0 -26
- package/integrations/notion/schemas/append_block_children.json +0 -10
- package/integrations/notion/schemas/create_comment.json +0 -18
- package/integrations/notion/schemas/create_database.json +0 -18
- package/integrations/notion/schemas/create_page.json +0 -22
- package/integrations/notion/schemas/delete_block.json +0 -9
- package/integrations/notion/schemas/empty.json +0 -6
- package/integrations/notion/schemas/id_block.json +0 -9
- package/integrations/notion/schemas/id_database.json +0 -9
- package/integrations/notion/schemas/id_page.json +0 -9
- package/integrations/notion/schemas/id_user.json +0 -9
- package/integrations/notion/schemas/list_block_children.json +0 -11
- package/integrations/notion/schemas/list_comments.json +0 -15
- package/integrations/notion/schemas/list_users.json +0 -9
- package/integrations/notion/schemas/query_database.json +0 -13
- package/integrations/notion/schemas/retrieve_page_property_item.json +0 -12
- package/integrations/notion/schemas/search.json +0 -27
- package/integrations/notion/schemas/update_block.json +0 -10
- package/integrations/notion/schemas/update_database.json +0 -13
- package/integrations/notion/schemas/update_page_properties.json +0 -13
- package/integrations/trello/.env.test.example +0 -9
- package/integrations/trello/README.md +0 -50
- package/integrations/trello/__tests__/get_handlers.test.ts +0 -225
- package/integrations/trello/__tests__/usage_parity.test.ts +0 -9
- package/integrations/trello/__tests__/write_and_admin_handlers.test.ts +0 -171
- package/integrations/trello/credentials.json +0 -32
- package/integrations/trello/credentials_hint.md +0 -4
- package/integrations/trello/handlers/add_checklist_to_card.js +0 -5
- package/integrations/trello/handlers/add_member_to_card.js +0 -5
- package/integrations/trello/handlers/archive_list.js +0 -5
- package/integrations/trello/handlers/close_board.js +0 -6
- package/integrations/trello/handlers/create_board.js +0 -11
- package/integrations/trello/handlers/create_card.js +0 -13
- package/integrations/trello/handlers/create_list.js +0 -7
- package/integrations/trello/handlers/delete_board.js +0 -13
- package/integrations/trello/handlers/delete_card.js +0 -9
- package/integrations/trello/handlers/get_board.js +0 -4
- package/integrations/trello/handlers/get_board_cards.js +0 -4
- package/integrations/trello/handlers/get_board_custom_fields.js +0 -4
- package/integrations/trello/handlers/get_board_labels.js +0 -4
- package/integrations/trello/handlers/get_board_lists.js +0 -4
- package/integrations/trello/handlers/get_board_members.js +0 -4
- package/integrations/trello/handlers/get_board_memberships.js +0 -4
- package/integrations/trello/handlers/get_card.js +0 -4
- package/integrations/trello/handlers/get_card_actions.js +0 -4
- package/integrations/trello/handlers/get_card_attachments.js +0 -4
- package/integrations/trello/handlers/get_card_checklists.js +0 -4
- package/integrations/trello/handlers/get_card_custom_field_items.js +0 -4
- package/integrations/trello/handlers/get_card_members.js +0 -4
- package/integrations/trello/handlers/get_list.js +0 -4
- package/integrations/trello/handlers/get_list_cards.js +0 -4
- package/integrations/trello/handlers/get_member.js +0 -4
- package/integrations/trello/handlers/get_member_boards.js +0 -4
- package/integrations/trello/handlers/get_member_organizations.js +0 -4
- package/integrations/trello/handlers/get_organization.js +0 -4
- package/integrations/trello/handlers/get_organization_boards.js +0 -4
- package/integrations/trello/handlers/move_card_to_list.js +0 -5
- package/integrations/trello/handlers/remove_member_from_card.js +0 -9
- package/integrations/trello/handlers/search.js +0 -5
- package/integrations/trello/handlers/update_card.js +0 -19
- package/integrations/trello/handlers/update_list.js +0 -11
- package/integrations/trello/manifest.json +0 -245
- package/integrations/trello/schemas/add_checklist_to_card.json +0 -10
- package/integrations/trello/schemas/add_member_to_card.json +0 -10
- package/integrations/trello/schemas/archive_list.json +0 -9
- package/integrations/trello/schemas/close_board.json +0 -10
- package/integrations/trello/schemas/create_board.json +0 -12
- package/integrations/trello/schemas/create_card.json +0 -13
- package/integrations/trello/schemas/create_list.json +0 -11
- package/integrations/trello/schemas/delete_board.json +0 -10
- package/integrations/trello/schemas/delete_card.json +0 -9
- package/integrations/trello/schemas/display_trello_cards.json +0 -45
- package/integrations/trello/schemas/empty.json +0 -5
- package/integrations/trello/schemas/get_member.json +0 -5
- package/integrations/trello/schemas/id_board.json +0 -8
- package/integrations/trello/schemas/id_card.json +0 -8
- package/integrations/trello/schemas/id_list.json +0 -8
- package/integrations/trello/schemas/id_org.json +0 -8
- package/integrations/trello/schemas/move_card_to_list.json +0 -10
- package/integrations/trello/schemas/remove_member_from_card.json +0 -10
- package/integrations/trello/schemas/search.json +0 -8
- package/integrations/trello/schemas/update_card.json +0 -16
- package/integrations/trello/schemas/update_list.json +0 -12
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const userId = encodeURIComponent(input.userId || 'me')
|
|
3
|
-
const labelId = encodeURIComponent(input.labelId)
|
|
4
|
-
const body = {}
|
|
5
|
-
if (input.name !== undefined)
|
|
6
|
-
body.name = input.name
|
|
7
|
-
if (input.messageListVisibility !== undefined)
|
|
8
|
-
body.messageListVisibility = input.messageListVisibility
|
|
9
|
-
if (input.labelListVisibility !== undefined)
|
|
10
|
-
body.labelListVisibility = input.labelListVisibility
|
|
11
|
-
if (input.color !== undefined)
|
|
12
|
-
body.color = input.color
|
|
13
|
-
const res = await integration.fetch(`/users/${userId}/labels/${labelId}`, { method: 'PATCH', body })
|
|
14
|
-
return await res.json()
|
|
15
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "google-gmail",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"baseUrl": "https://gmail.googleapis.com/gmail/v1",
|
|
5
|
-
"toolsets": {
|
|
6
|
-
"email": {
|
|
7
|
-
"label": "Email",
|
|
8
|
-
"description": "Search, read, compose, and send emails and drafts"
|
|
9
|
-
},
|
|
10
|
-
"organize": {
|
|
11
|
-
"label": "Organize",
|
|
12
|
-
"description": "Label, archive, trash, and delete messages and threads"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"tools": [
|
|
16
|
-
{ "name": "get_profile", "description": "Get mailbox profile details for the authenticated user, including email address, messages total, threads total, and history ID. Useful for confirming the active account.", "inputSchema": "schemas/get_profile.json", "handler": "handlers/get_profile.js", "scope": "read", "toolset": "email" },
|
|
17
|
-
{ "name": "list_messages", "description": "List message IDs matching a Gmail search query or label filters. Returns only IDs and threadIds, not full content -- use read_email or get_message to fetch content for specific messages. Supports Gmail query operators: 'is:unread', 'from:user@example.com', 'to:user@example.com', 'subject:keyword', 'has:attachment', 'after:2024/01/01', 'before:2024/12/31', 'newer_than:7d', 'label:INBOX', 'in:sent'. Defaults to 20 results. Use pageToken from the response for the next page.", "inputSchema": "schemas/list_messages.json", "handler": "handlers/list_messages.js", "scope": "read", "toolset": "email" },
|
|
18
|
-
{ "name": "read_email", "description": "Read an email by message ID and return a flat, decoded result with subject, from, to, cc, date, snippet, body text, labelIds, and threadId. Use this for reading email content -- it handles base64 decoding and header extraction automatically. For raw API access or advanced format options, use get_message instead.", "inputSchema": "schemas/read_email.json", "handler": "handlers/read_email.js", "scope": "read", "toolset": "email" },
|
|
19
|
-
{ "name": "get_message", "description": "Get the raw Gmail message resource by message ID. Returns the full nested payload including base64url-encoded body parts and all headers. For most use cases, prefer read_email which decodes the response into a flat readable format. Use format='minimal' for lightweight ID+threadId+labelIds only, format='metadata' with metadataHeaders for specific headers only.", "inputSchema": "schemas/get_message.json", "handler": "handlers/get_message.js", "scope": "read", "toolset": "email" },
|
|
20
|
-
{ "name": "list_threads", "description": "List thread IDs matching a Gmail search query or label filters. Similar to list_messages but grouped by conversation thread. Returns only IDs -- use get_thread to fetch full thread content. Supports the same Gmail query operators as list_messages. Defaults to 20 results. Use pageToken from the response for the next page.", "inputSchema": "schemas/list_threads.json", "handler": "handlers/list_threads.js", "scope": "read", "toolset": "email" },
|
|
21
|
-
{ "name": "get_thread", "description": "Get a full thread resource by thread ID, including all messages in the conversation. Use list_threads to find thread IDs. Use format='minimal' to get only message IDs within the thread without full content.", "inputSchema": "schemas/get_thread.json", "handler": "handlers/get_thread.js", "scope": "read", "toolset": "email" },
|
|
22
|
-
{ "name": "list_drafts", "description": "List drafts in the mailbox. Returns draft IDs and the nested message ID. Use get_draft to fetch full draft content. Defaults to 20 results. Use pageToken for the next page.", "inputSchema": "schemas/list_drafts.json", "handler": "handlers/list_drafts.js", "scope": "read", "toolset": "email" },
|
|
23
|
-
{ "name": "get_draft", "description": "Get a draft by draft ID. Returns the draft object including the nested message resource. Use list_drafts to find draft IDs.", "inputSchema": "schemas/id_draft.json", "handler": "handlers/get_draft.js", "scope": "read", "toolset": "email" },
|
|
24
|
-
|
|
25
|
-
{ "name": "send_email", "description": "Send an email by providing flat fields: to, subject, and body. Handles MIME encoding and base64url conversion internally. For replies, provide replyToMessageId (the original message's ID) and threadId to keep the reply in the same conversation thread. Supports plain text and HTML bodies, CC, and BCC.", "inputSchema": "schemas/send_email.json", "handler": "handlers/send_email.js", "scope": "write", "toolset": "email" },
|
|
26
|
-
{ "name": "create_draft_email", "description": "Create a draft email using flat fields: subject, body, and optionally to, cc, bcc. Handles MIME encoding internally. The draft is saved but not sent -- use send_draft to send it later. For replies, provide replyToMessageId and threadId. Supports plain text and HTML bodies.", "inputSchema": "schemas/create_draft_email.json", "handler": "handlers/create_draft_email.js", "scope": "write", "toolset": "email" },
|
|
27
|
-
{ "name": "delete_draft", "description": "Permanently delete a draft by its draft ID. Use list_drafts to find draft IDs. This cannot be undone.", "inputSchema": "schemas/id_draft.json", "handler": "handlers/delete_draft.js", "scope": "write", "toolset": "email" },
|
|
28
|
-
{ "name": "send_draft", "description": "Send an existing draft by draft ID, or send a one-off draft payload (provide raw instead of draftId). One of draftId or raw must be provided. To send a previously created draft, provide only draftId. To send a new message without saving first, use send_email instead.", "inputSchema": "schemas/send_draft.json", "handler": "handlers/send_draft.js", "scope": "write", "toolset": "email" },
|
|
29
|
-
|
|
30
|
-
{ "name": "list_labels", "description": "List all labels in the user's mailbox, including system labels (INBOX, SENT, DRAFT, SPAM, TRASH, STARRED, IMPORTANT, UNREAD) and user-created labels. Returns label IDs needed for filtering in list_messages and list_threads.", "inputSchema": "schemas/list_labels.json", "handler": "handlers/list_labels.js", "scope": "read", "toolset": "organize" },
|
|
31
|
-
{ "name": "get_label", "description": "Get details for a specific label by its label ID. Returns name, type, visibility settings, and message/thread counts. Use list_labels first to find the label ID.", "inputSchema": "schemas/id_label.json", "handler": "handlers/get_label.js", "scope": "read", "toolset": "organize" },
|
|
32
|
-
{ "name": "modify_message", "description": "Add or remove labels on a single message. Provide addLabelIds, removeLabelIds, or both. Common label IDs: 'INBOX', 'UNREAD', 'STARRED', 'IMPORTANT', 'TRASH', 'SPAM'. To archive a message, remove 'INBOX'. To mark as read, remove 'UNREAD'. Use list_labels to find custom label IDs.", "inputSchema": "schemas/modify_message.json", "handler": "handlers/modify_message.js", "scope": "write", "toolset": "organize" },
|
|
33
|
-
{ "name": "trash_message", "description": "Move a message to the Trash. The message is not permanently deleted and can be restored with untrash_message. To permanently delete, use delete_message.", "inputSchema": "schemas/id_message.json", "handler": "handlers/trash_message.js", "scope": "write", "toolset": "organize" },
|
|
34
|
-
{ "name": "untrash_message", "description": "Restore a message from Trash back to the Inbox. Use list_messages with labelIds=['TRASH'] to find trashed message IDs.", "inputSchema": "schemas/id_message.json", "handler": "handlers/untrash_message.js", "scope": "write", "toolset": "organize" },
|
|
35
|
-
{ "name": "delete_message", "description": "Permanently and immediately delete a message by ID. This cannot be undone. For recoverable deletion, use trash_message instead.", "inputSchema": "schemas/id_message.json", "handler": "handlers/delete_message.js", "scope": "write", "toolset": "organize" },
|
|
36
|
-
{ "name": "modify_thread", "description": "Add or remove labels on all messages in a thread at once. Provide addLabelIds, removeLabelIds, or both. Common label IDs: 'INBOX', 'UNREAD', 'STARRED', 'IMPORTANT'. To archive a thread, remove 'INBOX'. Use list_labels to find custom label IDs.", "inputSchema": "schemas/modify_thread.json", "handler": "handlers/modify_thread.js", "scope": "write", "toolset": "organize" },
|
|
37
|
-
{ "name": "trash_thread", "description": "Move an entire thread to Trash. All messages in the thread are trashed. Can be reversed with untrash_thread.", "inputSchema": "schemas/id_thread.json", "handler": "handlers/trash_thread.js", "scope": "write", "toolset": "organize" },
|
|
38
|
-
{ "name": "untrash_thread", "description": "Restore an entire thread from Trash. Use list_threads with labelIds=['TRASH'] to find trashed thread IDs.", "inputSchema": "schemas/id_thread.json", "handler": "handlers/untrash_thread.js", "scope": "write", "toolset": "organize" },
|
|
39
|
-
{ "name": "delete_thread", "description": "Permanently and immediately delete an entire thread and all its messages. This cannot be undone. For recoverable deletion, use trash_thread instead.", "inputSchema": "schemas/id_thread.json", "handler": "handlers/delete_thread.js", "scope": "write", "toolset": "organize" },
|
|
40
|
-
|
|
41
|
-
{ "name": "create_label", "description": "Create a new mailbox label with optional visibility and color settings. Label names must be unique. After creating a label, use its returned ID with modify_message or modify_thread to apply it.", "inputSchema": "schemas/create_label.json", "handler": "handlers/create_label.js", "scope": "admin", "toolset": "organize" },
|
|
42
|
-
{ "name": "update_label", "description": "Update (patch) an existing mailbox label's name, color, or visibility settings by label ID. Use list_labels to find label IDs.", "inputSchema": "schemas/update_label.json", "handler": "handlers/update_label.js", "scope": "admin", "toolset": "organize" },
|
|
43
|
-
{ "name": "delete_label", "description": "Permanently delete a mailbox label by label ID. Messages with this label will have it removed but will not be deleted. Use list_labels to find label IDs. System labels (INBOX, SENT, etc.) cannot be deleted.", "inputSchema": "schemas/id_label.json", "handler": "handlers/delete_label.js", "scope": "admin", "toolset": "organize" }
|
|
44
|
-
]
|
|
45
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
## Gmail search query syntax
|
|
2
|
-
|
|
3
|
-
Gmail's `q` parameter supports a powerful search language. Key operators:
|
|
4
|
-
|
|
5
|
-
- `is:unread` / `is:read` — filter by read status
|
|
6
|
-
- `is:starred`, `is:important` — filter by markers
|
|
7
|
-
- `from:user@example.com` — sender filter
|
|
8
|
-
- `to:user@example.com`, `cc:user@example.com` — recipient filters
|
|
9
|
-
- `subject:keyword` — subject line search
|
|
10
|
-
- `has:attachment` — messages with attachments
|
|
11
|
-
- `filename:report.pdf` — specific attachment filename
|
|
12
|
-
- `label:INBOX` — filter by label (use label name or ID)
|
|
13
|
-
- `after:2024/01/01`, `before:2024/12/31` — date range (YYYY/MM/DD)
|
|
14
|
-
- `newer_than:7d`, `older_than:1y` — relative time (d=days, m=months, y=years)
|
|
15
|
-
- `in:sent`, `in:drafts`, `in:trash`, `in:spam` — folder filters
|
|
16
|
-
- `larger:5M`, `smaller:1M` — size filters
|
|
17
|
-
|
|
18
|
-
Combine operators with spaces (implicit AND): `from:alice is:unread has:attachment`
|
|
19
|
-
|
|
20
|
-
## Recommended workflows
|
|
21
|
-
|
|
22
|
-
**Reading emails:**
|
|
23
|
-
1. Use `list_messages` with a `q` query to find relevant message IDs
|
|
24
|
-
2. Use `read_email` on each ID to get decoded subject, from, to, date, and body text
|
|
25
|
-
3. For raw access or advanced format options, use `get_message` with `format='full'`
|
|
26
|
-
|
|
27
|
-
**Searching for threads:**
|
|
28
|
-
1. Use `list_threads` with `q` to find conversation threads
|
|
29
|
-
2. Use `get_thread` to retrieve all messages in a conversation at once
|
|
30
|
-
|
|
31
|
-
**Sending email:**
|
|
32
|
-
- Use `send_email` for the vast majority of cases -- it accepts plain `to`, `subject`, `body` fields
|
|
33
|
-
- Use `create_draft_email` + `send_draft` when you want to create a draft for review before sending
|
|
34
|
-
|
|
35
|
-
**Replying to an email:**
|
|
36
|
-
1. Get the original message with `read_email` to obtain its `threadId` and `id`
|
|
37
|
-
2. Call `send_email` with `replyToMessageId` = original message `id` and `threadId` = original `threadId`
|
|
38
|
-
3. The reply will appear in the same conversation thread
|
|
39
|
-
|
|
40
|
-
## Label IDs
|
|
41
|
-
|
|
42
|
-
System label IDs (always uppercase): `INBOX`, `UNREAD`, `STARRED`, `IMPORTANT`, `SENT`, `DRAFT`, `SPAM`, `TRASH`, `CATEGORY_PERSONAL`, `CATEGORY_SOCIAL`, `CATEGORY_PROMOTIONS`, `CATEGORY_UPDATES`, `CATEGORY_FORUMS`
|
|
43
|
-
|
|
44
|
-
User-created labels have auto-generated IDs. Use `list_labels` to discover them.
|
|
45
|
-
|
|
46
|
-
## Archiving and organizing
|
|
47
|
-
|
|
48
|
-
- Archive a message: `modify_message` with `removeLabelIds=['INBOX']`
|
|
49
|
-
- Mark as read: `modify_message` with `removeLabelIds=['UNREAD']`
|
|
50
|
-
- Star a message: `modify_message` with `addLabelIds=['STARRED']`
|
|
51
|
-
- Apply a label: `modify_message` with `addLabelIds=['<labelId>']`
|
|
52
|
-
- Use `modify_thread` to apply the same operation to all messages in a thread at once
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"userId": { "type": "string", "description": "User email or 'me'. Defaults to 'me'." },
|
|
6
|
-
"to": { "type": "string", "description": "Recipient email address. Optional for drafts." },
|
|
7
|
-
"cc": { "type": "string", "description": "CC recipients, comma-separated." },
|
|
8
|
-
"bcc": { "type": "string", "description": "BCC recipients, comma-separated." },
|
|
9
|
-
"subject": { "type": "string", "description": "Draft subject line." },
|
|
10
|
-
"body": { "type": "string", "description": "Plain text draft body. Used when htmlBody is not provided." },
|
|
11
|
-
"htmlBody": { "type": "string", "description": "HTML draft body. If provided, takes precedence over body." },
|
|
12
|
-
"replyToMessageId": { "type": "string", "description": "Message ID being replied to. Sets In-Reply-To header." },
|
|
13
|
-
"threadId": { "type": "string", "description": "Thread ID to place the draft in an existing conversation." }
|
|
14
|
-
},
|
|
15
|
-
"additionalProperties": false
|
|
16
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["name"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": { "type": "string", "description": "User email address or 'me'. Defaults to 'me'." },
|
|
7
|
-
"name": { "type": "string", "description": "Label display name." },
|
|
8
|
-
"messageListVisibility": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"enum": ["show", "hide"]
|
|
11
|
-
},
|
|
12
|
-
"labelListVisibility": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"enum": ["labelShow", "labelShowIfUnread", "labelHide"]
|
|
15
|
-
},
|
|
16
|
-
"color": {
|
|
17
|
-
"type": "object",
|
|
18
|
-
"properties": {
|
|
19
|
-
"textColor": { "type": "string", "description": "Hex color, e.g. #000000" },
|
|
20
|
-
"backgroundColor": { "type": "string", "description": "Hex color, e.g. #ffffff" }
|
|
21
|
-
},
|
|
22
|
-
"additionalProperties": false
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["messageId"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": { "type": "string", "description": "User email address or 'me'. Defaults to 'me'." },
|
|
7
|
-
"messageId": { "type": "string", "description": "Gmail message ID." },
|
|
8
|
-
"format": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"enum": ["minimal", "full", "raw", "metadata"],
|
|
11
|
-
"description": "Message format. Defaults to full."
|
|
12
|
-
},
|
|
13
|
-
"metadataHeaders": {
|
|
14
|
-
"type": "array",
|
|
15
|
-
"description": "Headers to include when format is metadata.",
|
|
16
|
-
"items": { "type": "string" }
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"additionalProperties": false
|
|
20
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"userId": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"description": "User email address or the special value 'me'. Defaults to 'me'."
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
"additionalProperties": false
|
|
11
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["threadId"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": { "type": "string", "description": "User email address or 'me'. Defaults to 'me'." },
|
|
7
|
-
"threadId": { "type": "string", "description": "Gmail thread ID." },
|
|
8
|
-
"format": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"enum": ["minimal", "full", "metadata"],
|
|
11
|
-
"description": "Thread message format. Defaults to full."
|
|
12
|
-
},
|
|
13
|
-
"metadataHeaders": {
|
|
14
|
-
"type": "array",
|
|
15
|
-
"description": "Headers to include when format is metadata.",
|
|
16
|
-
"items": { "type": "string" }
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"additionalProperties": false
|
|
20
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["draftId"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "User email address or 'me'. Defaults to 'me'."
|
|
9
|
-
},
|
|
10
|
-
"draftId": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "Gmail draft ID."
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"additionalProperties": false
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["labelId"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "User email address or 'me'. Defaults to 'me'."
|
|
9
|
-
},
|
|
10
|
-
"labelId": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "Gmail label ID."
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"additionalProperties": false
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["messageId"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "User email address or 'me'. Defaults to 'me'."
|
|
9
|
-
},
|
|
10
|
-
"messageId": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "Gmail message ID."
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"additionalProperties": false
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["threadId"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "User email address or 'me'. Defaults to 'me'."
|
|
9
|
-
},
|
|
10
|
-
"threadId": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "Gmail thread ID."
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"additionalProperties": false
|
|
16
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"userId": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"description": "User email address or 'me'. Defaults to 'me'."
|
|
8
|
-
},
|
|
9
|
-
"q": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "Gmail search query to filter drafts. Supports the same operators as list_messages: 'subject:keyword', 'to:user@example.com', etc."
|
|
12
|
-
},
|
|
13
|
-
"maxResults": {
|
|
14
|
-
"type": "integer",
|
|
15
|
-
"minimum": 1,
|
|
16
|
-
"maximum": 500,
|
|
17
|
-
"default": 20,
|
|
18
|
-
"description": "Maximum number of drafts to return. Defaults to 20. Use pageToken from the response for the next page."
|
|
19
|
-
},
|
|
20
|
-
"pageToken": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"description": "Page token from a previous list_drafts response. Pass this to retrieve the next page."
|
|
23
|
-
},
|
|
24
|
-
"includeSpamTrash": {
|
|
25
|
-
"type": "boolean",
|
|
26
|
-
"description": "Include drafts from SPAM and TRASH in results. Defaults to false."
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"additionalProperties": false
|
|
30
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"userId": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"description": "User email address or the special value 'me'. Defaults to 'me'."
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
"additionalProperties": false
|
|
11
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"userId": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"description": "User email address or 'me'. Defaults to 'me'."
|
|
8
|
-
},
|
|
9
|
-
"q": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "Gmail search query. Supported operators: 'is:unread', 'is:read', 'from:user@example.com', 'to:user@example.com', 'subject:keyword', 'has:attachment', 'label:INBOX', 'after:2024/01/01', 'before:2024/12/31', 'newer_than:7d', 'older_than:1y', 'in:sent', 'in:drafts'. Combine operators with spaces (implicit AND) or use OR/NOT."
|
|
12
|
-
},
|
|
13
|
-
"labelIds": {
|
|
14
|
-
"type": "array",
|
|
15
|
-
"description": "Filter to messages with all of these label IDs applied. Common IDs: 'INBOX', 'UNREAD', 'STARRED', 'SENT', 'DRAFT', 'SPAM', 'TRASH'. Use list_labels for custom label IDs.",
|
|
16
|
-
"items": { "type": "string" }
|
|
17
|
-
},
|
|
18
|
-
"maxResults": {
|
|
19
|
-
"type": "integer",
|
|
20
|
-
"minimum": 1,
|
|
21
|
-
"maximum": 500,
|
|
22
|
-
"default": 20,
|
|
23
|
-
"description": "Maximum number of messages to return. Defaults to 20. Use pageToken from the response for the next page of results."
|
|
24
|
-
},
|
|
25
|
-
"pageToken": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "Page token from a previous list_messages response. Pass this to retrieve the next page."
|
|
28
|
-
},
|
|
29
|
-
"includeSpamTrash": {
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"description": "Include messages from SPAM and TRASH in results. Defaults to false."
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"additionalProperties": false
|
|
35
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"userId": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"description": "User email address or 'me'. Defaults to 'me'."
|
|
8
|
-
},
|
|
9
|
-
"q": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "Gmail search query. Supported operators: 'is:unread', 'from:user@example.com', 'to:user@example.com', 'subject:keyword', 'has:attachment', 'after:2024/01/01', 'newer_than:7d', 'label:INBOX'. Same syntax as list_messages."
|
|
12
|
-
},
|
|
13
|
-
"labelIds": {
|
|
14
|
-
"type": "array",
|
|
15
|
-
"description": "Filter to threads where all messages have these label IDs. Common IDs: 'INBOX', 'UNREAD', 'STARRED', 'SENT'. Use list_labels for custom label IDs.",
|
|
16
|
-
"items": { "type": "string" }
|
|
17
|
-
},
|
|
18
|
-
"maxResults": {
|
|
19
|
-
"type": "integer",
|
|
20
|
-
"minimum": 1,
|
|
21
|
-
"maximum": 500,
|
|
22
|
-
"default": 20,
|
|
23
|
-
"description": "Maximum number of threads to return. Defaults to 20. Use pageToken from the response for the next page of results."
|
|
24
|
-
},
|
|
25
|
-
"pageToken": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "Page token from a previous list_threads response. Pass this to retrieve the next page."
|
|
28
|
-
},
|
|
29
|
-
"includeSpamTrash": {
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"description": "Include threads from SPAM and TRASH in results. Defaults to false."
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"additionalProperties": false
|
|
35
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["messageId"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": { "type": "string", "description": "User email address or 'me'. Defaults to 'me'." },
|
|
7
|
-
"messageId": { "type": "string", "description": "Gmail message ID." },
|
|
8
|
-
"addLabelIds": {
|
|
9
|
-
"type": "array",
|
|
10
|
-
"items": { "type": "string" },
|
|
11
|
-
"description": "Label IDs to add."
|
|
12
|
-
},
|
|
13
|
-
"removeLabelIds": {
|
|
14
|
-
"type": "array",
|
|
15
|
-
"items": { "type": "string" },
|
|
16
|
-
"description": "Label IDs to remove."
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"anyOf": [
|
|
20
|
-
{ "required": ["addLabelIds"] },
|
|
21
|
-
{ "required": ["removeLabelIds"] }
|
|
22
|
-
],
|
|
23
|
-
"additionalProperties": false
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["threadId"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": { "type": "string", "description": "User email address or 'me'. Defaults to 'me'." },
|
|
7
|
-
"threadId": { "type": "string", "description": "Gmail thread ID." },
|
|
8
|
-
"addLabelIds": {
|
|
9
|
-
"type": "array",
|
|
10
|
-
"items": { "type": "string" },
|
|
11
|
-
"description": "Label IDs to add."
|
|
12
|
-
},
|
|
13
|
-
"removeLabelIds": {
|
|
14
|
-
"type": "array",
|
|
15
|
-
"items": { "type": "string" },
|
|
16
|
-
"description": "Label IDs to remove."
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"anyOf": [
|
|
20
|
-
{ "required": ["addLabelIds"] },
|
|
21
|
-
{ "required": ["removeLabelIds"] }
|
|
22
|
-
],
|
|
23
|
-
"additionalProperties": false
|
|
24
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["messageId"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": { "type": "string", "description": "User email or 'me'. Defaults to 'me'." },
|
|
7
|
-
"messageId": { "type": "string", "description": "Gmail message ID. Obtain from list_messages or search results." }
|
|
8
|
-
},
|
|
9
|
-
"additionalProperties": false
|
|
10
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"userId": { "type": "string", "description": "User email address or 'me'. Defaults to 'me'." },
|
|
6
|
-
"draftId": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "Draft ID to send."
|
|
9
|
-
},
|
|
10
|
-
"raw": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "Optional base64url encoded RFC822 message string for one-off send."
|
|
13
|
-
},
|
|
14
|
-
"threadId": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"description": "Optional existing thread ID when sending a one-off draft payload."
|
|
17
|
-
},
|
|
18
|
-
"labelIds": {
|
|
19
|
-
"type": "array",
|
|
20
|
-
"items": { "type": "string" },
|
|
21
|
-
"description": "Optional label IDs when sending a one-off draft payload."
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"anyOf": [
|
|
25
|
-
{ "required": ["draftId"] },
|
|
26
|
-
{ "required": ["raw"] }
|
|
27
|
-
],
|
|
28
|
-
"additionalProperties": false
|
|
29
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["to", "subject", "body"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": { "type": "string", "description": "User email or 'me'. Defaults to 'me'." },
|
|
7
|
-
"to": { "type": "string", "description": "Recipient email address. Use comma-separated values for multiple recipients (e.g. 'alice@example.com, bob@example.com')." },
|
|
8
|
-
"cc": { "type": "string", "description": "CC recipients, comma-separated." },
|
|
9
|
-
"bcc": { "type": "string", "description": "BCC recipients, comma-separated." },
|
|
10
|
-
"subject": { "type": "string", "description": "Email subject line." },
|
|
11
|
-
"body": { "type": "string", "description": "Plain text email body. Required unless htmlBody is provided." },
|
|
12
|
-
"htmlBody": { "type": "string", "description": "HTML email body. If provided, takes precedence over body and the email is sent as text/html." },
|
|
13
|
-
"replyToMessageId": { "type": "string", "description": "Message ID of the email being replied to. Sets the In-Reply-To header for proper threading. Use with threadId." },
|
|
14
|
-
"threadId": { "type": "string", "description": "Thread ID to add this message to. Required when replying so the reply appears in the same conversation." }
|
|
15
|
-
},
|
|
16
|
-
"additionalProperties": false
|
|
17
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"required": ["labelId"],
|
|
5
|
-
"properties": {
|
|
6
|
-
"userId": { "type": "string", "description": "User email address or 'me'. Defaults to 'me'." },
|
|
7
|
-
"labelId": { "type": "string", "description": "Gmail label ID." },
|
|
8
|
-
"name": { "type": "string", "description": "Label display name." },
|
|
9
|
-
"messageListVisibility": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"enum": ["show", "hide"]
|
|
12
|
-
},
|
|
13
|
-
"labelListVisibility": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"enum": ["labelShow", "labelShowIfUnread", "labelHide"]
|
|
16
|
-
},
|
|
17
|
-
"color": {
|
|
18
|
-
"type": "object",
|
|
19
|
-
"properties": {
|
|
20
|
-
"textColor": { "type": "string", "description": "Hex color, e.g. #000000" },
|
|
21
|
-
"backgroundColor": { "type": "string", "description": "Hex color, e.g. #ffffff" }
|
|
22
|
-
},
|
|
23
|
-
"additionalProperties": false
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"anyOf": [
|
|
27
|
-
{ "required": ["name"] },
|
|
28
|
-
{ "required": ["messageListVisibility"] },
|
|
29
|
-
{ "required": ["labelListVisibility"] },
|
|
30
|
-
{ "required": ["color"] }
|
|
31
|
-
],
|
|
32
|
-
"additionalProperties": false
|
|
33
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Google Sheets
|
|
2
|
-
|
|
3
|
-
**10 tools**
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-
|
|
7
|
-
## Credential variants
|
|
8
|
-
|
|
9
|
-
| Variant | Label |
|
|
10
|
-
|---|---|
|
|
11
|
-
| `service_account` | Service Account (recommended) _(default)_ |
|
|
12
|
-
| `oauth_token` | OAuth Access Token (short-lived) |
|
|
13
|
-
|
|
14
|
-
## Tools
|
|
15
|
-
|
|
16
|
-
| Tool | Scope | Description |
|
|
17
|
-
|---|---|---|
|
|
18
|
-
| `get_spreadsheet` | read | Retrieve spreadsheet metadata including all sheet names, IDs, and properties. Set include… |
|
|
19
|
-
| `read_sheet` | read | Read cell values from a sheet range and return as a Markdown table with A1 column headers… |
|
|
20
|
-
| `create_spreadsheet` | write | Create a new Google Spreadsheet. Accepts a full spreadsheet resource body, allowing you t… |
|
|
21
|
-
| `update_values` | write | Write values to a specific A1 range, replacing existing content. Use valueInputOption='US… |
|
|
22
|
-
| `append_values` | write | Append rows of values after the last row of existing data in a range. Useful for adding n… |
|
|
23
|
-
| `batch_update_values` | write | Write values to multiple A1 ranges in a single API call. More efficient than calling upda… |
|
|
24
|
-
| `clear_values` | write | Clear all values (but not formatting) in the specified A1 range. The cells remain but the… |
|
|
25
|
-
| `batch_clear_values` | write | Clear values from multiple A1 ranges in a single API call. More efficient than calling cl… |
|
|
26
|
-
| `batch_update` | write | Send a spreadsheets.batchUpdate request for structural changes such as addSheet, deleteSh… |
|
|
27
|
-
| `copy_to_spreadsheet` | write | Copy a specific sheet (tab) from one spreadsheet to another. Provide the source spreadshe… |
|