This is page 2 of 2. Use http://codebase.md/maton-ai/agent-toolkit?lines=true&page={x} to view the full context. # Directory Structure ``` ├── .github │ └── workflows │ ├── main.yml │ └── release.yml ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── glama.json ├── LICENSE ├── modelcontextprotocol │ ├── .gitignore │ ├── .prettierrc │ ├── Dockerfile │ ├── eslint.config.mjs │ ├── jest.config.ts │ ├── package.json │ ├── pnpm-lock.yaml │ ├── README.md │ ├── scripts │ │ └── publish │ ├── smithery.yaml │ ├── src │ │ └── index.ts │ └── tsconfig.json ├── README.md ├── SECURITY.md └── typescript ├── .gitignore ├── .prettierrc ├── eslint.config.mjs ├── examples │ ├── ai-sdk │ │ ├── .env.template │ │ ├── index.ts │ │ ├── package.json │ │ ├── README.md │ │ └── tsconfig.json │ ├── langchain │ │ ├── .env.template │ │ ├── index.ts │ │ ├── package.json │ │ ├── README.md │ │ └── tsconfig.json │ └── openai │ ├── .env.template │ ├── index.ts │ ├── package.json │ ├── README.md │ └── tsconfig.json ├── jest.config.ts ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── README.md ├── scripts │ └── publish ├── src │ ├── ai-sdk │ │ ├── index.ts │ │ ├── tool.ts │ │ └── toolkit.ts │ ├── langchain │ │ ├── index.ts │ │ ├── tool.ts │ │ └── toolkit.ts │ ├── modelcontextprotocol │ │ ├── index.ts │ │ └── toolkit.ts │ ├── openai │ │ ├── index.ts │ │ └── toolkit.ts │ └── shared │ ├── api.ts │ ├── configuration.ts │ ├── parameters │ │ ├── airtable.ts │ │ ├── asana.ts │ │ ├── aws.ts │ │ ├── calendly.ts │ │ ├── clickup.ts │ │ ├── google-calendar.ts │ │ ├── google-docs.ts │ │ ├── google-drive.ts │ │ ├── google-mail.ts │ │ ├── google-sheet.ts │ │ ├── hubspot.ts │ │ ├── jira.ts │ │ ├── jotform.ts │ │ ├── klaviyo.ts │ │ ├── mailchimp.ts │ │ ├── notion.ts │ │ ├── outlook.ts │ │ ├── pipedrive.ts │ │ ├── salesforce.ts │ │ ├── shopify.ts │ │ ├── slack.ts │ │ ├── stripe.ts │ │ ├── typeform.ts │ │ └── youtube.ts │ ├── prompts │ │ ├── airtable.ts │ │ ├── asana.ts │ │ ├── aws.ts │ │ ├── calendly.ts │ │ ├── clickup.ts │ │ ├── google-calendar.ts │ │ ├── google-docs.ts │ │ ├── google-drive.ts │ │ ├── google-mail.ts │ │ ├── google-sheet.ts │ │ ├── hubspot.ts │ │ ├── jira.ts │ │ ├── jotform.ts │ │ ├── klaviyo.ts │ │ ├── mailchimp.ts │ │ ├── notion.ts │ │ ├── outlook.ts │ │ ├── pipedrive.ts │ │ ├── salesforce.ts │ │ ├── shopify.ts │ │ ├── slack.ts │ │ ├── stripe.ts │ │ ├── typeform.ts │ │ └── youtube.ts │ └── tools.ts ├── tsconfig.json └── tsup.config.ts ``` # Files -------------------------------------------------------------------------------- /modelcontextprotocol/eslint.config.mjs: -------------------------------------------------------------------------------- ``` 1 | import prettier from "eslint-plugin-prettier"; 2 | import _import from "eslint-plugin-import"; 3 | import { fixupPluginRules } from "@eslint/compat"; 4 | import globals from "globals"; 5 | import typescriptEslint from "@typescript-eslint/eslint-plugin"; 6 | import path from "node:path"; 7 | import { fileURLToPath } from "node:url"; 8 | import js from "@eslint/js"; 9 | import { FlatCompat } from "@eslint/eslintrc"; 10 | 11 | const __filename = fileURLToPath(import.meta.url); 12 | const __dirname = path.dirname(__filename); 13 | const compat = new FlatCompat({ 14 | baseDirectory: __dirname, 15 | recommendedConfig: js.configs.recommended, 16 | allConfig: js.configs.all 17 | }); 18 | 19 | export default [...compat.extends("plugin:prettier/recommended"), { 20 | plugins: { 21 | prettier, 22 | import: fixupPluginRules(_import), 23 | }, 24 | 25 | languageOptions: { 26 | globals: { 27 | ...globals.node, 28 | }, 29 | 30 | ecmaVersion: 2018, 31 | sourceType: "commonjs", 32 | }, 33 | 34 | rules: { 35 | "accessor-pairs": "error", 36 | "array-bracket-spacing": ["error", "never"], 37 | "array-callback-return": "off", 38 | "arrow-parens": "error", 39 | "arrow-spacing": "error", 40 | "block-scoped-var": "off", 41 | "block-spacing": "off", 42 | 43 | "brace-style": ["error", "1tbs", { 44 | allowSingleLine: true, 45 | }], 46 | 47 | "capitalized-comments": "off", 48 | "class-methods-use-this": "off", 49 | "comma-dangle": "off", 50 | "comma-spacing": "off", 51 | "comma-style": ["error", "last"], 52 | complexity: "error", 53 | "computed-property-spacing": ["error", "never"], 54 | "consistent-return": "off", 55 | "consistent-this": "off", 56 | curly: "error", 57 | "default-case": "off", 58 | "dot-location": ["error", "property"], 59 | "dot-notation": "error", 60 | "eol-last": "error", 61 | eqeqeq: "off", 62 | "func-call-spacing": "error", 63 | "func-name-matching": "error", 64 | "func-names": "off", 65 | 66 | "func-style": ["error", "declaration", { 67 | allowArrowFunctions: true, 68 | }], 69 | 70 | "generator-star-spacing": "error", 71 | "global-require": "off", 72 | "guard-for-in": "error", 73 | "handle-callback-err": "off", 74 | "id-blacklist": "error", 75 | "id-length": "off", 76 | "id-match": "error", 77 | "import/extensions": "off", 78 | "init-declarations": "off", 79 | "jsx-quotes": "error", 80 | "key-spacing": "error", 81 | 82 | "keyword-spacing": ["error", { 83 | after: true, 84 | before: true, 85 | }], 86 | 87 | "line-comment-position": "off", 88 | "linebreak-style": ["error", "unix"], 89 | "lines-around-directive": "error", 90 | "max-depth": "error", 91 | "max-len": "off", 92 | "max-lines": "off", 93 | "max-nested-callbacks": "error", 94 | "max-params": "off", 95 | "max-statements": "off", 96 | "max-statements-per-line": "off", 97 | "multiline-ternary": "off", 98 | "new-cap": "off", 99 | "new-parens": "error", 100 | "newline-after-var": "off", 101 | "newline-before-return": "off", 102 | "newline-per-chained-call": "off", 103 | "no-alert": "error", 104 | "no-array-constructor": "error", 105 | "no-await-in-loop": "error", 106 | "no-bitwise": "off", 107 | "no-caller": "error", 108 | "no-catch-shadow": "off", 109 | "no-compare-neg-zero": "error", 110 | "no-confusing-arrow": "error", 111 | "no-continue": "off", 112 | "no-div-regex": "error", 113 | "no-duplicate-imports": "off", 114 | "no-else-return": "off", 115 | "no-empty-function": "off", 116 | "no-eq-null": "off", 117 | "no-eval": "error", 118 | "no-extend-native": "error", 119 | "no-extra-bind": "error", 120 | "no-extra-label": "error", 121 | "no-extra-parens": "off", 122 | "no-floating-decimal": "error", 123 | "no-implicit-globals": "error", 124 | "no-implied-eval": "error", 125 | "no-inline-comments": "off", 126 | "no-inner-declarations": ["error", "functions"], 127 | "no-invalid-this": "off", 128 | "no-iterator": "error", 129 | "no-label-var": "error", 130 | "no-labels": "error", 131 | "no-lone-blocks": "error", 132 | "no-lonely-if": "error", 133 | "no-loop-func": "error", 134 | "no-magic-numbers": "off", 135 | "no-mixed-requires": "error", 136 | "no-multi-assign": "off", 137 | "no-multi-spaces": "error", 138 | "no-multi-str": "error", 139 | "no-multiple-empty-lines": "error", 140 | "no-native-reassign": "error", 141 | "no-negated-condition": "off", 142 | "no-negated-in-lhs": "error", 143 | "no-nested-ternary": "error", 144 | "no-new": "error", 145 | "no-new-func": "error", 146 | "no-new-object": "error", 147 | "no-new-require": "error", 148 | "no-new-wrappers": "error", 149 | "no-octal-escape": "error", 150 | "no-param-reassign": "off", 151 | "no-path-concat": "error", 152 | 153 | "no-plusplus": ["error", { 154 | allowForLoopAfterthoughts: true, 155 | }], 156 | 157 | "no-process-env": "off", 158 | "no-process-exit": "error", 159 | "no-proto": "error", 160 | "no-prototype-builtins": "off", 161 | "no-restricted-globals": "error", 162 | "no-restricted-imports": "error", 163 | "no-restricted-modules": "error", 164 | "no-restricted-properties": "error", 165 | "no-restricted-syntax": "error", 166 | "no-return-assign": "error", 167 | "no-return-await": "error", 168 | "no-script-url": "error", 169 | "no-self-compare": "error", 170 | "no-sequences": "error", 171 | "no-shadow": "off", 172 | "no-shadow-restricted-names": "error", 173 | "no-spaced-func": "error", 174 | "no-sync": "error", 175 | "no-tabs": "error", 176 | "no-template-curly-in-string": "error", 177 | "no-ternary": "off", 178 | "no-throw-literal": "error", 179 | "no-trailing-spaces": "error", 180 | "no-undef-init": "error", 181 | "no-undefined": "off", 182 | "no-underscore-dangle": "off", 183 | "no-unmodified-loop-condition": "error", 184 | "no-unneeded-ternary": "error", 185 | "no-unused-expressions": "error", 186 | 187 | "no-unused-vars": ["error", { 188 | args: "none", 189 | }], 190 | 191 | "no-use-before-define": "off", 192 | "no-useless-call": "error", 193 | "no-useless-computed-key": "error", 194 | "no-useless-concat": "error", 195 | "no-useless-constructor": "error", 196 | "no-useless-escape": "off", 197 | "no-useless-rename": "error", 198 | "no-useless-return": "error", 199 | "no-var": "off", 200 | "no-void": "error", 201 | "no-warning-comments": "error", 202 | "no-whitespace-before-property": "error", 203 | "no-with": "error", 204 | "nonblock-statement-body-position": "error", 205 | "object-curly-newline": "off", 206 | "object-curly-spacing": ["error", "never"], 207 | "object-property-newline": "off", 208 | "object-shorthand": "off", 209 | "one-var": "off", 210 | "one-var-declaration-per-line": "error", 211 | "operator-assignment": ["error", "always"], 212 | "operator-linebreak": "off", 213 | "padded-blocks": "off", 214 | "prefer-arrow-callback": "off", 215 | "prefer-const": "error", 216 | 217 | "prefer-destructuring": ["error", { 218 | array: false, 219 | object: false, 220 | }], 221 | 222 | "prefer-numeric-literals": "error", 223 | "prefer-promise-reject-errors": "error", 224 | "prefer-reflect": "off", 225 | "prefer-rest-params": "off", 226 | "prefer-spread": "off", 227 | "prefer-template": "off", 228 | "quote-props": "off", 229 | 230 | quotes: ["error", "single", { 231 | avoidEscape: true, 232 | }], 233 | 234 | radix: "error", 235 | "require-await": "error", 236 | "require-jsdoc": "off", 237 | "rest-spread-spacing": "error", 238 | semi: "off", 239 | 240 | "semi-spacing": ["error", { 241 | after: true, 242 | before: false, 243 | }], 244 | 245 | "sort-imports": "off", 246 | "sort-keys": "off", 247 | "sort-vars": "error", 248 | "space-before-blocks": "error", 249 | "space-before-function-paren": "off", 250 | "space-in-parens": ["error", "never"], 251 | "space-infix-ops": "error", 252 | "space-unary-ops": "error", 253 | "spaced-comment": ["error", "always"], 254 | strict: "off", 255 | "symbol-description": "error", 256 | "template-curly-spacing": "error", 257 | "template-tag-spacing": "error", 258 | "unicode-bom": ["error", "never"], 259 | "valid-jsdoc": "off", 260 | "vars-on-top": "off", 261 | "wrap-regex": "off", 262 | "yield-star-spacing": "error", 263 | yoda: ["error", "never"], 264 | }, 265 | }, ...compat.extends( 266 | "eslint:recommended", 267 | "plugin:@typescript-eslint/eslint-recommended", 268 | "plugin:@typescript-eslint/recommended", 269 | "plugin:prettier/recommended", 270 | ).map(config => ({ 271 | ...config, 272 | files: ["**/*.ts"], 273 | })), { 274 | files: ["**/*.ts"], 275 | 276 | plugins: { 277 | "@typescript-eslint": typescriptEslint, 278 | prettier, 279 | }, 280 | 281 | rules: { 282 | "@typescript-eslint/no-use-before-define": 0, 283 | "@typescript-eslint/no-empty-interface": 0, 284 | "@typescript-eslint/no-unused-vars": 0, 285 | "@typescript-eslint/triple-slash-reference": 0, 286 | "@typescript-eslint/ban-ts-comment": "off", 287 | "@typescript-eslint/no-empty-function": 0, 288 | "@typescript-eslint/no-require-imports": 0, 289 | 290 | "@typescript-eslint/naming-convention": ["error", { 291 | selector: "default", 292 | format: ["camelCase", "UPPER_CASE", "PascalCase"], 293 | leadingUnderscore: "allow", 294 | }, { 295 | selector: "property", 296 | format: null, 297 | }], 298 | 299 | "@typescript-eslint/no-explicit-any": 0, 300 | "@typescript-eslint/explicit-function-return-type": "off", 301 | "@typescript-eslint/no-this-alias": "off", 302 | "@typescript-eslint/no-var-requires": 0, 303 | "prefer-rest-params": "off", 304 | }, 305 | }, { 306 | files: ["test/**/*.ts"], 307 | 308 | rules: { 309 | "@typescript-eslint/explicit-function-return-type": "off", 310 | }, 311 | }]; 312 | ``` -------------------------------------------------------------------------------- /typescript/eslint.config.mjs: -------------------------------------------------------------------------------- ``` 1 | import prettier from "eslint-plugin-prettier"; 2 | import _import from "eslint-plugin-import"; 3 | import { fixupPluginRules } from "@eslint/compat"; 4 | import globals from "globals"; 5 | import typescriptEslint from "@typescript-eslint/eslint-plugin"; 6 | import path from "node:path"; 7 | import { fileURLToPath } from "node:url"; 8 | import js from "@eslint/js"; 9 | import { FlatCompat } from "@eslint/eslintrc"; 10 | 11 | const __filename = fileURLToPath(import.meta.url); 12 | const __dirname = path.dirname(__filename); 13 | const compat = new FlatCompat({ 14 | baseDirectory: __dirname, 15 | recommendedConfig: js.configs.recommended, 16 | allConfig: js.configs.all 17 | }); 18 | 19 | export default [...compat.extends("plugin:prettier/recommended"), { 20 | plugins: { 21 | prettier, 22 | import: fixupPluginRules(_import), 23 | }, 24 | 25 | languageOptions: { 26 | globals: { 27 | ...globals.node, 28 | }, 29 | 30 | ecmaVersion: 2018, 31 | sourceType: "commonjs", 32 | }, 33 | 34 | rules: { 35 | "accessor-pairs": "error", 36 | "array-bracket-spacing": ["error", "never"], 37 | "array-callback-return": "off", 38 | "arrow-parens": "error", 39 | "arrow-spacing": "error", 40 | "block-scoped-var": "off", 41 | "block-spacing": "off", 42 | 43 | "brace-style": ["error", "1tbs", { 44 | allowSingleLine: true, 45 | }], 46 | 47 | "capitalized-comments": "off", 48 | "class-methods-use-this": "off", 49 | "comma-dangle": "off", 50 | "comma-spacing": "off", 51 | "comma-style": ["error", "last"], 52 | complexity: "error", 53 | "computed-property-spacing": ["error", "never"], 54 | "consistent-return": "off", 55 | "consistent-this": "off", 56 | curly: "error", 57 | "default-case": "off", 58 | "dot-location": ["error", "property"], 59 | "dot-notation": "error", 60 | "eol-last": "error", 61 | eqeqeq: "off", 62 | "func-call-spacing": "error", 63 | "func-name-matching": "error", 64 | "func-names": "off", 65 | 66 | "func-style": ["error", "declaration", { 67 | allowArrowFunctions: true, 68 | }], 69 | 70 | "generator-star-spacing": "error", 71 | "global-require": "off", 72 | "guard-for-in": "error", 73 | "handle-callback-err": "off", 74 | "id-blacklist": "error", 75 | "id-length": "off", 76 | "id-match": "error", 77 | "import/extensions": "off", 78 | "init-declarations": "off", 79 | "jsx-quotes": "error", 80 | "key-spacing": "error", 81 | 82 | "keyword-spacing": ["error", { 83 | after: true, 84 | before: true, 85 | }], 86 | 87 | "line-comment-position": "off", 88 | "linebreak-style": ["error", "unix"], 89 | "lines-around-directive": "error", 90 | "max-depth": "error", 91 | "max-len": "off", 92 | "max-lines": "off", 93 | "max-nested-callbacks": "error", 94 | "max-params": "off", 95 | "max-statements": "off", 96 | "max-statements-per-line": "off", 97 | "multiline-ternary": "off", 98 | "new-cap": "off", 99 | "new-parens": "error", 100 | "newline-after-var": "off", 101 | "newline-before-return": "off", 102 | "newline-per-chained-call": "off", 103 | "no-alert": "error", 104 | "no-array-constructor": "error", 105 | "no-await-in-loop": "error", 106 | "no-bitwise": "off", 107 | "no-caller": "error", 108 | "no-catch-shadow": "off", 109 | "no-compare-neg-zero": "error", 110 | "no-confusing-arrow": "error", 111 | "no-continue": "off", 112 | "no-div-regex": "error", 113 | "no-duplicate-imports": "off", 114 | "no-else-return": "off", 115 | "no-empty-function": "off", 116 | "no-eq-null": "off", 117 | "no-eval": "error", 118 | "no-extend-native": "error", 119 | "no-extra-bind": "error", 120 | "no-extra-label": "error", 121 | "no-extra-parens": "off", 122 | "no-floating-decimal": "error", 123 | "no-implicit-globals": "error", 124 | "no-implied-eval": "error", 125 | "no-inline-comments": "off", 126 | "no-inner-declarations": ["error", "functions"], 127 | "no-invalid-this": "off", 128 | "no-iterator": "error", 129 | "no-label-var": "error", 130 | "no-labels": "error", 131 | "no-lone-blocks": "error", 132 | "no-lonely-if": "error", 133 | "no-loop-func": "error", 134 | "no-magic-numbers": "off", 135 | "no-mixed-requires": "error", 136 | "no-multi-assign": "off", 137 | "no-multi-spaces": "error", 138 | "no-multi-str": "error", 139 | "no-multiple-empty-lines": "error", 140 | "no-native-reassign": "error", 141 | "no-negated-condition": "off", 142 | "no-negated-in-lhs": "error", 143 | "no-nested-ternary": "error", 144 | "no-new": "error", 145 | "no-new-func": "error", 146 | "no-new-object": "error", 147 | "no-new-require": "error", 148 | "no-new-wrappers": "error", 149 | "no-octal-escape": "error", 150 | "no-param-reassign": "off", 151 | "no-path-concat": "error", 152 | 153 | "no-plusplus": ["error", { 154 | allowForLoopAfterthoughts: true, 155 | }], 156 | 157 | "no-process-env": "off", 158 | "no-process-exit": "error", 159 | "no-proto": "error", 160 | "no-prototype-builtins": "off", 161 | "no-restricted-globals": "error", 162 | "no-restricted-imports": "error", 163 | "no-restricted-modules": "error", 164 | "no-restricted-properties": "error", 165 | "no-restricted-syntax": "error", 166 | "no-return-assign": "error", 167 | "no-return-await": "error", 168 | "no-script-url": "error", 169 | "no-self-compare": "error", 170 | "no-sequences": "error", 171 | "no-shadow": "off", 172 | "no-shadow-restricted-names": "error", 173 | "no-spaced-func": "error", 174 | "no-sync": "error", 175 | "no-tabs": "error", 176 | "no-template-curly-in-string": "error", 177 | "no-ternary": "off", 178 | "no-throw-literal": "error", 179 | "no-trailing-spaces": "error", 180 | "no-undef-init": "error", 181 | "no-undefined": "off", 182 | "no-underscore-dangle": "off", 183 | "no-unmodified-loop-condition": "error", 184 | "no-unneeded-ternary": "error", 185 | "no-unused-expressions": "error", 186 | 187 | "no-unused-vars": ["error", { 188 | args: "none", 189 | }], 190 | 191 | "no-use-before-define": "off", 192 | "no-useless-call": "error", 193 | "no-useless-computed-key": "error", 194 | "no-useless-concat": "error", 195 | "no-useless-constructor": "error", 196 | "no-useless-escape": "off", 197 | "no-useless-rename": "error", 198 | "no-useless-return": "error", 199 | "no-var": "off", 200 | "no-void": "error", 201 | "no-warning-comments": "error", 202 | "no-whitespace-before-property": "error", 203 | "no-with": "error", 204 | "nonblock-statement-body-position": "error", 205 | "object-curly-newline": "off", 206 | "object-curly-spacing": ["error", "never"], 207 | "object-property-newline": "off", 208 | "object-shorthand": "off", 209 | "one-var": "off", 210 | "one-var-declaration-per-line": "error", 211 | "operator-assignment": ["error", "always"], 212 | "operator-linebreak": "off", 213 | "padded-blocks": "off", 214 | "prefer-arrow-callback": "off", 215 | "prefer-const": "error", 216 | 217 | "prefer-destructuring": ["error", { 218 | array: false, 219 | object: false, 220 | }], 221 | 222 | "prefer-numeric-literals": "error", 223 | "prefer-promise-reject-errors": "error", 224 | "prefer-reflect": "off", 225 | "prefer-rest-params": "off", 226 | "prefer-spread": "off", 227 | "prefer-template": "off", 228 | "quote-props": "off", 229 | 230 | quotes: ["error", "single", { 231 | avoidEscape: true, 232 | }], 233 | 234 | radix: "error", 235 | "require-await": "error", 236 | "require-jsdoc": "off", 237 | "rest-spread-spacing": "error", 238 | semi: "off", 239 | 240 | "semi-spacing": ["error", { 241 | after: true, 242 | before: false, 243 | }], 244 | 245 | "sort-imports": "off", 246 | "sort-keys": "off", 247 | "sort-vars": "error", 248 | "space-before-blocks": "error", 249 | "space-before-function-paren": "off", 250 | "space-in-parens": ["error", "never"], 251 | "space-infix-ops": "error", 252 | "space-unary-ops": "error", 253 | "spaced-comment": ["error", "always"], 254 | strict: "off", 255 | "symbol-description": "error", 256 | "template-curly-spacing": "error", 257 | "template-tag-spacing": "error", 258 | "unicode-bom": ["error", "never"], 259 | "valid-jsdoc": "off", 260 | "vars-on-top": "off", 261 | "wrap-regex": "off", 262 | "yield-star-spacing": "error", 263 | yoda: ["error", "never"], 264 | }, 265 | }, ...compat.extends( 266 | "eslint:recommended", 267 | "plugin:@typescript-eslint/eslint-recommended", 268 | "plugin:@typescript-eslint/recommended", 269 | "plugin:prettier/recommended", 270 | ).map(config => ({ 271 | ...config, 272 | files: ["**/*.ts"], 273 | })), { 274 | files: ["**/*.ts"], 275 | 276 | plugins: { 277 | "@typescript-eslint": typescriptEslint, 278 | prettier, 279 | }, 280 | 281 | rules: { 282 | "@typescript-eslint/no-use-before-define": 0, 283 | "@typescript-eslint/no-empty-interface": 0, 284 | "@typescript-eslint/no-unused-vars": 0, 285 | "@typescript-eslint/triple-slash-reference": 0, 286 | "@typescript-eslint/ban-ts-comment": "off", 287 | "@typescript-eslint/no-empty-function": 0, 288 | "@typescript-eslint/no-require-imports": 0, 289 | 290 | "@typescript-eslint/naming-convention": ["error", { 291 | selector: "default", 292 | format: ["camelCase", "UPPER_CASE", "PascalCase"], 293 | leadingUnderscore: "allow", 294 | }, { 295 | selector: "property", 296 | format: null, 297 | }], 298 | 299 | "@typescript-eslint/no-explicit-any": 0, 300 | "@typescript-eslint/explicit-function-return-type": "off", 301 | "@typescript-eslint/no-this-alias": "off", 302 | "@typescript-eslint/no-var-requires": 0, 303 | "prefer-rest-params": "off", 304 | }, 305 | }, { 306 | files: ["test/**/*.ts"], 307 | 308 | rules: { 309 | "@typescript-eslint/explicit-function-return-type": "off", 310 | }, 311 | }]; 312 | ``` -------------------------------------------------------------------------------- /typescript/src/shared/parameters/hubspot.ts: -------------------------------------------------------------------------------- ```typescript 1 | import {z} from 'zod'; 2 | 3 | export const checkConnectionParameters = z.object({}); 4 | 5 | export const startConnectionParameters = z.object({}); 6 | 7 | export const transferAgentParameters = z.object({ 8 | user_prompt: z.string().describe('The user prompt'), 9 | }); 10 | 11 | const associationTypesSchema = z.object({ 12 | association_category: z.literal('HUBSPOT_DEFINED'), 13 | association_type_id: z.union([ 14 | z.literal(279), // Contact to Company 15 | z.literal(449), // Contact to Contact 16 | z.literal(4), // Contact to Deal 17 | z.literal(15), // Contact to Ticket 18 | z.literal(341), // Deal to Company 19 | z.literal(3), // Deal to Contact 20 | z.literal(451), // Deal to Deal 21 | z.literal(27), // Deal to Ticket 22 | ]), 23 | }); 24 | 25 | const associationSchema = z.object({ 26 | types: z.array(associationTypesSchema).optional(), 27 | to: z.string().optional(), 28 | }); 29 | 30 | const contactPropertiesSchema = z.object({ 31 | firstname: z.string().optional(), 32 | lastname: z.string().optional(), 33 | email: z.string().optional(), 34 | company: z.string().optional(), 35 | website: z.string().optional(), 36 | mobilephone: z.string().optional(), 37 | phone: z.string().optional(), 38 | fax: z.string().optional(), 39 | address: z.string().optional(), 40 | city: z.string().optional(), 41 | state: z.string().optional(), 42 | zip: z.string().optional(), 43 | country: z.string().optional(), 44 | jobtitle: z.string().optional(), 45 | industry: z.string().optional(), 46 | lifecyclestage: z 47 | .union([ 48 | z.literal('subscriber'), 49 | z.literal('lead'), 50 | z.literal('marketingqualifiedlead'), 51 | z.literal('salesqualifiedlead'), 52 | z.literal('opportunity'), 53 | z.literal('customer'), 54 | z.literal('evangelist'), 55 | z.literal('other'), 56 | ]) 57 | .optional(), 58 | }); 59 | 60 | export const createContactParameters = z.object({ 61 | associations: z.array(associationSchema).optional(), 62 | properties: contactPropertiesSchema.optional(), 63 | }); 64 | 65 | export const getContactParameters = z.object({ 66 | contact_id: z.string().describe('The ID of the contact'), 67 | }); 68 | 69 | export const listContactsParameters = z.object({ 70 | limit: z 71 | .number() 72 | .optional() 73 | .default(100) 74 | .describe( 75 | 'The maximum number of results to display per page. Default: 100. Maximum: 100.' 76 | ), 77 | after: z 78 | .string() 79 | .optional() 80 | .describe( 81 | 'The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.' 82 | ), 83 | properties: z 84 | .array(z.string()) 85 | .optional() 86 | .describe( 87 | 'List of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.' 88 | ), 89 | associations: z 90 | .array(z.string()) 91 | .optional() 92 | .describe( 93 | 'List of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.' 94 | ), 95 | archived: z 96 | .boolean() 97 | .optional() 98 | .describe('Whether to return only results that have been archived.'), 99 | }); 100 | 101 | export const searchContactsParameters = z.object({ 102 | query: z.string().optional().describe('The query of the search.'), 103 | limit: z 104 | .number() 105 | .int() 106 | .min(1) 107 | .max(200) 108 | .default(200) 109 | .describe( 110 | 'The maximum number of results to display per page. Default: 200. Maximum: 200.' 111 | ), 112 | after: z 113 | .string() 114 | .optional() 115 | .describe( 116 | 'The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.' 117 | ), 118 | sorts: z 119 | .array( 120 | z.object({ 121 | propertyName: z.string().describe('The name of the property.'), 122 | direction: z 123 | .enum(['ASCENDING', 'DESCENDING']) 124 | .describe('The direction of the sort.'), 125 | }) 126 | ) 127 | .optional() 128 | .describe('List of sorts containing the following keys:'), 129 | properties: z 130 | .array(z.string()) 131 | .optional() 132 | .describe( 133 | 'List of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.' 134 | ), 135 | filter_groups: z 136 | .array( 137 | z.object({ 138 | filters: z 139 | .array( 140 | z.object({ 141 | high_value: z 142 | .string() 143 | .optional() 144 | .describe('The maximum value of a range.'), 145 | property_name: z 146 | .string() 147 | .optional() 148 | .describe('The name of the property.'), 149 | values: z 150 | .array(z.string()) 151 | .optional() 152 | .describe('List of values to compare.'), 153 | value: z.string().optional().describe('The value to compare.'), 154 | operator: z 155 | .enum([ 156 | 'IN', 157 | 'NOT_HAS_PROPERTY', 158 | 'LT', 159 | 'EQ', 160 | 'GT', 161 | 'NOT_IN', 162 | 'GTE', 163 | 'CONTAINS_TOKEN', 164 | 'HAS_PROPERTY', 165 | 'LTE', 166 | 'NOT_CONTAINS_TOKEN', 167 | 'BETWEEN', 168 | 'NEQ', 169 | ]) 170 | .optional() 171 | .describe('The operator of the filter. Possible values are:'), 172 | }) 173 | ) 174 | .optional() 175 | .describe('List of filters containing the following keys'), 176 | }) 177 | ) 178 | .optional() 179 | .describe('List of filter groups containing the following keys.'), 180 | }); 181 | 182 | export const mergeContactsParameters = z.object({ 183 | object_id_to_merge: z.string({ 184 | description: 'The ID of the object to merge.', 185 | }), 186 | primary_object_id: z.string({ 187 | description: 'The ID of the primary object of the merge.', 188 | }), 189 | }); 190 | 191 | export const updateContactParameters = z.object({ 192 | contact_id: z.string(), 193 | properties: z.optional( 194 | z.object({ 195 | firstname: z.optional(z.string()), 196 | lastname: z.optional(z.string()), 197 | email: z.optional(z.string()), 198 | company: z.optional(z.string()), 199 | website: z.optional(z.string()), 200 | mobilephone: z.optional(z.string()), 201 | phone: z.optional(z.string()), 202 | fax: z.optional(z.string()), 203 | address: z.optional(z.string()), 204 | city: z.optional(z.string()), 205 | state: z.optional(z.string()), 206 | zip: z.optional(z.string()), 207 | country: z.optional(z.string()), 208 | jobtitle: z.optional(z.string()), 209 | industry: z.optional(z.string()), 210 | lifecyclestage: z.optional( 211 | z.enum([ 212 | 'subscriber', 213 | 'lead', 214 | 'marketingqualifiedlead', 215 | 'salesqualifiedlead', 216 | 'opportunity', 217 | 'customer', 218 | 'evangelist', 219 | 'other', 220 | ]) 221 | ), 222 | }) 223 | ), 224 | }); 225 | 226 | export const deleteContactParameters = z.object({ 227 | contact_id: z.string().describe('The ID of the contact'), 228 | }); 229 | 230 | const dealPropertiesSchema = z.object({ 231 | dealname: z.string(), 232 | dealstage: z.enum([ 233 | 'appointmentscheduled', 234 | 'qualifiedtobuy', 235 | 'presentationscheduled', 236 | 'decisionmakerboughtin', 237 | 'contractsent', 238 | 'closedwon', 239 | 'closedlost', 240 | ]), 241 | amount: z.number().optional(), 242 | closed_lost_reason: z.string().optional(), 243 | closed_won_reason: z.string().optional(), 244 | closedate: z.date().optional(), 245 | createdate: z.date().optional(), 246 | dealtype: z.enum(['newbusiness', 'existingbusiness']).optional(), 247 | description: z.string().optional(), 248 | hs_priority: z.enum(['low', 'medium', 'high']).optional(), 249 | pipeline: z.enum(['default']).optional(), 250 | }); 251 | 252 | export const createDealParameters = z.object({ 253 | associations: z.array(associationSchema).optional(), 254 | properties: dealPropertiesSchema.optional(), 255 | }); 256 | 257 | export const getDealParameters = z.object({ 258 | deal_id: z.string().describe('The ID of the deal'), 259 | }); 260 | 261 | export const listDealsParameters = z.object({ 262 | limit: z 263 | .number() 264 | .optional() 265 | .describe( 266 | 'The maximum number of results to display per page. Default: 100. Maximum: 100.' 267 | ), 268 | after: z 269 | .string() 270 | .optional() 271 | .describe( 272 | 'The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.' 273 | ), 274 | properties: z 275 | .array(z.string()) 276 | .optional() 277 | .describe( 278 | 'List of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.' 279 | ), 280 | associations: z 281 | .array(z.string()) 282 | .optional() 283 | .describe( 284 | 'List of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.' 285 | ), 286 | archived: z 287 | .boolean() 288 | .optional() 289 | .describe('Whether to return only results that have been archived.'), 290 | }); 291 | 292 | export const searchDealsParameters = z.object({ 293 | query: z.string().optional(), 294 | limit: z.number().optional().default(200), 295 | after: z.string().optional(), 296 | sorts: z 297 | .array( 298 | z.object({ 299 | propertyName: z.string(), 300 | direction: z.union([z.literal('ASCENDING'), z.literal('DESCENDING')]), 301 | }) 302 | ) 303 | .optional(), 304 | properties: z.array(z.string()).optional(), 305 | filter_groups: z 306 | .array( 307 | z.object({ 308 | filters: z 309 | .array( 310 | z.object({ 311 | high_value: z.string().optional(), 312 | property_name: z.string().optional(), 313 | values: z.array(z.string()).optional(), 314 | value: z.string().optional(), 315 | operator: z.union([ 316 | z.literal('IN'), 317 | z.literal('NOT_HAS_PROPERTY'), 318 | z.literal('LT'), 319 | z.literal('EQ'), 320 | z.literal('GT'), 321 | z.literal('NOT_IN'), 322 | z.literal('GTE'), 323 | z.literal('CONTAINS_TOKEN'), 324 | z.literal('HAS_PROPERTY'), 325 | z.literal('LTE'), 326 | z.literal('NOT_CONTAINS_TOKEN'), 327 | z.literal('BETWEEN'), 328 | z.literal('NEQ'), 329 | ]), 330 | }) 331 | ) 332 | .optional(), 333 | }) 334 | ) 335 | .optional(), 336 | }); 337 | 338 | export const mergeDealParameters = z.object({ 339 | object_id_to_merge: z.string().describe('The ID of the object to merge.'), 340 | primary_object_id: z 341 | .string() 342 | .describe('The ID of the primary object of the merge.'), 343 | }); 344 | 345 | export const updateDealParameters = z.object({ 346 | deal_id: z.string().describe('The ID of the deal.'), 347 | properties: z 348 | .object({ 349 | firstname: z 350 | .string() 351 | .optional() 352 | .describe('The first name of the contact.'), 353 | lastname: z.string().optional().describe('The last name of the contact.'), 354 | email: z 355 | .string() 356 | .optional() 357 | .describe('The email address of the contact.'), 358 | company: z.string().optional().describe('The company of the contact.'), 359 | website: z.string().optional().describe('The website of the contact.'), 360 | mobilephone: z 361 | .string() 362 | .optional() 363 | .describe('The mobile phone number of the contact.'), 364 | phone: z.string().optional().describe('The phone number of the contact.'), 365 | fax: z.string().optional().describe('The fax number of the contact.'), 366 | address: z.string().optional().describe('The address of the contact.'), 367 | city: z.string().optional().describe('The city of the contact.'), 368 | state: z.string().optional().describe('The state of the contact.'), 369 | zip: z.string().optional().describe('The zip code of the contact.'), 370 | country: z.string().optional().describe('The country of the contact.'), 371 | jobtitle: z.string().optional().describe('The job title of the contact.'), 372 | industry: z.string().optional().describe('The industry of the contact.'), 373 | lifecyclestage: z 374 | .enum([ 375 | 'subscriber', 376 | 'lead', 377 | 'marketingqualifiedlead', 378 | 'salesqualifiedlead', 379 | 'opportunity', 380 | 'customer', 381 | 'evangelist', 382 | 'other', 383 | ]) 384 | .optional() 385 | .describe('The lifecycle stage of the contact.'), 386 | }) 387 | .optional(), 388 | }); 389 | 390 | export const deleteDealParameters = z.object({ 391 | deal_id: z.string().describe('The ID of the deal'), 392 | }); 393 | ``` -------------------------------------------------------------------------------- /typescript/src/shared/tools.ts: -------------------------------------------------------------------------------- ```typescript 1 | import {z} from 'zod'; 2 | 3 | import { 4 | checkConnectionPrompt as airtableCheckConnectionPrompt, 5 | startConnectionPrompt as airtableStartConnectionPrompt, 6 | transferAgentPrompt as airtableTransferAgentPrompt, 7 | listBasesPrompt as airtableListBasesPrompt, 8 | listRecordsPrompt as airtableListRecordsPrompt, 9 | listTablesPrompt as airtableListTablesPrompt, 10 | } from './prompts/airtable'; 11 | import { 12 | checkConnectionPrompt as asanaCheckConnectionPrompt, 13 | startConnectionPrompt as asanaStartConnectionPrompt, 14 | transferAgentPrompt as asanaTransferAgentPrompt, 15 | createTaskPrompt as asanaCreateTaskPrompt, 16 | getTaskPrompt as asanaGetTaskPrompt, 17 | listProjectsPrompt as asanaListProjectsPrompt, 18 | listTasksPrompt as asanaListTasksPrompt, 19 | listWorkspacesPrompt as asanaListWorkspacesPrompt, 20 | } from './prompts/asana'; 21 | import { 22 | checkConnectionPrompt as awsCheckConnectionPrompt, 23 | startConnectionPrompt as awsStartConnectionPrompt, 24 | transferAgentPrompt as awsTransferAgentPrompt, 25 | getS3ObjectPrompt as awsGetS3ObjectPrompt, 26 | listS3BucketsPrompt as awsListS3BucketsPrompt, 27 | listS3ObjectsPrompt as awsListS3ObjectsPrompt, 28 | } from './prompts/aws'; 29 | import { 30 | checkConnectionPrompt as calendlyCheckConnectionPrompt, 31 | startConnectionPrompt as calendlyStartConnectionPrompt, 32 | transferAgentPrompt as calendlyTransferAgentPrompt, 33 | getEventPrompt as calendlyGetEventPrompt, 34 | listEventInviteesPrompt as calendlyListEventInviteesPrompt, 35 | listEventTypesPrompt as calendlyListEventTypesPrompt, 36 | listEventsPrompt as calendlyListEventsPrompt, 37 | } from './prompts/calendly'; 38 | import { 39 | checkConnectionPrompt as clickupCheckConnectionPrompt, 40 | startConnectionPrompt as clickupStartConnectionPrompt, 41 | transferAgentPrompt as clickupTransferAgentPrompt, 42 | createTaskPrompt as clickupCreateTaskPrompt, 43 | deleteTaskPrompt as clickupDeleteTaskPrompt, 44 | getTaskPrompt as clickupGetTaskPrompt, 45 | listFoldersPrompt as clickupListFoldersPrompt, 46 | listListsPrompt as clickupListListsPrompt, 47 | listSpacesPrompt as clickupListSpacesPrompt, 48 | listTasksPrompt as clickupListTasksPrompt, 49 | listWorkspacesPrompt as clickupListWorkspacesPrompt, 50 | } from './prompts/clickup'; 51 | import { 52 | checkConnectionPrompt as googleCalendarCheckConnectionPrompt, 53 | startConnectionPrompt as googleCalendarStartConnectionPrompt, 54 | transferAgentPrompt as googleCalendarTransferAgentPrompt, 55 | createEventPrompt as googleCalendarCreateEventPrompt, 56 | deleteEventPrompt as googleCalendarDeleteEventPrompt, 57 | getCalendarPrompt as googleCalendarGetCalendarPrompt, 58 | getEventPrompt as googleCalendarGetEventPrompt, 59 | listCalendarsPrompt as googleCalendarListCalendarsPrompt, 60 | listEventsPrompt as googleCalendarListEventsPrompt, 61 | updateEventPrompt as googleCalendarUpdateEventPrompt, 62 | } from './prompts/google-calendar'; 63 | import { 64 | checkConnectionPrompt as googleDocsCheckConnectionPrompt, 65 | startConnectionPrompt as googleDocsStartConnectionPrompt, 66 | transferAgentPrompt as googleDocsTransferAgentPrompt, 67 | appendTextPrompt as googleDocsAppendTextPrompt, 68 | createDocumentPrompt as googleDocsCreateDocumentPrompt, 69 | findDocumentPrompt as googleDocsFindDocumentPrompt, 70 | getDocumentPrompt as googleDocsGetDocumentPrompt, 71 | } from './prompts/google-docs'; 72 | import { 73 | checkConnectionPrompt as googleDriveCheckConnectionPrompt, 74 | startConnectionPrompt as googleDriveStartConnectionPrompt, 75 | transferAgentPrompt as googleDriveTransferAgentPrompt, 76 | createFilePrompt as googleDriveCreateFilePrompt, 77 | createFolderPrompt as googleDriveCreateFolderPrompt, 78 | deleteFilePrompt as googleDriveDeleteFilePrompt, 79 | findFilePrompt as googleDriveFindFilePrompt, 80 | findFolderPrompt as googleDriveFindFolderPrompt, 81 | getFilePrompt as googleDriveGetFilePrompt, 82 | listFilesPrompt as googleDriveListFilesPrompt, 83 | } from './prompts/google-drive'; 84 | import { 85 | checkConnectionPrompt as googleMailCheckConnectionPrompt, 86 | startConnectionPrompt as googleMailStartConnectionPrompt, 87 | transferAgentPrompt as googleMailTransferAgentPrompt, 88 | addLabelToEmailPrompt as googleMailAddLabelToEmailPrompt, 89 | createDraftPrompt as googleMailCreateDraftPrompt, 90 | findEmailPrompt as googleMailFindEmailPrompt, 91 | listLabelsPrompt as googleMailListLabelsPrompt, 92 | sendEmailPrompt as googleMailSendEmailPrompt, 93 | removeLabelFromEmailPrompt as googleMailRemoveLabelFromEmailPrompt, 94 | } from './prompts/google-mail'; 95 | import { 96 | checkConnectionPrompt as googleSheetCheckConnectionPrompt, 97 | startConnectionPrompt as googleSheetStartConnectionPrompt, 98 | transferAgentPrompt as googleSheetTransferAgentPrompt, 99 | addColumnPrompt as googleSheetAddColumnPrompt, 100 | addMultipleRowsPrompt as googleSheetAddMultipleRowsPrompt, 101 | clearCellPrompt as googleSheetClearCellPrompt, 102 | clearRowsPrompt as googleSheetClearRowsPrompt, 103 | createSpreadsheetPrompt as googleSheetCreateSpreadsheetPrompt, 104 | createWorksheetPrompt as googleSheetCreateWorksheetPrompt, 105 | deleteRowsPrompt as googleSheetDeleteRowsPrompt, 106 | deleteWorksheetPrompt as googleSheetDeleteWorksheetPrompt, 107 | findRowPrompt as googleSheetFindRowPrompt, 108 | getCellPrompt as googleSheetGetCellPrompt, 109 | getSpreadsheetPrompt as googleSheetGetSpreadsheetPrompt, 110 | getValuesInRangePrompt as googleSheetGetValuesInRangePrompt, 111 | listWorksheetsPrompt as googleSheetListWorksheetsPrompt, 112 | updateCellPrompt as googleSheetUpdateCellPrompt, 113 | updateMultipleRowsPrompt as googleSheetUpdateMultipleRowsPrompt, 114 | updateRowPrompt as googleSheetUpdateRowPrompt, 115 | } from './prompts/google-sheet'; 116 | import { 117 | checkConnectionPrompt as hubspotCheckConnectionPrompt, 118 | startConnectionPrompt as hubspotStartConnectionPrompt, 119 | transferAgentPrompt as hubspotTransferAgentPrompt, 120 | createContactPrompt as hubspotCreateContactPrompt, 121 | getContactPrompt as hubspotGetContactPrompt, 122 | listContactsPrompt as hubspotListContactsPrompt, 123 | searchContactsPrompt as hubspotSearchContactsPrompt, 124 | mergeContactsPrompt as hubspotMergeContactsPrompt, 125 | updateContactPrompt as hubspotUpdateContactPrompt, 126 | deleteContactPrompt as hubspotDeleteContactPrompt, 127 | createDealPrompt as hubspotCreateDealPrompt, 128 | getDealPrompt as hubspotGetDealPrompt, 129 | listDealsPrompt as hubspotListDealsPrompt, 130 | searchDealsPrompt as hubspotSearchDealsPrompt, 131 | mergeDealPrompt as hubspotMergeDealPrompt, 132 | updateDealPrompt as hubspotUpdateDealPrompt, 133 | deleteDealPrompt as hubspotDeleteDealPrompt, 134 | } from './prompts/hubspot'; 135 | import { 136 | checkConnectionPrompt as jiraCheckConnectionPrompt, 137 | startConnectionPrompt as jiraStartConnectionPrompt, 138 | transferAgentPrompt as jiraTransferAgentPrompt, 139 | listCloudsPrompt as jiraListCloudsPrompt, 140 | getIssuePrompt as jiraGetIssuePrompt, 141 | listIssuesPrompt as jiraListIssuesPrompt, 142 | addCommentToIssuePrompt as jiraAddCommentToIssuePrompt, 143 | listCommentsPrompt as jiraListCommentsPrompt, 144 | updateCommentPrompt as jiraUpdateCommentPrompt, 145 | listProjectsPrompt as jiraListProjectsPrompt, 146 | getUserPrompt as jiraGetUserPrompt, 147 | listUsersPrompt as jiraListUsersPrompt, 148 | } from './prompts/jira'; 149 | import { 150 | checkConnectionPrompt as jotformCheckConnectionPrompt, 151 | startConnectionPrompt as jotformStartConnectionPrompt, 152 | transferAgentPrompt as jotformTransferAgentPrompt, 153 | listFormsPrompt as jotformListFormsPrompt, 154 | listSubmissionsPrompt as jotformListSubmissionsPrompt, 155 | } from './prompts/jotform'; 156 | import { 157 | checkConnectionPrompt as klaviyoCheckConnectionPrompt, 158 | startConnectionPrompt as klaviyoStartConnectionPrompt, 159 | transferAgentPrompt as klaviyoTransferAgentPrompt, 160 | addProfilesToListPrompt as klaviyoAddProfilesToListPrompt, 161 | assignTemplateToCampaignMessagePrompt as klaviyoAssignTemplateToCampaignMessagePrompt, 162 | createCampaignPrompt as klaviyoCreateCampaignPrompt, 163 | createListPrompt as klaviyoCreateListPrompt, 164 | createProfilePrompt as klaviyoCreateProfilePrompt, 165 | createTemplatePrompt as klaviyoCreateTemplatePrompt, 166 | getCampaignMessagesPrompt as klaviyoGetCampaignMessagesPrompt, 167 | getCampaignSendJobPrompt as klaviyoGetCampaignSendJobPrompt, 168 | getCampaignsPrompt as klaviyoGetCampaignsPrompt, 169 | getListsPrompt as klaviyoGetListsPrompt, 170 | getProfilesForListPrompt as klaviyoGetProfilesForListPrompt, 171 | getProfilesPrompt as klaviyoGetProfilesPrompt, 172 | getTemplatesPrompt as klaviyoGetTemplatesPrompt, 173 | sendCampaignPrompt as klaviyoSendCampaignPrompt, 174 | } from './prompts/klaviyo'; 175 | import { 176 | checkConnectionPrompt as mailchimpCheckConnectionPrompt, 177 | startConnectionPrompt as mailchimpStartConnectionPrompt, 178 | transferAgentPrompt as mailchimpTransferAgentPrompt, 179 | getCampaignPrompt as mailchimpGetCampaignPrompt, 180 | searchCampaignPrompt as mailchimpSearchCampaignPrompt, 181 | } from './prompts/mailchimp'; 182 | import { 183 | checkConnectionPrompt as notionCheckConnectionPrompt, 184 | startConnectionPrompt as notionStartConnectionPrompt, 185 | transferAgentPrompt as notionTransferAgentPrompt, 186 | createPagePrompt as notionCreatePagePrompt, 187 | findPagePrompt as notionFindPagePrompt, 188 | getPagePrompt as notionGetPagePrompt, 189 | } from './prompts/notion'; 190 | import { 191 | checkConnectionPrompt as outlookCheckConnectionPrompt, 192 | startConnectionPrompt as outlookStartConnectionPrompt, 193 | transferAgentPrompt as outlookTransferAgentPrompt, 194 | createDraftPrompt as outlookCreateDraftPrompt, 195 | findEmailPrompt as outlookFindEmailPrompt, 196 | sendEmailPrompt as outlookSendEmailPrompt, 197 | } from './prompts/outlook'; 198 | import { 199 | checkConnectionPrompt as pipedriveCheckConnectionPrompt, 200 | startConnectionPrompt as pipedriveStartConnectionPrompt, 201 | transferAgentPrompt as pipedriveTransferAgentPrompt, 202 | searchPeoplePrompt as pipedriveSearchPeoplePrompt, 203 | } from './prompts/pipedrive'; 204 | import { 205 | checkConnectionPrompt as salesforceCheckConnectionPrompt, 206 | startConnectionPrompt as salesforceStartConnectionPrompt, 207 | transferAgentPrompt as salesforceTransferAgentPrompt, 208 | createContactPrompt as salesforceCreateContactPrompt, 209 | getContactPrompt as salesforceGetContactPrompt, 210 | listContactsPrompt as salesforceListContactsPrompt, 211 | } from './prompts/salesforce'; 212 | import { 213 | checkConnectionPrompt as shopifyCheckConnectionPrompt, 214 | startConnectionPrompt as shopifyStartConnectionPrompt, 215 | transferAgentPrompt as shopifyTransferAgentPrompt, 216 | createOrderPrompt as shopifyCreateOrderPrompt, 217 | getOrderPrompt as shopifyGetOrderPrompt, 218 | listOrdersPrompt as shopifyListOrdersPrompt, 219 | } from './prompts/shopify'; 220 | import { 221 | checkConnectionPrompt as slackCheckConnectionPrompt, 222 | startConnectionPrompt as slackStartConnectionPrompt, 223 | transferAgentPrompt as slackTransferAgentPrompt, 224 | listChannelsPrompt as slackListChannelsPrompt, 225 | listMessagesPrompt as slackListMessagesPrompt, 226 | listRepliesPrompt as slackListRepliesPrompt, 227 | sendMessagePrompt as slackSendMessagePrompt, 228 | } from './prompts/slack'; 229 | import { 230 | checkConnectionPrompt as stripeCheckConnectionPrompt, 231 | startConnectionPrompt as stripeStartConnectionPrompt, 232 | transferAgentPrompt as stripeTransferAgentPrompt, 233 | createCustomerPrompt as stripeCreateCustomerPrompt, 234 | createInvoiceItemPrompt as stripeCreateInvoiceItemPrompt, 235 | createInvoicePrompt as stripeCreateInvoicePrompt, 236 | deleteCustomerPrompt as stripeDeleteCustomerPrompt, 237 | getCustomerPrompt as stripeGetCustomerPrompt, 238 | getInvoicePrompt as stripeGetInvoicePrompt, 239 | listCustomersPrompt as stripeListCustomersPrompt, 240 | listInvoicesPrompt as stripeListInvoicesPrompt, 241 | } from './prompts/stripe'; 242 | import { 243 | checkConnectionPrompt as typeformCheckConnectionPrompt, 244 | startConnectionPrompt as typeformStartConnectionPrompt, 245 | transferAgentPrompt as typeformTransferAgentPrompt, 246 | getFormPrompt as typeformGetFormPrompt, 247 | listFormsPrompt as typeformListFormsPrompt, 248 | listResponsesPrompt as typeformListResponsesPrompt, 249 | } from './prompts/typeform'; 250 | import { 251 | checkConnectionPrompt as youtubeCheckConnectionPrompt, 252 | startConnectionPrompt as youtubeStartConnectionPrompt, 253 | transferAgentPrompt as youtubeTransferAgentPrompt, 254 | listVideosPrompt as youtubeListVideosPrompt, 255 | searchVideosPrompt as youtubeSearchVideosPrompt, 256 | } from './prompts/youtube'; 257 | 258 | import { 259 | checkConnectionParameters as airtableCheckConnectionParameters, 260 | startConnectionParameters as airtableStartConnectionParameters, 261 | transferAgentParameters as airtableTransferAgentParameters, 262 | listBasesParameters as airtableListBasesParameters, 263 | listRecordsParameters as airtableListRecordsParameters, 264 | listTablesParameters as airtableListTablesParameters, 265 | } from './parameters/airtable'; 266 | import { 267 | checkConnectionParameters as asanaCheckConnectionParameters, 268 | startConnectionParameters as asanaStartConnectionParameters, 269 | transferAgentParameters as asanaTransferAgentParameters, 270 | createTaskParameters as asanaCreateTaskParameters, 271 | getTaskParameters as asanaGetTaskParameters, 272 | listProjectsParameters as asanaListProjectsParameters, 273 | listTasksParameters as asanaListTasksParameters, 274 | listWorkspacesParameters as asanaListWorkspacesParameters, 275 | } from './parameters/asana'; 276 | import { 277 | checkConnectionParameters as awsCheckConnectionParameters, 278 | startConnectionParameters as awsStartConnectionParameters, 279 | transferAgentParameters as awsTransferAgentParameters, 280 | getS3ObjectParameters as awsGetS3ObjectParameters, 281 | listS3BucketsParameters as awsListS3BucketsParameters, 282 | listS3ObjectsParameters as awsListS3ObjectsParameters, 283 | } from './parameters/aws'; 284 | import { 285 | checkConnectionParameters as calendlyCheckConnectionParameters, 286 | startConnectionParameters as calendlyStartConnectionParameters, 287 | transferAgentParameters as calendlyTransferAgentParameters, 288 | getEventParameters as calendlyGetEventParameters, 289 | listEventInviteesParameters as calendlyListEventInviteesParameters, 290 | listEventTypesParameters as calendlyListEventTypesParameters, 291 | listEventsParameters as calendlyListEventsParameters, 292 | } from './parameters/calendly'; 293 | import { 294 | checkConnectionParameters as clickupCheckConnectionParameters, 295 | startConnectionParameters as clickupStartConnectionParameters, 296 | transferAgentParameters as clickupTransferAgentParameters, 297 | createTaskParameters as clickupCreateTaskParameters, 298 | deleteTaskParameters as clickupDeleteTaskParameters, 299 | getTaskParameters as clickupGetTaskParameters, 300 | listFoldersParameters as clickupListFoldersParameters, 301 | listListsParameters as clickupListListsParameters, 302 | listSpacesParameters as clickupListSpacesParameters, 303 | listTasksParameters as clickupListTasksParameters, 304 | listWorkspacesParameters as clickupListWorkspacesParameters, 305 | } from './parameters/clickup'; 306 | import { 307 | checkConnectionParameters as googleCalendarCheckConnectionParameters, 308 | startConnectionParameters as googleCalendarStartConnectionParameters, 309 | transferAgentParameters as googleCalendarTransferAgentParameters, 310 | createEventParameters as googleCalendarCreateEventParameters, 311 | deleteEventParameters as googleCalendarDeleteEventParameters, 312 | getCalendarParameters as googleCalendarGetCalendarParameters, 313 | getEventParameters as googleCalendarGetEventParameters, 314 | listCalendarsParameters as googleCalendarListCalendarsParameters, 315 | listEventsParameters as googleCalendarListEventsParameters, 316 | updateEventParameters as googleCalendarUpdateEventParameters, 317 | } from './parameters/google-calendar'; 318 | import { 319 | checkConnectionParameters as googleDocsCheckConnectionParameters, 320 | startConnectionParameters as googleDocsStartConnectionParameters, 321 | transferAgentParameters as googleDocsTransferAgentParameters, 322 | appendTextParameters as googleDocsAppendTextParameters, 323 | createDocumentParameters as googleDocsCreateDocumentParameters, 324 | findDocumentParameters as googleDocsFindDocumentParameters, 325 | getDocumentParameters as googleDocsGetDocumentParameters, 326 | } from './parameters/google-docs'; 327 | import { 328 | checkConnectionParameters as googleDriveCheckConnectionParameters, 329 | startConnectionParameters as googleDriveStartConnectionParameters, 330 | transferAgentParameters as googleDriveTransferAgentParameters, 331 | createFileParameters as googleDriveCreateFileParameters, 332 | createFolderParameters as googleDriveCreateFolderParameters, 333 | deleteFileParameters as googleDriveDeleteFileParameters, 334 | findFileParameters as googleDriveFindFileParameters, 335 | findFolderParameters as googleDriveFindFolderParameters, 336 | getFileParameters as googleDriveGetFileParameters, 337 | listFilesParameters as googleDriveListFilesParameters, 338 | } from './parameters/google-drive'; 339 | import { 340 | checkConnectionParameters as googleMailCheckConnectionParameters, 341 | startConnectionParameters as googleMailStartConnectionParameters, 342 | transferAgentParameters as googleMailTransferAgentParameters, 343 | addLabelToEmailParameters as googleMailAddLabelToEmailParameters, 344 | createDraftParameters as googleMailCreateDraftParameters, 345 | findEmailParameters as googleMailFindEmailParameters, 346 | listLabelsParameters as googleMailListLabelsParameters, 347 | sendEmailParameters as googleMailSendEmailParameters, 348 | removeLabelFromEmailParameters as googleMailRemoveLabelFromEmailParameters, 349 | } from './parameters/google-mail'; 350 | import { 351 | checkConnectionParameters as googleSheetCheckConnectionParameters, 352 | startConnectionParameters as googleSheetStartConnectionParameters, 353 | transferAgentParameters as googleSheetTransferAgentParameters, 354 | addColumnParameters as googleSheetAddColumnParameters, 355 | addMultipleRowsParameters as googleSheetAddMultipleRowsParameters, 356 | clearCellParameters as googleSheetClearCellParameters, 357 | clearRowsParameters as googleSheetClearRowsParameters, 358 | createSpreadsheetParameters as googleSheetCreateSpreadsheetParameters, 359 | createWorksheetParameters as googleSheetCreateWorksheetParameters, 360 | deleteRowsParameters as googleSheetDeleteRowsParameters, 361 | deleteWorksheetParameters as googleSheetDeleteWorksheetParameters, 362 | findRowParameters as googleSheetFindRowParameters, 363 | getCellParameters as googleSheetGetCellParameters, 364 | getSpreadsheetParameters as googleSheetGetSpreadsheetParameters, 365 | getValuesInRangeParameters as googleSheetGetValuesInRangeParameters, 366 | listWorksheetsParameters as googleSheetListWorksheetsParameters, 367 | updateCellParameters as googleSheetUpdateCellParameters, 368 | updateMultipleRowsParameters as googleSheetUpdateMultipleRowsParameters, 369 | updateRowParameters as googleSheetUpdateRowParameters, 370 | } from './parameters/google-sheet'; 371 | import { 372 | checkConnectionParameters as hubspotCheckConnectionParameters, 373 | startConnectionParameters as hubspotStartConnectionParameters, 374 | transferAgentParameters as hubspotTransferAgentParameters, 375 | createContactParameters as hubspotCreateContactParameters, 376 | getContactParameters as hubspotGetContactParameters, 377 | listContactsParameters as hubspotListContactsParameters, 378 | searchContactsParameters as hubspotSearchContactsParameters, 379 | mergeContactsParameters as hubspotMergeContactsParameters, 380 | updateContactParameters as hubspotUpdateContactParameters, 381 | deleteContactParameters as hubspotDeleteContactParameters, 382 | createDealParameters as hubspotCreateDealParameters, 383 | getDealParameters as hubspotGetDealParameters, 384 | listDealsParameters as hubspotListDealsParameters, 385 | searchDealsParameters as hubspotSearchDealsParameters, 386 | mergeDealParameters as hubspotMergeDealParameters, 387 | updateDealParameters as hubspotUpdateDealParameters, 388 | deleteDealParameters as hubspotDeleteDealParameters, 389 | } from './parameters/hubspot'; 390 | import { 391 | checkConnectionParameters as jiraCheckConnectionParameters, 392 | startConnectionParameters as jiraStartConnectionParameters, 393 | transferAgentParameters as jiraTransferAgentParameters, 394 | listCloudsParameters as jiraListCloudsParameters, 395 | getIssueParameters as jiraGetIssueParameters, 396 | listIssuesParameters as jiraListIssuesParameters, 397 | addCommentToIssueParameters as jiraAddCommentToIssueParameters, 398 | listCommentsParameters as jiraListCommentsParameters, 399 | updateCommentParameters as jiraUpdateCommentParameters, 400 | listProjectsParameters as jiraListProjectsParameters, 401 | getUserParameters as jiraGetUserParameters, 402 | listUsersParameters as jiraListUsersParameters, 403 | } from './parameters/jira'; 404 | import { 405 | checkConnectionParameters as jotformCheckConnectionParameters, 406 | startConnectionParameters as jotformStartConnectionParameters, 407 | transferAgentParameters as jotformTransferAgentParameters, 408 | listFormsParameters as jotformListFormsParameters, 409 | listSubmissionsParameters as jotformListSubmissionsParameters, 410 | } from './parameters/jotform'; 411 | import { 412 | checkConnectionParameters as klaviyoCheckConnectionParameters, 413 | startConnectionParameters as klaviyoStartConnectionParameters, 414 | transferAgentParameters as klaviyoTransferAgentParameters, 415 | addProfilesToListParameters as klaviyoAddProfilesToListParameters, 416 | assignTemplateToCampaignMessageParameters as klaviyoAssignTemplateToCampaignMessageParameters, 417 | createCampaignParameters as klaviyoCreateCampaignParameters, 418 | createListParameters as klaviyoCreateListParameters, 419 | createProfileParameters as klaviyoCreateProfileParameters, 420 | createTemplateParameters as klaviyoCreateTemplateParameters, 421 | getCampaignMessagesParameters as klaviyoGetCampaignMessagesParameters, 422 | getCampaignSendJobParameters as klaviyoGetCampaignSendJobParameters, 423 | getCampaignsParameters as klaviyoGetCampaignsParameters, 424 | getListsParameters as klaviyoGetListsParameters, 425 | getProfilesForListParameters as klaviyoGetProfilesForListParameters, 426 | getProfilesParameters as klaviyoGetProfilesParameters, 427 | getTemplatesParameters as klaviyoGetTemplatesParameters, 428 | sendCampaignParameters as klaviyoSendCampaignParameters, 429 | } from './parameters/klaviyo'; 430 | import { 431 | checkConnectionParameters as mailchimpCheckConnectionParameters, 432 | startConnectionParameters as mailchimpStartConnectionParameters, 433 | transferAgentParameters as mailchimpTransferAgentParameters, 434 | getCampaignParameters as mailchimpGetCampaignParameters, 435 | searchCampaignsParameters as mailchimpSearchCampaignsParameters, 436 | } from './parameters/mailchimp'; 437 | import { 438 | checkConnectionParameters as notionCheckConnectionParameters, 439 | startConnectionParameters as notionStartConnectionParameters, 440 | transferAgentParameters as notionTransferAgentParameters, 441 | createPageParameters as notionCreatePageParameters, 442 | findPageParameters as notionFindPageParameters, 443 | getPageParameters as notionGetPageParameters, 444 | } from './parameters/notion'; 445 | import { 446 | checkConnectionParameters as outlookCheckConnectionParameters, 447 | startConnectionParameters as outlookStartConnectionParameters, 448 | transferAgentParameters as outlookTransferAgentParameters, 449 | createDraftParameters as outlookCreateDraftParameters, 450 | findEmailParameters as outlookFindEmailParameters, 451 | sendEmailParameters as outlookSendEmailParameters, 452 | } from './parameters/outlook'; 453 | import { 454 | checkConnectionParameters as pipedriveCheckConnectionParameters, 455 | startConnectionParameters as pipedriveStartConnectionParameters, 456 | transferAgentParameters as pipedriveTransferAgentParameters, 457 | searchPeopleParameters as pipedriveSearchPeopleParameters, 458 | } from './parameters/pipedrive'; 459 | import { 460 | checkConnectionParameters as salesforceCheckConnectionParameters, 461 | startConnectionParameters as salesforceStartConnectionParameters, 462 | transferAgentParameters as salesforceTransferAgentParameters, 463 | createContactParameters as salesforceCreateContactParameters, 464 | getContactParameters as salesforceGetContactParameters, 465 | listContactsParameters as salesforceListContactsParameters, 466 | } from './parameters/salesforce'; 467 | import { 468 | checkConnectionParameters as shopifyCheckConnectionParameters, 469 | startConnectionParameters as shopifyStartConnectionParameters, 470 | transferAgentParameters as shopifyTransferAgentParameters, 471 | createOrderParameters as shopifyCreateOrderParameters, 472 | getOrderParameters as shopifyGetOrderParameters, 473 | listOrdersParameters as shopifyListOrdersParameters, 474 | } from './parameters/shopify'; 475 | import { 476 | checkConnectionParameters as slackCheckConnectionParameters, 477 | startConnectionParameters as slackStartConnectionParameters, 478 | transferAgentParameters as slackTransferAgentParameters, 479 | listChannelsParameters as slackListChannelsParameters, 480 | listMessagesParameters as slackListMessagesParameters, 481 | listRepliesParameters as slackListRepliesParameters, 482 | sendMessageParameters as slackSendMessageParameters, 483 | } from './parameters/slack'; 484 | import { 485 | checkConnectionParameters as stripeCheckConnectionParameters, 486 | startConnectionParameters as stripeStartConnectionParameters, 487 | transferAgentParameters as stripeTransferAgentParameters, 488 | createCustomerParameters as stripeCreateCustomerParameters, 489 | createInvoiceItemParameters as stripeCreateInvoiceItemParameters, 490 | createInvoiceParameters as stripeCreateInvoiceParameters, 491 | deleteCustomerParameters as stripeDeleteCustomerParameters, 492 | getCustomerParameters as stripeGetCustomerParameters, 493 | getInvoiceParameters as stripeGetInvoiceParameters, 494 | listCustomersParameters as stripeListCustomersParameters, 495 | listInvoicesParameters as stripeListInvoicesParameters, 496 | } from './parameters/stripe'; 497 | import { 498 | checkConnectionParameters as typeformCheckConnectionParameters, 499 | startConnectionParameters as typeformStartConnectionParameters, 500 | transferAgentParameters as typeformTransferAgentParameters, 501 | getFormParameters as typeformGetFormParameters, 502 | listFormsParameters as typeformListFormsParameters, 503 | listResponsesParameters as typeformListResponsesParameters, 504 | } from './parameters/typeform'; 505 | import { 506 | checkConnectionParameters as youtubeCheckConnectionParameters, 507 | startConnectionParameters as youtubeStartConnectionParameters, 508 | transferAgentParameters as youtubeTransferAgentParameters, 509 | listVideosParameters as youtubeListVideosParameters, 510 | searchVideosParameters as youtubeSearchVideosParameters, 511 | } from './parameters/youtube'; 512 | 513 | export type Tool = { 514 | method: string; 515 | name: string; 516 | description: string; 517 | parameters: z.ZodObject<any, any, any, any>; 518 | actions: { 519 | [key: string]: { 520 | [action: string]: boolean; 521 | }; 522 | }; 523 | }; 524 | 525 | const tools: Tool[] = [ 526 | { 527 | method: 'airtable_check_connection', 528 | name: 'Airtable Check Connection', 529 | description: airtableCheckConnectionPrompt, 530 | parameters: airtableCheckConnectionParameters, 531 | actions: {}, 532 | }, 533 | { 534 | method: 'airtable_start_connection', 535 | name: 'Airtable Start Connection', 536 | description: airtableStartConnectionPrompt, 537 | parameters: airtableStartConnectionParameters, 538 | actions: {}, 539 | }, 540 | { 541 | method: 'airtable_transfer_agent', 542 | name: 'Airtable Transfer Agent', 543 | description: airtableTransferAgentPrompt, 544 | parameters: airtableTransferAgentParameters, 545 | actions: {}, 546 | }, 547 | { 548 | method: 'airtable_list_bases', 549 | name: 'Airtable List Bases', 550 | description: airtableListBasesPrompt, 551 | parameters: airtableListBasesParameters, 552 | actions: {}, 553 | }, 554 | { 555 | method: 'airtable_list_records', 556 | name: 'Airtable List Records', 557 | description: airtableListRecordsPrompt, 558 | parameters: airtableListRecordsParameters, 559 | actions: {}, 560 | }, 561 | { 562 | method: 'airtable_list_tables', 563 | name: 'Airtable List Tables', 564 | description: airtableListTablesPrompt, 565 | parameters: airtableListTablesParameters, 566 | actions: {}, 567 | }, 568 | { 569 | method: 'asana_check_connection', 570 | name: 'Asana Check Connection', 571 | description: asanaCheckConnectionPrompt, 572 | parameters: asanaCheckConnectionParameters, 573 | actions: {}, 574 | }, 575 | { 576 | method: 'asana_start_connection', 577 | name: 'Asana Start Connection', 578 | description: asanaStartConnectionPrompt, 579 | parameters: asanaStartConnectionParameters, 580 | actions: {}, 581 | }, 582 | { 583 | method: 'asana_transfer_agent', 584 | name: 'Asana Transfer Agent', 585 | description: asanaTransferAgentPrompt, 586 | parameters: asanaTransferAgentParameters, 587 | actions: {}, 588 | }, 589 | { 590 | method: 'asana_create_task', 591 | name: 'Asana Create Task', 592 | description: asanaCreateTaskPrompt, 593 | parameters: asanaCreateTaskParameters, 594 | actions: {}, 595 | }, 596 | { 597 | method: 'asana_get_task', 598 | name: 'Asana Get Task', 599 | description: asanaGetTaskPrompt, 600 | parameters: asanaGetTaskParameters, 601 | actions: {}, 602 | }, 603 | { 604 | method: 'asana_list_projects', 605 | name: 'Asana List Projects', 606 | description: asanaListProjectsPrompt, 607 | parameters: asanaListProjectsParameters, 608 | actions: {}, 609 | }, 610 | { 611 | method: 'asana_list_tasks', 612 | name: 'Asana List Tasks', 613 | description: asanaListTasksPrompt, 614 | parameters: asanaListTasksParameters, 615 | actions: {}, 616 | }, 617 | { 618 | method: 'asana_list_workspaces', 619 | name: 'Asana List Workspaces', 620 | description: asanaListWorkspacesPrompt, 621 | parameters: asanaListWorkspacesParameters, 622 | actions: {}, 623 | }, 624 | { 625 | method: 'aws_check_connection', 626 | name: 'AWS Check Connection', 627 | description: awsCheckConnectionPrompt, 628 | parameters: awsCheckConnectionParameters, 629 | actions: {}, 630 | }, 631 | { 632 | method: 'aws_start_connection', 633 | name: 'AWS Start Connection', 634 | description: awsStartConnectionPrompt, 635 | parameters: awsStartConnectionParameters, 636 | actions: {}, 637 | }, 638 | { 639 | method: 'aws_transfer_agent', 640 | name: 'AWS Transfer Agent', 641 | description: awsTransferAgentPrompt, 642 | parameters: awsTransferAgentParameters, 643 | actions: {}, 644 | }, 645 | { 646 | method: 'aws_get_s3_object', 647 | name: 'AWS Get S3 Object', 648 | description: awsGetS3ObjectPrompt, 649 | parameters: awsGetS3ObjectParameters, 650 | actions: {}, 651 | }, 652 | { 653 | method: 'aws_list_s3_buckets', 654 | name: 'AWS List S3 Buckets', 655 | description: awsListS3BucketsPrompt, 656 | parameters: awsListS3BucketsParameters, 657 | actions: {}, 658 | }, 659 | { 660 | method: 'aws_list_s3_objects', 661 | name: 'AWS List S3 Objects', 662 | description: awsListS3ObjectsPrompt, 663 | parameters: awsListS3ObjectsParameters, 664 | actions: {}, 665 | }, 666 | { 667 | method: 'calendly_check_connection', 668 | name: 'Calendly Check Connection', 669 | description: calendlyCheckConnectionPrompt, 670 | parameters: calendlyCheckConnectionParameters, 671 | actions: {}, 672 | }, 673 | { 674 | method: 'calendly_start_connection', 675 | name: 'Calendly Start Connection', 676 | description: calendlyStartConnectionPrompt, 677 | parameters: calendlyStartConnectionParameters, 678 | actions: {}, 679 | }, 680 | { 681 | method: 'calendly_transfer_agent', 682 | name: 'Calendly Transfer Agent', 683 | description: calendlyTransferAgentPrompt, 684 | parameters: calendlyTransferAgentParameters, 685 | actions: {}, 686 | }, 687 | { 688 | method: 'calendly_get_event', 689 | name: 'Calendly Get Event', 690 | description: calendlyGetEventPrompt, 691 | parameters: calendlyGetEventParameters, 692 | actions: {}, 693 | }, 694 | { 695 | method: 'calendly_list_event_invitees', 696 | name: 'Calendly List Event Invitees', 697 | description: calendlyListEventInviteesPrompt, 698 | parameters: calendlyListEventInviteesParameters, 699 | actions: {}, 700 | }, 701 | { 702 | method: 'calendly_list_event_types', 703 | name: 'Calendly List Event Types', 704 | description: calendlyListEventTypesPrompt, 705 | parameters: calendlyListEventTypesParameters, 706 | actions: {}, 707 | }, 708 | { 709 | method: 'calendly_list_events', 710 | name: 'Calendly List Events', 711 | description: calendlyListEventsPrompt, 712 | parameters: calendlyListEventsParameters, 713 | actions: {}, 714 | }, 715 | { 716 | method: 'clickup_check_connection', 717 | name: 'ClickUp Check Connection', 718 | description: clickupCheckConnectionPrompt, 719 | parameters: clickupCheckConnectionParameters, 720 | actions: {}, 721 | }, 722 | { 723 | method: 'clickup_start_connection', 724 | name: 'ClickUp Start Connection', 725 | description: clickupStartConnectionPrompt, 726 | parameters: clickupStartConnectionParameters, 727 | actions: {}, 728 | }, 729 | { 730 | method: 'clickup_transfer_agent', 731 | name: 'ClickUp Transfer Agent', 732 | description: clickupTransferAgentPrompt, 733 | parameters: clickupTransferAgentParameters, 734 | actions: {}, 735 | }, 736 | { 737 | method: 'clickup_create_task', 738 | name: 'ClickUp Create Task', 739 | description: clickupCreateTaskPrompt, 740 | parameters: clickupCreateTaskParameters, 741 | actions: {}, 742 | }, 743 | { 744 | method: 'clickup_delete_task', 745 | name: 'ClickUp Delete Task', 746 | description: clickupDeleteTaskPrompt, 747 | parameters: clickupDeleteTaskParameters, 748 | actions: {}, 749 | }, 750 | { 751 | method: 'clickup_get_task', 752 | name: 'ClickUp Get Task', 753 | description: clickupGetTaskPrompt, 754 | parameters: clickupGetTaskParameters, 755 | actions: {}, 756 | }, 757 | { 758 | method: 'clickup_list_folders', 759 | name: 'ClickUp List Folders', 760 | description: clickupListFoldersPrompt, 761 | parameters: clickupListFoldersParameters, 762 | actions: {}, 763 | }, 764 | { 765 | method: 'clickup_list_lists', 766 | name: 'ClickUp List Lists', 767 | description: clickupListListsPrompt, 768 | parameters: clickupListListsParameters, 769 | actions: {}, 770 | }, 771 | { 772 | method: 'clickup_list_spaces', 773 | name: 'ClickUp List Spaces', 774 | description: clickupListSpacesPrompt, 775 | parameters: clickupListSpacesParameters, 776 | actions: {}, 777 | }, 778 | { 779 | method: 'clickup_list_tasks', 780 | name: 'ClickUp List Tasks', 781 | description: clickupListTasksPrompt, 782 | parameters: clickupListTasksParameters, 783 | actions: {}, 784 | }, 785 | { 786 | method: 'clickup_list_workspaces', 787 | name: 'ClickUp List Workspaces', 788 | description: clickupListWorkspacesPrompt, 789 | parameters: clickupListWorkspacesParameters, 790 | actions: {}, 791 | }, 792 | { 793 | method: 'google-calendar_check_connection', 794 | name: 'Google Calendar Check Connection', 795 | description: googleCalendarCheckConnectionPrompt, 796 | parameters: googleCalendarCheckConnectionParameters, 797 | actions: {}, 798 | }, 799 | { 800 | method: 'google-calendar_start_connection', 801 | name: 'Google Calendar Start Connection', 802 | description: googleCalendarStartConnectionPrompt, 803 | parameters: googleCalendarStartConnectionParameters, 804 | actions: {}, 805 | }, 806 | { 807 | method: 'google-calendar_transfer_agent', 808 | name: 'Google Calendar Transfer Agent', 809 | description: googleCalendarTransferAgentPrompt, 810 | parameters: googleCalendarTransferAgentParameters, 811 | actions: {}, 812 | }, 813 | { 814 | method: 'google-calendar_create_event', 815 | name: 'Google Calendar Create Event', 816 | description: googleCalendarCreateEventPrompt, 817 | parameters: googleCalendarCreateEventParameters, 818 | actions: {}, 819 | }, 820 | { 821 | method: 'google-calendar_delete_event', 822 | name: 'Google Calendar Delete Event', 823 | description: googleCalendarDeleteEventPrompt, 824 | parameters: googleCalendarDeleteEventParameters, 825 | actions: {}, 826 | }, 827 | { 828 | method: 'google-calendar_get_calendar', 829 | name: 'Google Calendar Get Calendar', 830 | description: googleCalendarGetCalendarPrompt, 831 | parameters: googleCalendarGetCalendarParameters, 832 | actions: {}, 833 | }, 834 | { 835 | method: 'google-calendar_get_event', 836 | name: 'Google Calendar Get Event', 837 | description: googleCalendarGetEventPrompt, 838 | parameters: googleCalendarGetEventParameters, 839 | actions: {}, 840 | }, 841 | { 842 | method: 'google-calendar_list_calendars', 843 | name: 'Google Calendar List Calendars', 844 | description: googleCalendarListCalendarsPrompt, 845 | parameters: googleCalendarListCalendarsParameters, 846 | actions: {}, 847 | }, 848 | { 849 | method: 'google-calendar_list_events', 850 | name: 'Google Calendar List Events', 851 | description: googleCalendarListEventsPrompt, 852 | parameters: googleCalendarListEventsParameters, 853 | actions: {}, 854 | }, 855 | { 856 | method: 'google-calendar_update_event', 857 | name: 'Google Calendar Update Event', 858 | description: googleCalendarUpdateEventPrompt, 859 | parameters: googleCalendarUpdateEventParameters, 860 | actions: {}, 861 | }, 862 | { 863 | method: 'google-docs_check_connection', 864 | name: 'Google Docs Check Connection', 865 | description: googleDocsCheckConnectionPrompt, 866 | parameters: googleDocsCheckConnectionParameters, 867 | actions: {}, 868 | }, 869 | { 870 | method: 'google-docs_start_connection', 871 | name: 'Google Docs Start Connection', 872 | description: googleDocsStartConnectionPrompt, 873 | parameters: googleDocsStartConnectionParameters, 874 | actions: {}, 875 | }, 876 | { 877 | method: 'google-docs_transfer_agent', 878 | name: 'Google Docs Transfer Agent', 879 | description: googleDocsTransferAgentPrompt, 880 | parameters: googleDocsTransferAgentParameters, 881 | actions: {}, 882 | }, 883 | { 884 | method: 'google-docs_append_text', 885 | name: 'Google Docs Append Text', 886 | description: googleDocsAppendTextPrompt, 887 | parameters: googleDocsAppendTextParameters, 888 | actions: {}, 889 | }, 890 | { 891 | method: 'google-docs_create_document', 892 | name: 'Google Docs Create Document', 893 | description: googleDocsCreateDocumentPrompt, 894 | parameters: googleDocsCreateDocumentParameters, 895 | actions: {}, 896 | }, 897 | { 898 | method: 'google-docs_find_document', 899 | name: 'Google Docs Find Document', 900 | description: googleDocsFindDocumentPrompt, 901 | parameters: googleDocsFindDocumentParameters, 902 | actions: {}, 903 | }, 904 | { 905 | method: 'google-docs_get_document', 906 | name: 'Google Docs Get Document', 907 | description: googleDocsGetDocumentPrompt, 908 | parameters: googleDocsGetDocumentParameters, 909 | actions: {}, 910 | }, 911 | { 912 | method: 'google-drive_check_connection', 913 | name: 'Google Drive Check Connection', 914 | description: googleDriveCheckConnectionPrompt, 915 | parameters: googleDriveCheckConnectionParameters, 916 | actions: {}, 917 | }, 918 | { 919 | method: 'google-drive_start_connection', 920 | name: 'Google Drive Start Connection', 921 | description: googleDriveStartConnectionPrompt, 922 | parameters: googleDriveStartConnectionParameters, 923 | actions: {}, 924 | }, 925 | { 926 | method: 'google-drive_transfer_agent', 927 | name: 'Google Drive Transfer Agent', 928 | description: googleDriveTransferAgentPrompt, 929 | parameters: googleDriveTransferAgentParameters, 930 | actions: {}, 931 | }, 932 | { 933 | method: 'google-drive_create_file', 934 | name: 'Google Drive Create File', 935 | description: googleDriveCreateFilePrompt, 936 | parameters: googleDriveCreateFileParameters, 937 | actions: {}, 938 | }, 939 | { 940 | method: 'google-drive_create_folder', 941 | name: 'Google Drive Create Folder', 942 | description: googleDriveCreateFolderPrompt, 943 | parameters: googleDriveCreateFolderParameters, 944 | actions: {}, 945 | }, 946 | { 947 | method: 'google-drive_delete_file', 948 | name: 'Google Drive Delete File', 949 | description: googleDriveDeleteFilePrompt, 950 | parameters: googleDriveDeleteFileParameters, 951 | actions: {}, 952 | }, 953 | { 954 | method: 'google-drive_find_file', 955 | name: 'Google Drive Find File', 956 | description: googleDriveFindFilePrompt, 957 | parameters: googleDriveFindFileParameters, 958 | actions: {}, 959 | }, 960 | { 961 | method: 'google-drive_find_folder', 962 | name: 'Google Drive Find Folder', 963 | description: googleDriveFindFolderPrompt, 964 | parameters: googleDriveFindFolderParameters, 965 | actions: {}, 966 | }, 967 | { 968 | method: 'google-drive_get_file', 969 | name: 'Google Drive Get File', 970 | description: googleDriveGetFilePrompt, 971 | parameters: googleDriveGetFileParameters, 972 | actions: {}, 973 | }, 974 | { 975 | method: 'google-drive_list_files', 976 | name: 'Google Drive List Files', 977 | description: googleDriveListFilesPrompt, 978 | parameters: googleDriveListFilesParameters, 979 | actions: {}, 980 | }, 981 | { 982 | method: 'google-mail_check_connection', 983 | name: 'Gmail Check Connection', 984 | description: googleMailCheckConnectionPrompt, 985 | parameters: googleMailCheckConnectionParameters, 986 | actions: {}, 987 | }, 988 | { 989 | method: 'google-mail_start_connection', 990 | name: 'Gmail Start Connection', 991 | description: googleMailStartConnectionPrompt, 992 | parameters: googleMailStartConnectionParameters, 993 | actions: {}, 994 | }, 995 | { 996 | method: 'google-mail_transfer_agent', 997 | name: 'Gmail Transfer Agent', 998 | description: googleMailTransferAgentPrompt, 999 | parameters: googleMailTransferAgentParameters, 1000 | actions: {}, 1001 | }, 1002 | { 1003 | method: 'google-mail_add_label_to_email', 1004 | name: 'Gmail Add Label to Email', 1005 | description: googleMailAddLabelToEmailPrompt, 1006 | parameters: googleMailAddLabelToEmailParameters, 1007 | actions: {}, 1008 | }, 1009 | { 1010 | method: 'google-mail_create_draft', 1011 | name: 'Gmail Create Draft', 1012 | description: googleMailCreateDraftPrompt, 1013 | parameters: googleMailCreateDraftParameters, 1014 | actions: {}, 1015 | }, 1016 | { 1017 | method: 'google-mail_find_email', 1018 | name: 'Gmail Find Email', 1019 | description: googleMailFindEmailPrompt, 1020 | parameters: googleMailFindEmailParameters, 1021 | actions: {}, 1022 | }, 1023 | { 1024 | method: 'google-mail_list_labels', 1025 | name: 'Gmail List Labels', 1026 | description: googleMailListLabelsPrompt, 1027 | parameters: googleMailListLabelsParameters, 1028 | actions: {}, 1029 | }, 1030 | { 1031 | method: 'google-mail_send_email', 1032 | name: 'Gmail Send Email', 1033 | description: googleMailSendEmailPrompt, 1034 | parameters: googleMailSendEmailParameters, 1035 | actions: {}, 1036 | }, 1037 | { 1038 | method: 'google-mail_remove_label_from_email', 1039 | name: 'Gmail Remove Label From Email', 1040 | description: googleMailRemoveLabelFromEmailPrompt, 1041 | parameters: googleMailRemoveLabelFromEmailParameters, 1042 | actions: {}, 1043 | }, 1044 | { 1045 | method: 'google-sheet_check_connection', 1046 | name: 'Google Sheets Check Connection', 1047 | description: googleSheetCheckConnectionPrompt, 1048 | parameters: googleSheetCheckConnectionParameters, 1049 | actions: {}, 1050 | }, 1051 | { 1052 | method: 'google-sheet_start_connection', 1053 | name: 'Google Sheets Start Connection', 1054 | description: googleSheetStartConnectionPrompt, 1055 | parameters: googleSheetStartConnectionParameters, 1056 | actions: {}, 1057 | }, 1058 | { 1059 | method: 'google-sheet_transfer_agent', 1060 | name: 'Google Sheets Transfer Agent', 1061 | description: googleSheetTransferAgentPrompt, 1062 | parameters: googleSheetTransferAgentParameters, 1063 | actions: {}, 1064 | }, 1065 | { 1066 | method: 'google-sheet_add_column', 1067 | name: 'Google Sheets Add Column', 1068 | description: googleSheetAddColumnPrompt, 1069 | parameters: googleSheetAddColumnParameters, 1070 | actions: {}, 1071 | }, 1072 | { 1073 | method: 'google-sheet_add_multiple_rows', 1074 | name: 'Google Sheets Add Multiple Rows', 1075 | description: googleSheetAddMultipleRowsPrompt, 1076 | parameters: googleSheetAddMultipleRowsParameters, 1077 | actions: {}, 1078 | }, 1079 | { 1080 | method: 'google-sheet_clear_cell', 1081 | name: 'Google Sheets Clear Cell', 1082 | description: googleSheetClearCellPrompt, 1083 | parameters: googleSheetClearCellParameters, 1084 | actions: {}, 1085 | }, 1086 | { 1087 | method: 'google-sheet_clear_rows', 1088 | name: 'Google Sheets Clear Rows', 1089 | description: googleSheetClearRowsPrompt, 1090 | parameters: googleSheetClearRowsParameters, 1091 | actions: {}, 1092 | }, 1093 | { 1094 | method: 'google-sheet_create_spreadsheet', 1095 | name: 'Google Sheets Create Spreadsheet', 1096 | description: googleSheetCreateSpreadsheetPrompt, 1097 | parameters: googleSheetCreateSpreadsheetParameters, 1098 | actions: {}, 1099 | }, 1100 | { 1101 | method: 'google-sheet_create_worksheet', 1102 | name: 'Google Sheets Create Worksheet', 1103 | description: googleSheetCreateWorksheetPrompt, 1104 | parameters: googleSheetCreateWorksheetParameters, 1105 | actions: {}, 1106 | }, 1107 | { 1108 | method: 'google-sheet_delete_rows', 1109 | name: 'Google Sheets Delete Rows', 1110 | description: googleSheetDeleteRowsPrompt, 1111 | parameters: googleSheetDeleteRowsParameters, 1112 | actions: {}, 1113 | }, 1114 | { 1115 | method: 'google-sheet_delete_worksheet', 1116 | name: 'Google Sheets Delete Worksheet', 1117 | description: googleSheetDeleteWorksheetPrompt, 1118 | parameters: googleSheetDeleteWorksheetParameters, 1119 | actions: {}, 1120 | }, 1121 | { 1122 | method: 'google-sheet_find_row', 1123 | name: 'Google Sheets Find Row', 1124 | description: googleSheetFindRowPrompt, 1125 | parameters: googleSheetFindRowParameters, 1126 | actions: {}, 1127 | }, 1128 | { 1129 | method: 'google-sheet_get_cell', 1130 | name: 'Google Sheets Get Cell', 1131 | description: googleSheetGetCellPrompt, 1132 | parameters: googleSheetGetCellParameters, 1133 | actions: {}, 1134 | }, 1135 | { 1136 | method: 'google-sheet_get_spreadsheet', 1137 | name: 'Google Sheets Get Spreadsheet', 1138 | description: googleSheetGetSpreadsheetPrompt, 1139 | parameters: googleSheetGetSpreadsheetParameters, 1140 | actions: {}, 1141 | }, 1142 | { 1143 | method: 'google-sheet_get_values_in_range', 1144 | name: 'Google Sheets Get Values in Range', 1145 | description: googleSheetGetValuesInRangePrompt, 1146 | parameters: googleSheetGetValuesInRangeParameters, 1147 | actions: {}, 1148 | }, 1149 | { 1150 | method: 'google-sheet_list_worksheets', 1151 | name: 'Google Sheets List Worksheets', 1152 | description: googleSheetListWorksheetsPrompt, 1153 | parameters: googleSheetListWorksheetsParameters, 1154 | actions: {}, 1155 | }, 1156 | { 1157 | method: 'google-sheet_update_cell', 1158 | name: 'Google Sheets Update Cell', 1159 | description: googleSheetUpdateCellPrompt, 1160 | parameters: googleSheetUpdateCellParameters, 1161 | actions: {}, 1162 | }, 1163 | { 1164 | method: 'google-sheet_update_multiple_rows', 1165 | name: 'Google Sheets Update Multiple Rows', 1166 | description: googleSheetUpdateMultipleRowsPrompt, 1167 | parameters: googleSheetUpdateMultipleRowsParameters, 1168 | actions: {}, 1169 | }, 1170 | { 1171 | method: 'google-sheet_update_row', 1172 | name: 'Google Sheets Update Row', 1173 | description: googleSheetUpdateRowPrompt, 1174 | parameters: googleSheetUpdateRowParameters, 1175 | actions: {}, 1176 | }, 1177 | { 1178 | method: 'hubspot_check_connection', 1179 | name: 'HubSpot Check Connection', 1180 | description: hubspotCheckConnectionPrompt, 1181 | parameters: hubspotCheckConnectionParameters, 1182 | actions: {}, 1183 | }, 1184 | { 1185 | method: 'hubspot_start_connection', 1186 | name: 'HubSpot Start Connection', 1187 | description: hubspotStartConnectionPrompt, 1188 | parameters: hubspotStartConnectionParameters, 1189 | actions: {}, 1190 | }, 1191 | { 1192 | method: 'hubspot_transfer_agent', 1193 | name: 'HubSpot Transfer Agent', 1194 | description: hubspotTransferAgentPrompt, 1195 | parameters: hubspotTransferAgentParameters, 1196 | actions: {}, 1197 | }, 1198 | { 1199 | method: 'hubspot_create_contact', 1200 | name: 'HubSpot Create Contact', 1201 | description: hubspotCreateContactPrompt, 1202 | parameters: hubspotCreateContactParameters, 1203 | actions: {}, 1204 | }, 1205 | { 1206 | method: 'hubspot_get_contact', 1207 | name: 'HubSpot Get Contact', 1208 | description: hubspotGetContactPrompt, 1209 | parameters: hubspotGetContactParameters, 1210 | actions: {}, 1211 | }, 1212 | { 1213 | method: 'hubspot_list_contacts', 1214 | name: 'HubSpot List Contacts', 1215 | description: hubspotListContactsPrompt, 1216 | parameters: hubspotListContactsParameters, 1217 | actions: {}, 1218 | }, 1219 | { 1220 | method: 'hubspot_search_contacts', 1221 | name: 'HubSpot Search Contacts', 1222 | description: hubspotSearchContactsPrompt, 1223 | parameters: hubspotSearchContactsParameters, 1224 | actions: {}, 1225 | }, 1226 | { 1227 | method: 'hubspot_merge_contacts', 1228 | name: 'HubSpot Merge Contacts', 1229 | description: hubspotMergeContactsPrompt, 1230 | parameters: hubspotMergeContactsParameters, 1231 | actions: {}, 1232 | }, 1233 | { 1234 | method: 'hubspot_update_contact', 1235 | name: 'HubSpot Update Contact', 1236 | description: hubspotUpdateContactPrompt, 1237 | parameters: hubspotUpdateContactParameters, 1238 | actions: {}, 1239 | }, 1240 | { 1241 | method: 'hubspot_delete_contact', 1242 | name: 'HubSpot Delete Contact', 1243 | description: hubspotDeleteContactPrompt, 1244 | parameters: hubspotDeleteContactParameters, 1245 | actions: {}, 1246 | }, 1247 | { 1248 | method: 'hubspot_create_deal', 1249 | name: 'HubSpot Create Deal', 1250 | description: hubspotCreateDealPrompt, 1251 | parameters: hubspotCreateDealParameters, 1252 | actions: {}, 1253 | }, 1254 | { 1255 | method: 'hubspot_get_deal', 1256 | name: 'HubSpot Get Deal', 1257 | description: hubspotGetDealPrompt, 1258 | parameters: hubspotGetDealParameters, 1259 | actions: {}, 1260 | }, 1261 | { 1262 | method: 'hubspot_list_deals', 1263 | name: 'HubSpot List Deals', 1264 | description: hubspotListDealsPrompt, 1265 | parameters: hubspotListDealsParameters, 1266 | actions: {}, 1267 | }, 1268 | { 1269 | method: 'hubspot_search_deals', 1270 | name: 'HubSpot Search Deals', 1271 | description: hubspotSearchDealsPrompt, 1272 | parameters: hubspotSearchDealsParameters, 1273 | actions: {}, 1274 | }, 1275 | { 1276 | method: 'hubspot_merge_deals', 1277 | name: 'HubSpot Merge Deals', 1278 | description: hubspotMergeDealPrompt, 1279 | parameters: hubspotMergeDealParameters, 1280 | actions: {}, 1281 | }, 1282 | { 1283 | method: 'hubspot_update_deal', 1284 | name: 'HubSpot Update Deal', 1285 | description: hubspotUpdateDealPrompt, 1286 | parameters: hubspotUpdateDealParameters, 1287 | actions: {}, 1288 | }, 1289 | { 1290 | method: 'hubspot_delete_deal', 1291 | name: 'HubSpot Delete Deal', 1292 | description: hubspotDeleteDealPrompt, 1293 | parameters: hubspotDeleteDealParameters, 1294 | actions: {}, 1295 | }, 1296 | { 1297 | method: 'salesforce_check_connection', 1298 | name: 'Salesforce Check Connection', 1299 | description: salesforceCheckConnectionPrompt, 1300 | parameters: salesforceCheckConnectionParameters, 1301 | actions: {}, 1302 | }, 1303 | { 1304 | method: 'salesforce_start_connection', 1305 | name: 'Salesforce Start Connection', 1306 | description: salesforceStartConnectionPrompt, 1307 | parameters: salesforceStartConnectionParameters, 1308 | actions: {}, 1309 | }, 1310 | { 1311 | method: 'salesforce_transfer_agent', 1312 | name: 'Salesforce Transfer Agent', 1313 | description: salesforceTransferAgentPrompt, 1314 | parameters: salesforceTransferAgentParameters, 1315 | actions: {}, 1316 | }, 1317 | { 1318 | method: 'salesforce_create_contact', 1319 | name: 'Salesforce Create Contact', 1320 | description: salesforceCreateContactPrompt, 1321 | parameters: salesforceCreateContactParameters, 1322 | actions: {}, 1323 | }, 1324 | { 1325 | method: 'salesforce_get_contact', 1326 | name: 'Salesforce Get Contact', 1327 | description: salesforceGetContactPrompt, 1328 | parameters: salesforceGetContactParameters, 1329 | actions: {}, 1330 | }, 1331 | { 1332 | method: 'salesforce_list_contacts', 1333 | name: 'Salesforce List Contacts', 1334 | description: salesforceListContactsPrompt, 1335 | parameters: salesforceListContactsParameters, 1336 | actions: {}, 1337 | }, 1338 | { 1339 | method: 'klaviyo_check_connection', 1340 | name: 'Klaviyo Check Connection', 1341 | description: klaviyoCheckConnectionPrompt, 1342 | parameters: klaviyoCheckConnectionParameters, 1343 | actions: {}, 1344 | }, 1345 | { 1346 | method: 'klaviyo_start_connection', 1347 | name: 'Klaviyo Start Connection', 1348 | description: klaviyoStartConnectionPrompt, 1349 | parameters: klaviyoStartConnectionParameters, 1350 | actions: {}, 1351 | }, 1352 | { 1353 | method: 'klaviyo_transfer_agent', 1354 | name: 'Klaviyo Transfer Agent', 1355 | description: klaviyoTransferAgentPrompt, 1356 | parameters: klaviyoTransferAgentParameters, 1357 | actions: {}, 1358 | }, 1359 | { 1360 | method: 'klaviyo_add_profiles_to_list', 1361 | name: 'Klaviyo Add Profiles to List', 1362 | description: klaviyoAddProfilesToListPrompt, 1363 | parameters: klaviyoAddProfilesToListParameters, 1364 | actions: {}, 1365 | }, 1366 | { 1367 | method: 'klaviyo_assign_template_to_campaign_message', 1368 | name: 'Klaviyo Assign Template to Campaign Message', 1369 | description: klaviyoAssignTemplateToCampaignMessagePrompt, 1370 | parameters: klaviyoAssignTemplateToCampaignMessageParameters, 1371 | actions: {}, 1372 | }, 1373 | { 1374 | method: 'klaviyo_create_campaign', 1375 | name: 'Klaviyo Create Campaign', 1376 | description: klaviyoCreateCampaignPrompt, 1377 | parameters: klaviyoCreateCampaignParameters, 1378 | actions: {}, 1379 | }, 1380 | { 1381 | method: 'klaviyo_create_list', 1382 | name: 'Klaviyo Create List', 1383 | description: klaviyoCreateListPrompt, 1384 | parameters: klaviyoCreateListParameters, 1385 | actions: {}, 1386 | }, 1387 | { 1388 | method: 'klaviyo_create_profile', 1389 | name: 'Klaviyo Create Profile', 1390 | description: klaviyoCreateProfilePrompt, 1391 | parameters: klaviyoCreateProfileParameters, 1392 | actions: {}, 1393 | }, 1394 | { 1395 | method: 'klaviyo_create_template', 1396 | name: 'Klaviyo Create Template', 1397 | description: klaviyoCreateTemplatePrompt, 1398 | parameters: klaviyoCreateTemplateParameters, 1399 | actions: {}, 1400 | }, 1401 | { 1402 | method: 'klaviyo_get_campaign_messages', 1403 | name: 'Klaviyo Get Campaign Messages', 1404 | description: klaviyoGetCampaignMessagesPrompt, 1405 | parameters: klaviyoGetCampaignMessagesParameters, 1406 | actions: {}, 1407 | }, 1408 | { 1409 | method: 'klaviyo_get_campaign_send_job', 1410 | name: 'Klaviyo Get Campaign Send Job', 1411 | description: klaviyoGetCampaignSendJobPrompt, 1412 | parameters: klaviyoGetCampaignSendJobParameters, 1413 | actions: {}, 1414 | }, 1415 | { 1416 | method: 'klaviyo_get_campaigns', 1417 | name: 'Klaviyo Get Campaigns', 1418 | description: klaviyoGetCampaignsPrompt, 1419 | parameters: klaviyoGetCampaignsParameters, 1420 | actions: {}, 1421 | }, 1422 | { 1423 | method: 'klaviyo_get_lists', 1424 | name: 'Klaviyo Get Lists', 1425 | description: klaviyoGetListsPrompt, 1426 | parameters: klaviyoGetListsParameters, 1427 | actions: {}, 1428 | }, 1429 | { 1430 | method: 'klaviyo_get_profiles_for_list', 1431 | name: 'Klaviyo Get Profiles for List', 1432 | description: klaviyoGetProfilesForListPrompt, 1433 | parameters: klaviyoGetProfilesForListParameters, 1434 | actions: {}, 1435 | }, 1436 | { 1437 | method: 'klaviyo_get_profiles', 1438 | name: 'Klaviyo Get Profiles', 1439 | description: klaviyoGetProfilesPrompt, 1440 | parameters: klaviyoGetProfilesParameters, 1441 | actions: {}, 1442 | }, 1443 | { 1444 | method: 'klaviyo_get_templates', 1445 | name: 'Klaviyo Get Templates', 1446 | description: klaviyoGetTemplatesPrompt, 1447 | parameters: klaviyoGetTemplatesParameters, 1448 | actions: {}, 1449 | }, 1450 | { 1451 | method: 'klaviyo_send_campaign', 1452 | name: 'Klaviyo Send Campaign', 1453 | description: klaviyoSendCampaignPrompt, 1454 | parameters: klaviyoSendCampaignParameters, 1455 | actions: {}, 1456 | }, 1457 | { 1458 | method: 'jira_check_connection', 1459 | name: 'Jira Check Connection', 1460 | description: jiraCheckConnectionPrompt, 1461 | parameters: jiraCheckConnectionParameters, 1462 | actions: {}, 1463 | }, 1464 | { 1465 | method: 'jira_start_connection', 1466 | name: 'Jira Start Connection', 1467 | description: jiraStartConnectionPrompt, 1468 | parameters: jiraStartConnectionParameters, 1469 | actions: {}, 1470 | }, 1471 | { 1472 | method: 'jira_transfer_agent', 1473 | name: 'Jira Transfer Agent', 1474 | description: jiraTransferAgentPrompt, 1475 | parameters: jiraTransferAgentParameters, 1476 | actions: {}, 1477 | }, 1478 | { 1479 | method: 'jira_list_clouds', 1480 | name: 'Jira List Clouds', 1481 | description: jiraListCloudsPrompt, 1482 | parameters: jiraListCloudsParameters, 1483 | actions: {}, 1484 | }, 1485 | { 1486 | method: 'jira_get_issue', 1487 | name: 'Jira Get Issue', 1488 | description: jiraGetIssuePrompt, 1489 | parameters: jiraGetIssueParameters, 1490 | actions: {}, 1491 | }, 1492 | { 1493 | method: 'jira_list_issues', 1494 | name: 'Jira List Issues', 1495 | description: jiraListIssuesPrompt, 1496 | parameters: jiraListIssuesParameters, 1497 | actions: {}, 1498 | }, 1499 | { 1500 | method: 'jira_add_comment_to_issue', 1501 | name: 'Jira Add Comment to Issue', 1502 | description: jiraAddCommentToIssuePrompt, 1503 | parameters: jiraAddCommentToIssueParameters, 1504 | actions: {}, 1505 | }, 1506 | { 1507 | method: 'jira_list_comments', 1508 | name: 'Jira List Comments', 1509 | description: jiraListCommentsPrompt, 1510 | parameters: jiraListCommentsParameters, 1511 | actions: {}, 1512 | }, 1513 | { 1514 | method: 'jira_update_comment', 1515 | name: 'Jira Update Comment', 1516 | description: jiraUpdateCommentPrompt, 1517 | parameters: jiraUpdateCommentParameters, 1518 | actions: {}, 1519 | }, 1520 | { 1521 | method: 'jira_list_projects', 1522 | name: 'Jira List Projects', 1523 | description: jiraListProjectsPrompt, 1524 | parameters: jiraListProjectsParameters, 1525 | actions: {}, 1526 | }, 1527 | { 1528 | method: 'jira_get_user', 1529 | name: 'Jira Get User', 1530 | description: jiraGetUserPrompt, 1531 | parameters: jiraGetUserParameters, 1532 | actions: {}, 1533 | }, 1534 | { 1535 | method: 'jira_list_users', 1536 | name: 'Jira List Users', 1537 | description: jiraListUsersPrompt, 1538 | parameters: jiraListUsersParameters, 1539 | actions: {}, 1540 | }, 1541 | { 1542 | method: 'jotform_check_connection', 1543 | name: 'Jotform Check Connection', 1544 | description: jotformCheckConnectionPrompt, 1545 | parameters: jotformCheckConnectionParameters, 1546 | actions: {}, 1547 | }, 1548 | { 1549 | method: 'jotform_start_connection', 1550 | name: 'Jotform Start Connection', 1551 | description: jotformStartConnectionPrompt, 1552 | parameters: jotformStartConnectionParameters, 1553 | actions: {}, 1554 | }, 1555 | { 1556 | method: 'jotform_transfer_agent', 1557 | name: 'Jotform Transfer Agent', 1558 | description: jotformTransferAgentPrompt, 1559 | parameters: jotformTransferAgentParameters, 1560 | actions: {}, 1561 | }, 1562 | { 1563 | method: 'jotform_list_forms', 1564 | name: 'Jotform List Forms', 1565 | description: jotformListFormsPrompt, 1566 | parameters: jotformListFormsParameters, 1567 | actions: {}, 1568 | }, 1569 | { 1570 | method: 'jotform_list_submissions', 1571 | name: 'Jotform List Submissions', 1572 | description: jotformListSubmissionsPrompt, 1573 | parameters: jotformListSubmissionsParameters, 1574 | actions: {}, 1575 | }, 1576 | { 1577 | method: 'mailchimp_check_connection', 1578 | name: 'Mailchimp Check Connection', 1579 | description: mailchimpCheckConnectionPrompt, 1580 | parameters: mailchimpCheckConnectionParameters, 1581 | actions: {}, 1582 | }, 1583 | { 1584 | method: 'mailchimp_start_connection', 1585 | name: 'Mailchimp Start Connection', 1586 | description: mailchimpStartConnectionPrompt, 1587 | parameters: mailchimpStartConnectionParameters, 1588 | actions: {}, 1589 | }, 1590 | { 1591 | method: 'mailchimp_transfer_agent', 1592 | name: 'Mailchimp Transfer Agent', 1593 | description: mailchimpTransferAgentPrompt, 1594 | parameters: mailchimpTransferAgentParameters, 1595 | actions: {}, 1596 | }, 1597 | { 1598 | method: 'mailchimp_get_campaign', 1599 | name: 'Mailchimp Get Campaign', 1600 | description: mailchimpGetCampaignPrompt, 1601 | parameters: mailchimpGetCampaignParameters, 1602 | actions: {}, 1603 | }, 1604 | { 1605 | method: 'mailchimp_search_campaign', 1606 | name: 'Mailchimp Search Campaign', 1607 | description: mailchimpSearchCampaignPrompt, 1608 | parameters: mailchimpSearchCampaignsParameters, 1609 | actions: {}, 1610 | }, 1611 | { 1612 | method: 'notion_check_connection', 1613 | name: 'Notion Check Connection', 1614 | description: notionCheckConnectionPrompt, 1615 | parameters: notionCheckConnectionParameters, 1616 | actions: {}, 1617 | }, 1618 | { 1619 | method: 'notion_start_connection', 1620 | name: 'Notion Start Connection', 1621 | description: notionStartConnectionPrompt, 1622 | parameters: notionStartConnectionParameters, 1623 | actions: {}, 1624 | }, 1625 | { 1626 | method: 'notion_transfer_agent', 1627 | name: 'Notion Transfer Agent', 1628 | description: notionTransferAgentPrompt, 1629 | parameters: notionTransferAgentParameters, 1630 | actions: {}, 1631 | }, 1632 | { 1633 | method: 'notion_create_page', 1634 | name: 'Notion Create Page', 1635 | description: notionCreatePagePrompt, 1636 | parameters: notionCreatePageParameters, 1637 | actions: {}, 1638 | }, 1639 | { 1640 | method: 'notion_find_page', 1641 | name: 'Notion Find Page', 1642 | description: notionFindPagePrompt, 1643 | parameters: notionFindPageParameters, 1644 | actions: {}, 1645 | }, 1646 | { 1647 | method: 'notion_get_page', 1648 | name: 'Notion Get Page', 1649 | description: notionGetPagePrompt, 1650 | parameters: notionGetPageParameters, 1651 | actions: {}, 1652 | }, 1653 | { 1654 | method: 'outlook_check_connection', 1655 | name: 'Outlook Check Connection', 1656 | description: outlookCheckConnectionPrompt, 1657 | parameters: outlookCheckConnectionParameters, 1658 | actions: {}, 1659 | }, 1660 | { 1661 | method: 'outlook_start_connection', 1662 | name: 'Outlook Start Connection', 1663 | description: outlookStartConnectionPrompt, 1664 | parameters: outlookStartConnectionParameters, 1665 | actions: {}, 1666 | }, 1667 | { 1668 | method: 'outlook_transfer_agent', 1669 | name: 'Outlook Transfer Agent', 1670 | description: outlookTransferAgentPrompt, 1671 | parameters: outlookTransferAgentParameters, 1672 | actions: {}, 1673 | }, 1674 | { 1675 | method: 'outlook_create_draft', 1676 | name: 'Outlook Create Draft', 1677 | description: outlookCreateDraftPrompt, 1678 | parameters: outlookCreateDraftParameters, 1679 | actions: {}, 1680 | }, 1681 | { 1682 | method: 'outlook_find_email', 1683 | name: 'Outlook Find Email', 1684 | description: outlookFindEmailPrompt, 1685 | parameters: outlookFindEmailParameters, 1686 | actions: {}, 1687 | }, 1688 | { 1689 | method: 'outlook_send_email', 1690 | name: 'Outlook Send Email', 1691 | description: outlookSendEmailPrompt, 1692 | parameters: outlookSendEmailParameters, 1693 | actions: {}, 1694 | }, 1695 | { 1696 | method: 'pipedrive_check_connection', 1697 | name: 'Pipedrive Check Connection', 1698 | description: pipedriveCheckConnectionPrompt, 1699 | parameters: pipedriveCheckConnectionParameters, 1700 | actions: {}, 1701 | }, 1702 | { 1703 | method: 'pipedrive_start_connection', 1704 | name: 'Pipedrive Start Connection', 1705 | description: pipedriveStartConnectionPrompt, 1706 | parameters: pipedriveStartConnectionParameters, 1707 | actions: {}, 1708 | }, 1709 | { 1710 | method: 'pipedrive_transfer_agent', 1711 | name: 'Pipedrive Transfer Agent', 1712 | description: pipedriveTransferAgentPrompt, 1713 | parameters: pipedriveTransferAgentParameters, 1714 | actions: {}, 1715 | }, 1716 | { 1717 | method: 'pipedrive_search_people', 1718 | name: 'Pipedrive Search People', 1719 | description: pipedriveSearchPeoplePrompt, 1720 | parameters: pipedriveSearchPeopleParameters, 1721 | actions: {}, 1722 | }, 1723 | { 1724 | method: 'shopify_check_connection', 1725 | name: 'Shopify Check Connection', 1726 | description: shopifyCheckConnectionPrompt, 1727 | parameters: shopifyCheckConnectionParameters, 1728 | actions: {}, 1729 | }, 1730 | { 1731 | method: 'shopify_start_connection', 1732 | name: 'Shopify Start Connection', 1733 | description: shopifyStartConnectionPrompt, 1734 | parameters: shopifyStartConnectionParameters, 1735 | actions: {}, 1736 | }, 1737 | { 1738 | method: 'shopify_transfer_agent', 1739 | name: 'Shopify Transfer Agent', 1740 | description: shopifyTransferAgentPrompt, 1741 | parameters: shopifyTransferAgentParameters, 1742 | actions: {}, 1743 | }, 1744 | { 1745 | method: 'shopify_create_order', 1746 | name: 'Shopify Create Order', 1747 | description: shopifyCreateOrderPrompt, 1748 | parameters: shopifyCreateOrderParameters, 1749 | actions: {}, 1750 | }, 1751 | { 1752 | method: 'shopify_get_order', 1753 | name: 'Shopify Get Order', 1754 | description: shopifyGetOrderPrompt, 1755 | parameters: shopifyGetOrderParameters, 1756 | actions: {}, 1757 | }, 1758 | { 1759 | method: 'shopify_list_orders', 1760 | name: 'Shopify List Orders', 1761 | description: shopifyListOrdersPrompt, 1762 | parameters: shopifyListOrdersParameters, 1763 | actions: {}, 1764 | }, 1765 | { 1766 | method: 'slack_check_connection', 1767 | name: 'Slack Check Connection', 1768 | description: slackCheckConnectionPrompt, 1769 | parameters: slackCheckConnectionParameters, 1770 | actions: {}, 1771 | }, 1772 | { 1773 | method: 'slack_start_connection', 1774 | name: 'Slack Start Connection', 1775 | description: slackStartConnectionPrompt, 1776 | parameters: slackStartConnectionParameters, 1777 | actions: {}, 1778 | }, 1779 | { 1780 | method: 'slack_transfer_agent', 1781 | name: 'Slack Transfer Agent', 1782 | description: slackTransferAgentPrompt, 1783 | parameters: slackTransferAgentParameters, 1784 | actions: {}, 1785 | }, 1786 | { 1787 | method: 'slack_list_channels', 1788 | name: 'Slack List Channels', 1789 | description: slackListChannelsPrompt, 1790 | parameters: slackListChannelsParameters, 1791 | actions: {}, 1792 | }, 1793 | { 1794 | method: 'slack_list_messages', 1795 | name: 'Slack List Messages', 1796 | description: slackListMessagesPrompt, 1797 | parameters: slackListMessagesParameters, 1798 | actions: {}, 1799 | }, 1800 | { 1801 | method: 'slack_list_replies', 1802 | name: 'Slack List Replies', 1803 | description: slackListRepliesPrompt, 1804 | parameters: slackListRepliesParameters, 1805 | actions: {}, 1806 | }, 1807 | { 1808 | method: 'slack_send_message', 1809 | name: 'Slack Send Message', 1810 | description: slackSendMessagePrompt, 1811 | parameters: slackSendMessageParameters, 1812 | actions: {}, 1813 | }, 1814 | { 1815 | method: 'stripe_check_connection', 1816 | name: 'Stripe Check Connection', 1817 | description: stripeCheckConnectionPrompt, 1818 | parameters: stripeCheckConnectionParameters, 1819 | actions: {}, 1820 | }, 1821 | { 1822 | method: 'stripe_start_connection', 1823 | name: 'Stripe Start Connection', 1824 | description: stripeStartConnectionPrompt, 1825 | parameters: stripeStartConnectionParameters, 1826 | actions: {}, 1827 | }, 1828 | { 1829 | method: 'stripe_transfer_agent', 1830 | name: 'Stripe Transfer Agent', 1831 | description: stripeTransferAgentPrompt, 1832 | parameters: stripeTransferAgentParameters, 1833 | actions: {}, 1834 | }, 1835 | { 1836 | method: 'stripe_create_customer', 1837 | name: 'Stripe Create Customer', 1838 | description: stripeCreateCustomerPrompt, 1839 | parameters: stripeCreateCustomerParameters, 1840 | actions: {}, 1841 | }, 1842 | { 1843 | method: 'stripe_create_invoice_item', 1844 | name: 'Stripe Create Invoice Item', 1845 | description: stripeCreateInvoiceItemPrompt, 1846 | parameters: stripeCreateInvoiceItemParameters, 1847 | actions: {}, 1848 | }, 1849 | { 1850 | method: 'stripe_create_invoice', 1851 | name: 'Stripe Create Invoice', 1852 | description: stripeCreateInvoicePrompt, 1853 | parameters: stripeCreateInvoiceParameters, 1854 | actions: {}, 1855 | }, 1856 | { 1857 | method: 'stripe_delete_customer', 1858 | name: 'Stripe Delete Customer', 1859 | description: stripeDeleteCustomerPrompt, 1860 | parameters: stripeDeleteCustomerParameters, 1861 | actions: {}, 1862 | }, 1863 | { 1864 | method: 'stripe_get_customer', 1865 | name: 'Stripe Get Customer', 1866 | description: stripeGetCustomerPrompt, 1867 | parameters: stripeGetCustomerParameters, 1868 | actions: {}, 1869 | }, 1870 | { 1871 | method: 'stripe_get_invoice', 1872 | name: 'Stripe Get Invoice', 1873 | description: stripeGetInvoicePrompt, 1874 | parameters: stripeGetInvoiceParameters, 1875 | actions: {}, 1876 | }, 1877 | { 1878 | method: 'stripe_list_customers', 1879 | name: 'Stripe List Customers', 1880 | description: stripeListCustomersPrompt, 1881 | parameters: stripeListCustomersParameters, 1882 | actions: {}, 1883 | }, 1884 | { 1885 | method: 'stripe_list_invoices', 1886 | name: 'Stripe List Invoices', 1887 | description: stripeListInvoicesPrompt, 1888 | parameters: stripeListInvoicesParameters, 1889 | actions: {}, 1890 | }, 1891 | { 1892 | method: 'typeform_check_connection', 1893 | name: 'Typeform Check Connection', 1894 | description: typeformCheckConnectionPrompt, 1895 | parameters: typeformCheckConnectionParameters, 1896 | actions: {}, 1897 | }, 1898 | { 1899 | method: 'typeform_start_connection', 1900 | name: 'Typeform Start Connection', 1901 | description: typeformStartConnectionPrompt, 1902 | parameters: typeformStartConnectionParameters, 1903 | actions: {}, 1904 | }, 1905 | { 1906 | method: 'typeform_transfer_agent', 1907 | name: 'Typeform Transfer Agent', 1908 | description: typeformTransferAgentPrompt, 1909 | parameters: typeformTransferAgentParameters, 1910 | actions: {}, 1911 | }, 1912 | { 1913 | method: 'typeform_get_form', 1914 | name: 'Typeform Get Form', 1915 | description: typeformGetFormPrompt, 1916 | parameters: typeformGetFormParameters, 1917 | actions: {}, 1918 | }, 1919 | { 1920 | method: 'typeform_list_forms', 1921 | name: 'Typeform List Forms', 1922 | description: typeformListFormsPrompt, 1923 | parameters: typeformListFormsParameters, 1924 | actions: {}, 1925 | }, 1926 | { 1927 | method: 'typeform_list_responses', 1928 | name: 'Typeform List Responses', 1929 | description: typeformListResponsesPrompt, 1930 | parameters: typeformListResponsesParameters, 1931 | actions: {}, 1932 | }, 1933 | { 1934 | method: 'youtube_check_connection', 1935 | name: 'YouTube Check Connection', 1936 | description: youtubeCheckConnectionPrompt, 1937 | parameters: youtubeCheckConnectionParameters, 1938 | actions: {}, 1939 | }, 1940 | { 1941 | method: 'youtube_start_connection', 1942 | name: 'YouTube Start Connection', 1943 | description: youtubeStartConnectionPrompt, 1944 | parameters: youtubeStartConnectionParameters, 1945 | actions: {}, 1946 | }, 1947 | { 1948 | method: 'youtube_transfer_agent', 1949 | name: 'YouTube Transfer Agent', 1950 | description: youtubeTransferAgentPrompt, 1951 | parameters: youtubeTransferAgentParameters, 1952 | actions: {}, 1953 | }, 1954 | { 1955 | method: 'youtube_list_videos', 1956 | name: 'YouTube List Videos', 1957 | description: youtubeListVideosPrompt, 1958 | parameters: youtubeListVideosParameters, 1959 | actions: {}, 1960 | }, 1961 | { 1962 | method: 'youtube_search_videos', 1963 | name: 'YouTube Search Videos', 1964 | description: youtubeSearchVideosPrompt, 1965 | parameters: youtubeSearchVideosParameters, 1966 | actions: {}, 1967 | }, 1968 | ]; 1969 | 1970 | export default tools; 1971 | ```