@oomol-lab/open-connector 1.9.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) hide show
  1. package/assets/open-connector/catalog/apps/agentearth.json +441 -0
  2. package/assets/open-connector/catalog/apps/appgrowing_mcp.json +863 -0
  3. package/assets/open-connector/catalog/apps/arcmira.json +610 -0
  4. package/assets/open-connector/catalog/apps/bainiu.json +654 -0
  5. package/assets/open-connector/catalog/apps/chaport.json +331 -0
  6. package/assets/open-connector/catalog/apps/cnb.json +1408 -0
  7. package/assets/open-connector/catalog/apps/crtsh.json +123 -0
  8. package/assets/open-connector/catalog/apps/eastmoney_miaoxiang.json +406 -0
  9. package/assets/open-connector/catalog/apps/fastmoss_mcp.json +876 -876
  10. package/assets/open-connector/catalog/apps/ftshare.json +1162 -0
  11. package/assets/open-connector/catalog/apps/fusion-api.json +143 -0
  12. package/assets/open-connector/catalog/apps/fxbaogao.json +308 -0
  13. package/assets/open-connector/catalog/apps/github.json +38 -3
  14. package/assets/open-connector/catalog/apps/hrmos_kintai.json +7519 -0
  15. package/assets/open-connector/catalog/apps/humor_api.json +351 -0
  16. package/assets/open-connector/catalog/apps/kaonavi.json +1723 -0
  17. package/assets/open-connector/catalog/apps/linear_mcp.json +882 -22
  18. package/assets/open-connector/catalog/apps/listinggood.json +362 -0
  19. package/assets/open-connector/catalog/apps/notion_mcp.json +338 -1
  20. package/assets/open-connector/catalog/apps/outlook.json +414 -0
  21. package/assets/open-connector/catalog/apps/porteden.json +1258 -0
  22. package/assets/open-connector/catalog/apps/qiuxiaoce.json +915 -0
  23. package/assets/open-connector/catalog/apps/qqmusic.json +1834 -0
  24. package/assets/open-connector/catalog/apps/rakuraku_seisan.json +217 -0
  25. package/assets/open-connector/catalog/apps/redfox.json +9661 -897
  26. package/assets/open-connector/catalog/apps/salesforce.json +4907 -0
  27. package/assets/open-connector/catalog/apps/sansan.json +4594 -0
  28. package/assets/open-connector/catalog/apps/smarthr.json +8071 -0
  29. package/assets/open-connector/catalog/apps/smooth.json +914 -0
  30. package/assets/open-connector/catalog/apps/tapd.json +727 -0
  31. package/assets/open-connector/catalog/apps/tencent_meeting_mcp.json +1301 -0
  32. package/assets/open-connector/catalog/apps/threatfox.json +203 -0
  33. package/assets/open-connector/catalog/apps/tradebee.json +915 -0
  34. package/assets/open-connector/catalog/apps/twittrapi.json +4914 -0
  35. package/assets/open-connector/catalog/apps/urlhaus.json +246 -0
  36. package/assets/open-connector/catalog/apps/weread.json +1514 -0
  37. package/assets/open-connector/catalog/apps/whatsapp.json +12 -0
  38. package/assets/open-connector/catalog/apps/zhiliaobiaoxun.json +812 -0
  39. package/assets/open-connector/catalog/apps-index.json +1 -1
  40. package/package.json +2 -1
  41. package/src/connection-service.js +55 -11
  42. package/src/core/provider-error-codes.d.ts +9 -0
  43. package/src/core/provider-error-codes.js +13 -0
  44. package/src/core/request.d.ts +2 -0
  45. package/src/core/request.js +11 -2
  46. package/src/mail/imap-smtp/protocol.js +4 -3
  47. package/src/oauth/oauth-flow-service.js +1 -0
  48. package/src/oauth/oauth-token.d.ts +2 -0
  49. package/src/providers/17track/runtime.js +17 -20
  50. package/src/providers/action-contracts.generated.d.ts +36 -6
  51. package/src/providers/agentearth/actions.d.ts +2 -0
  52. package/src/providers/agentearth/actions.js +100 -0
  53. package/src/providers/agentearth/executors.d.ts +4 -0
  54. package/src/providers/agentearth/executors.js +109 -0
  55. package/src/providers/appgrowing_mcp/actions.d.ts +2 -0
  56. package/src/providers/appgrowing_mcp/actions.js +175 -0
  57. package/src/providers/appgrowing_mcp/executors.d.ts +4 -0
  58. package/src/providers/appgrowing_mcp/executors.js +66 -0
  59. package/src/providers/arcmira/executors.d.ts +3 -0
  60. package/src/providers/arcmira/executors.js +8 -0
  61. package/src/providers/arcmira/runtime.d.ts +6 -0
  62. package/src/providers/arcmira/runtime.js +41 -0
  63. package/src/providers/bainiu/actions.d.ts +2 -0
  64. package/src/providers/bainiu/actions.js +108 -0
  65. package/src/providers/bainiu/executors.d.ts +4 -0
  66. package/src/providers/bainiu/executors.js +113 -0
  67. package/src/providers/baixiao/executors.js +1 -1
  68. package/src/providers/bing_webmaster/executors.js +1 -1
  69. package/src/providers/chaport/actions.d.ts +2 -0
  70. package/src/providers/chaport/actions.js +70 -0
  71. package/src/providers/chaport/executors.d.ts +4 -0
  72. package/src/providers/chaport/executors.js +128 -0
  73. package/src/providers/clickup/runtime.js +49 -52
  74. package/src/providers/cnb/actions.d.ts +2 -0
  75. package/src/providers/cnb/actions.js +341 -0
  76. package/src/providers/cnb/executors.d.ts +4 -0
  77. package/src/providers/cnb/executors.js +135 -0
  78. package/src/providers/coupontools/runtime.js +11 -14
  79. package/src/providers/crtsh/executors.d.ts +3 -0
  80. package/src/providers/crtsh/executors.js +19 -0
  81. package/src/providers/crtsh/runtime.d.ts +17 -0
  82. package/src/providers/crtsh/runtime.js +84 -0
  83. package/src/providers/eastmoney_miaoxiang/actions.d.ts +2 -0
  84. package/src/providers/eastmoney_miaoxiang/actions.js +95 -0
  85. package/src/providers/eastmoney_miaoxiang/executors.d.ts +4 -0
  86. package/src/providers/eastmoney_miaoxiang/executors.js +81 -0
  87. package/src/providers/fastmoss_mcp/actions-content.d.ts +2 -0
  88. package/src/providers/fastmoss_mcp/actions-content.js +140 -0
  89. package/src/providers/fastmoss_mcp/actions-creator.d.ts +2 -0
  90. package/src/providers/fastmoss_mcp/actions-creator.js +154 -0
  91. package/src/providers/fastmoss_mcp/actions-product.d.ts +2 -0
  92. package/src/providers/fastmoss_mcp/actions-product.js +167 -0
  93. package/src/providers/fastmoss_mcp/actions-research.d.ts +2 -0
  94. package/src/providers/fastmoss_mcp/actions-research.js +174 -0
  95. package/src/providers/fastmoss_mcp/actions-shop.d.ts +2 -0
  96. package/src/providers/fastmoss_mcp/actions-shop.js +142 -0
  97. package/src/providers/fastmoss_mcp/actions.js +11 -12
  98. package/src/providers/fastmoss_mcp/schemas.d.ts +51 -0
  99. package/src/providers/fastmoss_mcp/schemas.js +52 -0
  100. package/src/providers/ftshare/actions.d.ts +2 -0
  101. package/src/providers/ftshare/actions.js +124 -0
  102. package/src/providers/ftshare/executors.d.ts +4 -0
  103. package/src/providers/ftshare/executors.js +102 -0
  104. package/src/providers/fusion-api/operations.js +37 -0
  105. package/src/providers/fxbaogao/actions.d.ts +2 -0
  106. package/src/providers/fxbaogao/actions.js +74 -0
  107. package/src/providers/fxbaogao/executors.d.ts +4 -0
  108. package/src/providers/fxbaogao/executors.js +155 -0
  109. package/src/providers/github/app-installation.d.ts +37 -0
  110. package/src/providers/github/app-installation.js +233 -0
  111. package/src/providers/github/executors.js +93 -15
  112. package/src/providers/github/runtime-repository.js +21 -1
  113. package/src/providers/github/runtime-shared.d.ts +2 -0
  114. package/src/providers/github/runtime-shared.js +1 -0
  115. package/src/providers/googledrive/runtime-request.js +3 -3
  116. package/src/providers/hrmos_kintai/actions.d.ts +2 -0
  117. package/src/providers/hrmos_kintai/actions.js +139 -0
  118. package/src/providers/hrmos_kintai/attendance-actions.d.ts +2 -0
  119. package/src/providers/hrmos_kintai/attendance-actions.js +276 -0
  120. package/src/providers/hrmos_kintai/business-actions.d.ts +2 -0
  121. package/src/providers/hrmos_kintai/business-actions.js +143 -0
  122. package/src/providers/hrmos_kintai/business-schemas.d.ts +4 -0
  123. package/src/providers/hrmos_kintai/business-schemas.js +320 -0
  124. package/src/providers/hrmos_kintai/executors.d.ts +4 -0
  125. package/src/providers/hrmos_kintai/executors.js +61 -0
  126. package/src/providers/hrmos_kintai/export-actions.d.ts +2 -0
  127. package/src/providers/hrmos_kintai/export-actions.js +58 -0
  128. package/src/providers/hrmos_kintai/operations.d.ts +9 -0
  129. package/src/providers/hrmos_kintai/operations.js +278 -0
  130. package/src/providers/hrmos_kintai/runtime.d.ts +10 -0
  131. package/src/providers/hrmos_kintai/runtime.js +217 -0
  132. package/src/providers/hrmos_kintai/schemas.d.ts +10 -0
  133. package/src/providers/hrmos_kintai/schemas.js +70 -0
  134. package/src/providers/humor_api/actions.d.ts +2 -0
  135. package/src/providers/humor_api/actions.js +96 -0
  136. package/src/providers/humor_api/executors.d.ts +4 -0
  137. package/src/providers/humor_api/executors.js +76 -0
  138. package/src/providers/kaonavi/actions.d.ts +4 -0
  139. package/src/providers/kaonavi/actions.js +144 -0
  140. package/src/providers/kaonavi/additional-actions.d.ts +10 -0
  141. package/src/providers/kaonavi/additional-actions.js +203 -0
  142. package/src/providers/kaonavi/executors.d.ts +4 -0
  143. package/src/providers/kaonavi/executors.js +69 -0
  144. package/src/providers/kaonavi/runtime.d.ts +4 -0
  145. package/src/providers/kaonavi/runtime.js +69 -0
  146. package/src/providers/linear_mcp/actions.d.ts +14 -0
  147. package/src/providers/linear_mcp/actions.js +134 -0
  148. package/src/providers/linear_mcp/runtime-mcp.d.ts +7 -1
  149. package/src/providers/linear_mcp/runtime-mcp.js +140 -28
  150. package/src/providers/linkfox/runtime.js +48 -51
  151. package/src/providers/listinggood/actions.d.ts +2 -0
  152. package/src/providers/listinggood/actions.js +95 -0
  153. package/src/providers/listinggood/executors.d.ts +4 -0
  154. package/src/providers/listinggood/executors.js +99 -0
  155. package/src/providers/mcp-tools.d.ts +3 -0
  156. package/src/providers/mcp-tools.js +5 -4
  157. package/src/providers/notion_mcp/executors.js +53 -24
  158. package/src/providers/notion_mcp/mcp-response.d.ts +26 -0
  159. package/src/providers/notion_mcp/mcp-response.js +95 -0
  160. package/src/providers/omise/executors.js +1 -1
  161. package/src/providers/outlook/executors.js +35 -2
  162. package/src/providers/porteden/actions.d.ts +2 -0
  163. package/src/providers/porteden/actions.js +162 -0
  164. package/src/providers/porteden/executors.d.ts +4 -0
  165. package/src/providers/porteden/executors.js +140 -0
  166. package/src/providers/provider-runtime.d.ts +3 -2
  167. package/src/providers/pushover/runtime.js +28 -31
  168. package/src/providers/qianfan/runtime.js +16 -19
  169. package/src/providers/qiuxiaoce/actions.d.ts +2 -0
  170. package/src/providers/qiuxiaoce/actions.js +248 -0
  171. package/src/providers/qiuxiaoce/executors.d.ts +4 -0
  172. package/src/providers/qiuxiaoce/executors.js +76 -0
  173. package/src/providers/qiuxiaoce/routes.d.ts +1 -0
  174. package/src/providers/qiuxiaoce/routes.js +20 -0
  175. package/src/providers/qqmusic/actions.d.ts +2 -0
  176. package/src/providers/qqmusic/actions.js +229 -0
  177. package/src/providers/qqmusic/executors.d.ts +4 -0
  178. package/src/providers/qqmusic/executors.js +92 -0
  179. package/src/providers/qqmusic/report-schema.d.ts +4 -0
  180. package/src/providers/qqmusic/report-schema.js +119 -0
  181. package/src/providers/rakuraku_seisan/actions.d.ts +2 -0
  182. package/src/providers/rakuraku_seisan/actions.js +50 -0
  183. package/src/providers/rakuraku_seisan/executors.d.ts +4 -0
  184. package/src/providers/rakuraku_seisan/executors.js +40 -0
  185. package/src/providers/rakuraku_seisan/runtime.d.ts +8 -0
  186. package/src/providers/rakuraku_seisan/runtime.js +251 -0
  187. package/src/providers/redfox/actions-account.d.ts +2 -0
  188. package/src/providers/redfox/actions-account.js +24 -0
  189. package/src/providers/redfox/actions-autohome.d.ts +2 -0
  190. package/src/providers/redfox/actions-autohome.js +51 -0
  191. package/src/providers/redfox/actions-baijiahao.d.ts +2 -0
  192. package/src/providers/redfox/actions-baijiahao.js +58 -0
  193. package/src/providers/redfox/actions-bilibili.d.ts +2 -0
  194. package/src/providers/redfox/actions-bilibili.js +67 -0
  195. package/src/providers/redfox/actions-dongchedi.d.ts +2 -0
  196. package/src/providers/redfox/actions-dongchedi.js +49 -0
  197. package/src/providers/redfox/actions-douyin.d.ts +2 -0
  198. package/src/providers/redfox/actions-douyin.js +297 -0
  199. package/src/providers/redfox/actions-generation.d.ts +2 -0
  200. package/src/providers/redfox/actions-generation.js +293 -0
  201. package/src/providers/redfox/actions-instagram.d.ts +2 -0
  202. package/src/providers/redfox/actions-instagram.js +49 -0
  203. package/src/providers/redfox/actions-kuaishou.d.ts +2 -0
  204. package/src/providers/redfox/actions-kuaishou.js +53 -0
  205. package/src/providers/redfox/actions-search.d.ts +2 -0
  206. package/src/providers/redfox/actions-search.js +125 -0
  207. package/src/providers/redfox/actions-tiktok.d.ts +2 -0
  208. package/src/providers/redfox/actions-tiktok.js +136 -0
  209. package/src/providers/redfox/actions-tools.d.ts +2 -0
  210. package/src/providers/redfox/actions-tools.js +151 -0
  211. package/src/providers/redfox/actions-toutiao.d.ts +2 -0
  212. package/src/providers/redfox/actions-toutiao.js +68 -0
  213. package/src/providers/redfox/actions-transcription.d.ts +2 -0
  214. package/src/providers/redfox/actions-transcription.js +165 -0
  215. package/src/providers/redfox/actions-wechat-channel.d.ts +2 -0
  216. package/src/providers/redfox/actions-wechat-channel.js +63 -0
  217. package/src/providers/redfox/actions-wechat.d.ts +2 -0
  218. package/src/providers/redfox/actions-wechat.js +302 -0
  219. package/src/providers/redfox/actions-weibo.d.ts +2 -0
  220. package/src/providers/redfox/actions-weibo.js +61 -0
  221. package/src/providers/redfox/actions-x.d.ts +2 -0
  222. package/src/providers/redfox/actions-x.js +126 -0
  223. package/src/providers/redfox/actions-xiaohongshu.d.ts +2 -0
  224. package/src/providers/redfox/actions-xiaohongshu.js +244 -0
  225. package/src/providers/redfox/actions-yiche.d.ts +2 -0
  226. package/src/providers/redfox/actions-yiche.js +59 -0
  227. package/src/providers/redfox/actions-youtube.d.ts +2 -0
  228. package/src/providers/redfox/actions-youtube.js +64 -0
  229. package/src/providers/redfox/actions-zhihu.d.ts +2 -0
  230. package/src/providers/redfox/actions-zhihu.js +26 -0
  231. package/src/providers/redfox/actions.d.ts +2 -0
  232. package/src/providers/redfox/actions.js +49 -0
  233. package/src/providers/redfox/executors.d.ts +2 -14
  234. package/src/providers/redfox/executors.js +28 -551
  235. package/src/providers/redfox/routes.d.ts +11 -0
  236. package/src/providers/redfox/routes.js +329 -0
  237. package/src/providers/redfox/runtime.d.ts +6 -0
  238. package/src/providers/redfox/runtime.js +151 -0
  239. package/src/providers/redfox/schemas.d.ts +9 -0
  240. package/src/providers/redfox/schemas.js +40 -0
  241. package/src/providers/registry.generated.js +30 -0
  242. package/src/providers/salesforce/context.d.ts +16 -0
  243. package/src/providers/salesforce/context.js +58 -0
  244. package/src/providers/salesforce/executors.d.ts +5 -0
  245. package/src/providers/salesforce/executors.js +54 -0
  246. package/src/providers/salesforce/media.d.ts +9 -0
  247. package/src/providers/salesforce/media.js +66 -0
  248. package/src/providers/salesforce/oauth.d.ts +2 -0
  249. package/src/providers/salesforce/oauth.js +89 -0
  250. package/src/providers/salesforce/runtime-analytics.d.ts +2 -0
  251. package/src/providers/salesforce/runtime-analytics.js +60 -0
  252. package/src/providers/salesforce/runtime-automation.d.ts +2 -0
  253. package/src/providers/salesforce/runtime-automation.js +64 -0
  254. package/src/providers/salesforce/runtime-base.d.ts +2 -0
  255. package/src/providers/salesforce/runtime-base.js +51 -0
  256. package/src/providers/salesforce/runtime-bulk.d.ts +2 -0
  257. package/src/providers/salesforce/runtime-bulk.js +98 -0
  258. package/src/providers/salesforce/runtime-data.d.ts +2 -0
  259. package/src/providers/salesforce/runtime-data.js +207 -0
  260. package/src/providers/salesforce/runtime-files.d.ts +2 -0
  261. package/src/providers/salesforce/runtime-files.js +108 -0
  262. package/src/providers/salesforce/transport.d.ts +9 -0
  263. package/src/providers/salesforce/transport.js +65 -0
  264. package/src/providers/sansan/actions.d.ts +2 -0
  265. package/src/providers/sansan/actions.js +165 -0
  266. package/src/providers/sansan/admin-actions.d.ts +2 -0
  267. package/src/providers/sansan/admin-actions.js +181 -0
  268. package/src/providers/sansan/admin.d.ts +2 -0
  269. package/src/providers/sansan/admin.js +42 -0
  270. package/src/providers/sansan/business-actions.d.ts +2 -0
  271. package/src/providers/sansan/business-actions.js +160 -0
  272. package/src/providers/sansan/business.d.ts +2 -0
  273. package/src/providers/sansan/business.js +51 -0
  274. package/src/providers/sansan/executors.d.ts +4 -0
  275. package/src/providers/sansan/executors.js +59 -0
  276. package/src/providers/sansan/file-schema.d.ts +2 -0
  277. package/src/providers/sansan/file-schema.js +8 -0
  278. package/src/providers/sansan/files.d.ts +11 -0
  279. package/src/providers/sansan/files.js +49 -0
  280. package/src/providers/sansan/organization-actions.d.ts +2 -0
  281. package/src/providers/sansan/organization-actions.js +198 -0
  282. package/src/providers/sansan/organization-columns.d.ts +2 -0
  283. package/src/providers/sansan/organization-columns.js +33 -0
  284. package/src/providers/sansan/organization.d.ts +2 -0
  285. package/src/providers/sansan/organization.js +88 -0
  286. package/src/providers/sansan/read.d.ts +2 -0
  287. package/src/providers/sansan/read.js +25 -0
  288. package/src/providers/sansan/request.d.ts +22 -0
  289. package/src/providers/sansan/request.js +94 -0
  290. package/src/providers/sansan/schemas.d.ts +7 -0
  291. package/src/providers/sansan/schemas.js +72 -0
  292. package/src/providers/shopee/runtime.d.ts +33 -29
  293. package/src/providers/shopee/runtime.js +166 -169
  294. package/src/providers/smarthr/actions.d.ts +2 -0
  295. package/src/providers/smarthr/actions.js +286 -0
  296. package/src/providers/smarthr/employee-runtime.d.ts +1 -0
  297. package/src/providers/smarthr/employee-runtime.js +63 -0
  298. package/src/providers/smarthr/employee-schema.d.ts +3 -0
  299. package/src/providers/smarthr/employee-schema.js +222 -0
  300. package/src/providers/smarthr/executors.d.ts +4 -0
  301. package/src/providers/smarthr/executors.js +35 -0
  302. package/src/providers/smarthr/pagination.d.ts +1 -0
  303. package/src/providers/smarthr/pagination.js +84 -0
  304. package/src/providers/smarthr/resource-routes.d.ts +16 -0
  305. package/src/providers/smarthr/resource-routes.js +163 -0
  306. package/src/providers/smarthr/runtime.d.ts +13 -0
  307. package/src/providers/smarthr/runtime.js +242 -0
  308. package/src/providers/smarthr/supplemental-actions.d.ts +2 -0
  309. package/src/providers/smarthr/supplemental-actions.js +541 -0
  310. package/src/providers/smooth/actions.d.ts +2 -0
  311. package/src/providers/smooth/actions.js +138 -0
  312. package/src/providers/smooth/executors.d.ts +4 -0
  313. package/src/providers/smooth/executors.js +102 -0
  314. package/src/providers/tapd/actions.d.ts +8 -0
  315. package/src/providers/tapd/actions.js +89 -0
  316. package/src/providers/tapd/executors.d.ts +4 -0
  317. package/src/providers/tapd/executors.js +137 -0
  318. package/src/providers/teable/runtime.js +12 -15
  319. package/src/providers/tencent_meeting_mcp/actions.d.ts +2 -0
  320. package/src/providers/tencent_meeting_mcp/actions.js +420 -0
  321. package/src/providers/tencent_meeting_mcp/executors.d.ts +4 -0
  322. package/src/providers/tencent_meeting_mcp/executors.js +117 -0
  323. package/src/providers/threatfox/executors.d.ts +4 -0
  324. package/src/providers/threatfox/executors.js +40 -0
  325. package/src/providers/threatfox/runtime.d.ts +15 -0
  326. package/src/providers/threatfox/runtime.js +128 -0
  327. package/src/providers/ticket_tailor/runtime.js +1 -1
  328. package/src/providers/ticketmaster/runtime.js +3 -6
  329. package/src/providers/timelinesai/runtime.js +13 -16
  330. package/src/providers/tradebee/actions.d.ts +2 -0
  331. package/src/providers/tradebee/actions.js +176 -0
  332. package/src/providers/tradebee/executors.d.ts +4 -0
  333. package/src/providers/tradebee/executors.js +83 -0
  334. package/src/providers/twittrapi/executors.d.ts +4 -0
  335. package/src/providers/twittrapi/executors.js +17 -0
  336. package/src/providers/twittrapi/runtime.d.ts +12 -0
  337. package/src/providers/twittrapi/runtime.js +203 -0
  338. package/src/providers/urlhaus/executors.d.ts +4 -0
  339. package/src/providers/urlhaus/executors.js +40 -0
  340. package/src/providers/urlhaus/runtime.d.ts +15 -0
  341. package/src/providers/urlhaus/runtime.js +142 -0
  342. package/src/providers/wangdian/runtime.js +16 -19
  343. package/src/providers/weread/actions.d.ts +2 -0
  344. package/src/providers/weread/actions.js +424 -0
  345. package/src/providers/weread/executors.d.ts +4 -0
  346. package/src/providers/weread/executors.js +98 -0
  347. package/src/providers/whatsapp/runtime.js +6 -1
  348. package/src/providers/workast/runtime.js +12 -17
  349. package/src/providers/youzan/runtime.js +21 -24
  350. package/src/providers/zenkit/runtime.js +13 -19
  351. package/src/providers/zhiliaobiaoxun/actions.d.ts +2 -0
  352. package/src/providers/zhiliaobiaoxun/actions.js +138 -0
  353. package/src/providers/zhiliaobiaoxun/executors.d.ts +4 -0
  354. package/src/providers/zhiliaobiaoxun/executors.js +78 -0
  355. package/src/server/api/auth.d.ts +2 -0
  356. package/src/server/api/auth.js +2 -1
  357. package/src/server/api/console-catalog-routes.d.ts +17 -0
  358. package/src/server/api/console-catalog-routes.js +88 -0
  359. package/src/server/api/console-oauth-routes.d.ts +18 -0
  360. package/src/server/api/console-oauth-routes.js +298 -0
  361. package/src/server/api/docs-routes.d.ts +12 -0
  362. package/src/server/api/docs-routes.js +38 -0
  363. package/src/server/api/http-utils.d.ts +1 -0
  364. package/src/server/api/http-utils.js +8 -0
  365. package/src/server/api/marketplace-routes.d.ts +7 -0
  366. package/src/server/api/marketplace-routes.js +62 -0
  367. package/src/server/api/mcp-routes.d.ts +18 -0
  368. package/src/server/api/mcp-routes.js +37 -0
  369. package/src/server/api/policy-routes.d.ts +13 -0
  370. package/src/server/api/policy-routes.js +50 -0
  371. package/src/server/api/policy-snapshot.d.ts +14 -0
  372. package/src/server/api/policy-snapshot.js +30 -0
  373. package/src/server/api/run-log-routes.d.ts +7 -0
  374. package/src/server/api/run-log-routes.js +70 -0
  375. package/src/server/api/runtime-api.d.ts +0 -7
  376. package/src/server/api/runtime-api.js +0 -13
  377. package/src/server/api/runtime-app-routes.d.ts +10 -0
  378. package/src/server/api/runtime-app-routes.js +72 -0
  379. package/src/server/api/runtime-catalog-routes.d.ts +37 -0
  380. package/src/server/api/runtime-catalog-routes.js +133 -0
  381. package/src/server/api/runtime-execution-routes.d.ts +16 -0
  382. package/src/server/api/runtime-execution-routes.js +198 -0
  383. package/src/server/api/saas-oauth-routes.d.ts +9 -0
  384. package/src/server/api/saas-oauth-routes.js +27 -0
  385. package/src/server/api/saas-project-routes.d.ts +7 -0
  386. package/src/server/api/saas-project-routes.js +16 -0
  387. package/src/server/api/transit-file-routes.d.ts +9 -0
  388. package/src/server/api/transit-file-routes.js +49 -0
  389. package/src/server/api/trigger-routes.d.ts +15 -0
  390. package/src/server/api/trigger-routes.js +48 -0
  391. package/src/server/connect-app.d.ts +1 -0
  392. package/src/server/connect-app.js +3 -1
  393. package/src/server/connect-server.d.ts +3 -54
  394. package/src/server/connect-server.js +95 -1148
  395. package/src/providers/fastmoss_mcp/official-tools.json +0 -2922
@@ -0,0 +1,4907 @@
1
+ {
2
+ "service": "salesforce",
3
+ "displayName": "Salesforce",
4
+ "categories": [
5
+ "Productivity"
6
+ ],
7
+ "homepageUrl": "https://www.salesforce.com",
8
+ "authTypes": [
9
+ "oauth2"
10
+ ],
11
+ "auth": [
12
+ {
13
+ "type": "oauth2",
14
+ "authorizationUrl": "https://login.salesforce.com/services/oauth2/authorize",
15
+ "tokenUrl": "https://login.salesforce.com/services/oauth2/token",
16
+ "scopes": [
17
+ "api",
18
+ "refresh_token"
19
+ ],
20
+ "tokenEndpointAuthMethod": "client_secret_post",
21
+ "pkce": {
22
+ "method": "S256"
23
+ },
24
+ "clientConfigFields": [
25
+ {
26
+ "key": "loginUrl",
27
+ "label": "Salesforce login URL",
28
+ "inputType": "text",
29
+ "required": false,
30
+ "secret": false,
31
+ "defaultValue": "https://login.salesforce.com",
32
+ "placeholder": "https://login.salesforce.com",
33
+ "description": "Use https://login.salesforce.com for production, https://test.salesforce.com for a sandbox, or your HTTPS My Domain URL from Salesforce Setup > My Domain."
34
+ }
35
+ ],
36
+ "clientSetup": {
37
+ "docsUrl": "https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_web_server_flow.htm&type=5",
38
+ "steps": [
39
+ "Create a Salesforce External Client App or Connected App with OAuth enabled.",
40
+ "Register the callback URL shown here and enable api and refresh_token scopes.",
41
+ "Enable the authorization code flow with PKCE and configure the app's client ID and client secret here.",
42
+ "Use the sandbox login URL for sandbox organizations, or the organization's My Domain URL when required by its login policy."
43
+ ]
44
+ }
45
+ }
46
+ ],
47
+ "actions": [
48
+ {
49
+ "id": "salesforce.cancel_bulk_job",
50
+ "service": "salesforce",
51
+ "name": "cancel_bulk_job",
52
+ "description": "Abort a Bulk query or ingest job created by the authorized user.",
53
+ "operationType": "destructive",
54
+ "requiredScopes": [
55
+ "api"
56
+ ],
57
+ "providerPermissions": [],
58
+ "inputSchema": {
59
+ "type": "object",
60
+ "properties": {
61
+ "apiVersion": {
62
+ "type": "string",
63
+ "description": "Salesforce REST API version supported by your organization.",
64
+ "default": "66.0",
65
+ "pattern": "^[0-9]+\\.[0-9]+$"
66
+ },
67
+ "handle": {
68
+ "type": "object",
69
+ "properties": {
70
+ "jobId": {
71
+ "type": "string",
72
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
73
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
74
+ },
75
+ "kind": {
76
+ "type": "string",
77
+ "enum": [
78
+ "query",
79
+ "ingest"
80
+ ],
81
+ "description": "Bulk job kind."
82
+ },
83
+ "apiVersion": {
84
+ "type": "string",
85
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
86
+ "pattern": "^[0-9]+\\.[0-9]+$"
87
+ }
88
+ },
89
+ "additionalProperties": false,
90
+ "required": [
91
+ "jobId",
92
+ "kind",
93
+ "apiVersion"
94
+ ],
95
+ "description": "Bulk job handle; preserve the API version and job kind."
96
+ }
97
+ },
98
+ "additionalProperties": false,
99
+ "required": [
100
+ "handle"
101
+ ],
102
+ "description": "Action input."
103
+ },
104
+ "outputSchema": {
105
+ "type": "object",
106
+ "properties": {
107
+ "handle": {
108
+ "type": "object",
109
+ "properties": {
110
+ "jobId": {
111
+ "type": "string",
112
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
113
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
114
+ },
115
+ "kind": {
116
+ "type": "string",
117
+ "enum": [
118
+ "query",
119
+ "ingest"
120
+ ],
121
+ "description": "Bulk job kind."
122
+ },
123
+ "apiVersion": {
124
+ "type": "string",
125
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
126
+ "pattern": "^[0-9]+\\.[0-9]+$"
127
+ }
128
+ },
129
+ "additionalProperties": false,
130
+ "required": [
131
+ "jobId",
132
+ "kind",
133
+ "apiVersion"
134
+ ],
135
+ "description": "Bulk job handle; preserve the API version and job kind."
136
+ },
137
+ "state": {
138
+ "type": "string",
139
+ "description": "Salesforce job state."
140
+ },
141
+ "job": {
142
+ "type": "object",
143
+ "properties": {},
144
+ "additionalProperties": true,
145
+ "description": "Full Salesforce job information, including failure counts and errorMessage."
146
+ },
147
+ "result": {
148
+ "type": "object",
149
+ "properties": {
150
+ "fileId": {
151
+ "type": "string",
152
+ "description": "Transit file identifier."
153
+ },
154
+ "downloadUrl": {
155
+ "type": "string",
156
+ "description": "URL for downloading the transit file."
157
+ },
158
+ "name": {
159
+ "type": "string",
160
+ "description": "File name."
161
+ },
162
+ "mimeType": {
163
+ "type": "string",
164
+ "description": "File media type."
165
+ },
166
+ "sizeBytes": {
167
+ "type": "integer",
168
+ "description": "Downloaded file size in bytes."
169
+ }
170
+ },
171
+ "additionalProperties": false,
172
+ "required": [
173
+ "fileId",
174
+ "downloadUrl",
175
+ "name",
176
+ "mimeType",
177
+ "sizeBytes"
178
+ ],
179
+ "description": "Downloaded file stored in local file transit."
180
+ },
181
+ "nextLocator": {
182
+ "anyOf": [
183
+ {
184
+ "type": "string",
185
+ "description": "Locator for the next CSV page; null when finished."
186
+ },
187
+ {
188
+ "type": "null"
189
+ }
190
+ ],
191
+ "description": "Locator for the next CSV page; null when finished."
192
+ },
193
+ "numberOfRecords": {
194
+ "type": "integer",
195
+ "description": "Number of records in this CSV page."
196
+ }
197
+ },
198
+ "additionalProperties": false,
199
+ "required": [
200
+ "handle",
201
+ "state",
202
+ "job"
203
+ ],
204
+ "description": "Bulk job state and optional result file."
205
+ }
206
+ },
207
+ {
208
+ "id": "salesforce.create_record",
209
+ "service": "salesforce",
210
+ "name": "create_record",
211
+ "description": "Create one standard or custom Salesforce record.",
212
+ "operationType": "write",
213
+ "requiredScopes": [
214
+ "api"
215
+ ],
216
+ "providerPermissions": [],
217
+ "inputSchema": {
218
+ "type": "object",
219
+ "properties": {
220
+ "apiVersion": {
221
+ "type": "string",
222
+ "description": "Salesforce REST API version supported by your organization.",
223
+ "default": "66.0",
224
+ "pattern": "^[0-9]+\\.[0-9]+$"
225
+ },
226
+ "objectName": {
227
+ "type": "string",
228
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
229
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
230
+ },
231
+ "fields": {
232
+ "type": "object",
233
+ "properties": {},
234
+ "additionalProperties": true,
235
+ "description": "Field API names and JSON values to write. Use describe_object to discover writable fields; null clears a field."
236
+ }
237
+ },
238
+ "additionalProperties": false,
239
+ "required": [
240
+ "objectName",
241
+ "fields"
242
+ ],
243
+ "description": "Action input."
244
+ },
245
+ "outputSchema": {
246
+ "type": "object",
247
+ "properties": {
248
+ "id": {
249
+ "type": "string",
250
+ "description": "ID of the affected record, when returned by Salesforce."
251
+ },
252
+ "success": {
253
+ "type": "boolean",
254
+ "description": "Whether the mutation succeeded."
255
+ },
256
+ "created": {
257
+ "type": "boolean",
258
+ "description": "Whether an upsert created a new record."
259
+ },
260
+ "errors": {
261
+ "type": "array",
262
+ "items": {
263
+ "description": "Salesforce error details."
264
+ },
265
+ "description": "Errors returned by Salesforce."
266
+ }
267
+ },
268
+ "additionalProperties": true,
269
+ "required": [
270
+ "success"
271
+ ],
272
+ "description": "Result of a successful record mutation."
273
+ }
274
+ },
275
+ {
276
+ "id": "salesforce.create_record_tree",
277
+ "service": "salesforce",
278
+ "name": "create_record_tree",
279
+ "description": "Create parent-child record trees atomically: at most 200 records, five object types and five levels.",
280
+ "operationType": "write",
281
+ "requiredScopes": [
282
+ "api"
283
+ ],
284
+ "providerPermissions": [],
285
+ "inputSchema": {
286
+ "type": "object",
287
+ "properties": {
288
+ "apiVersion": {
289
+ "type": "string",
290
+ "description": "Salesforce REST API version supported by your organization.",
291
+ "default": "66.0",
292
+ "pattern": "^[0-9]+\\.[0-9]+$"
293
+ },
294
+ "objectName": {
295
+ "type": "string",
296
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
297
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
298
+ },
299
+ "records": {
300
+ "type": "array",
301
+ "items": {
302
+ "type": "object",
303
+ "properties": {},
304
+ "additionalProperties": true,
305
+ "description": "Salesforce tree record."
306
+ },
307
+ "description": "Root records with attributes.type, attributes.referenceId and nested relationship records arrays.",
308
+ "minItems": 1,
309
+ "maxItems": 200
310
+ }
311
+ },
312
+ "additionalProperties": false,
313
+ "required": [
314
+ "objectName",
315
+ "records"
316
+ ],
317
+ "description": "Action input."
318
+ },
319
+ "outputSchema": {
320
+ "type": "object",
321
+ "properties": {
322
+ "hasErrors": {
323
+ "type": "boolean",
324
+ "description": "Whether the tree operation failed."
325
+ },
326
+ "results": {
327
+ "type": "array",
328
+ "items": {
329
+ "type": "object",
330
+ "properties": {},
331
+ "additionalProperties": true,
332
+ "description": "Tree item result."
333
+ },
334
+ "description": "Reference IDs, record IDs and errors."
335
+ }
336
+ },
337
+ "additionalProperties": true,
338
+ "description": "Tree creation results."
339
+ }
340
+ },
341
+ {
342
+ "id": "salesforce.create_records",
343
+ "service": "salesforce",
344
+ "name": "create_records",
345
+ "description": "Create up to 200 records, preserving per-record success and errors.",
346
+ "operationType": "write",
347
+ "requiredScopes": [
348
+ "api"
349
+ ],
350
+ "providerPermissions": [],
351
+ "inputSchema": {
352
+ "type": "object",
353
+ "properties": {
354
+ "apiVersion": {
355
+ "type": "string",
356
+ "description": "Salesforce REST API version supported by your organization.",
357
+ "default": "66.0",
358
+ "pattern": "^[0-9]+\\.[0-9]+$"
359
+ },
360
+ "records": {
361
+ "type": "array",
362
+ "items": {
363
+ "type": "object",
364
+ "properties": {
365
+ "objectName": {
366
+ "type": "string",
367
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
368
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
369
+ },
370
+ "fields": {
371
+ "type": "object",
372
+ "properties": {},
373
+ "additionalProperties": true,
374
+ "description": "Field API names and JSON values to write. Use describe_object to discover writable fields; null clears a field."
375
+ }
376
+ },
377
+ "additionalProperties": false,
378
+ "required": [
379
+ "objectName",
380
+ "fields"
381
+ ],
382
+ "description": "Record to create; standard and custom objects may be mixed."
383
+ },
384
+ "description": "Records to create.",
385
+ "minItems": 1,
386
+ "maxItems": 200
387
+ },
388
+ "allOrNone": {
389
+ "type": "boolean",
390
+ "description": "Roll back the entire collection if any item fails. Defaults to false."
391
+ }
392
+ },
393
+ "additionalProperties": false,
394
+ "required": [
395
+ "records"
396
+ ],
397
+ "description": "Action input."
398
+ },
399
+ "outputSchema": {
400
+ "type": "object",
401
+ "properties": {
402
+ "results": {
403
+ "type": "array",
404
+ "items": {
405
+ "description": "Upstream item result."
406
+ },
407
+ "description": "One result per item; inspect individual success flags."
408
+ }
409
+ },
410
+ "additionalProperties": false,
411
+ "required": [
412
+ "results"
413
+ ],
414
+ "description": "Ordered upstream results; individual items can contain errors or null."
415
+ }
416
+ },
417
+ {
418
+ "id": "salesforce.delete_file",
419
+ "service": "salesforce",
420
+ "name": "delete_file",
421
+ "description": "Delete a ContentDocument and its associated versions and links.",
422
+ "operationType": "destructive",
423
+ "requiredScopes": [
424
+ "api"
425
+ ],
426
+ "providerPermissions": [],
427
+ "inputSchema": {
428
+ "type": "object",
429
+ "properties": {
430
+ "apiVersion": {
431
+ "type": "string",
432
+ "description": "Salesforce REST API version supported by your organization.",
433
+ "default": "66.0",
434
+ "pattern": "^[0-9]+\\.[0-9]+$"
435
+ },
436
+ "fileId": {
437
+ "type": "string",
438
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
439
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
440
+ }
441
+ },
442
+ "additionalProperties": false,
443
+ "required": [
444
+ "fileId"
445
+ ],
446
+ "description": "Action input."
447
+ },
448
+ "outputSchema": {
449
+ "type": "object",
450
+ "properties": {
451
+ "success": {
452
+ "type": "boolean",
453
+ "description": "Whether the request succeeded."
454
+ }
455
+ },
456
+ "additionalProperties": false,
457
+ "required": [
458
+ "success"
459
+ ],
460
+ "description": "Operation acknowledgement."
461
+ }
462
+ },
463
+ {
464
+ "id": "salesforce.delete_record",
465
+ "service": "salesforce",
466
+ "name": "delete_record",
467
+ "description": "Delete one Salesforce record by object API name and record ID.",
468
+ "operationType": "destructive",
469
+ "requiredScopes": [
470
+ "api"
471
+ ],
472
+ "providerPermissions": [],
473
+ "inputSchema": {
474
+ "type": "object",
475
+ "properties": {
476
+ "apiVersion": {
477
+ "type": "string",
478
+ "description": "Salesforce REST API version supported by your organization.",
479
+ "default": "66.0",
480
+ "pattern": "^[0-9]+\\.[0-9]+$"
481
+ },
482
+ "objectName": {
483
+ "type": "string",
484
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
485
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
486
+ },
487
+ "recordId": {
488
+ "type": "string",
489
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
490
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
491
+ }
492
+ },
493
+ "additionalProperties": false,
494
+ "required": [
495
+ "objectName",
496
+ "recordId"
497
+ ],
498
+ "description": "Action input."
499
+ },
500
+ "outputSchema": {
501
+ "type": "object",
502
+ "properties": {
503
+ "id": {
504
+ "type": "string",
505
+ "description": "ID of the affected record, when returned by Salesforce."
506
+ },
507
+ "success": {
508
+ "type": "boolean",
509
+ "description": "Whether the mutation succeeded."
510
+ },
511
+ "created": {
512
+ "type": "boolean",
513
+ "description": "Whether an upsert created a new record."
514
+ },
515
+ "errors": {
516
+ "type": "array",
517
+ "items": {
518
+ "description": "Salesforce error details."
519
+ },
520
+ "description": "Errors returned by Salesforce."
521
+ }
522
+ },
523
+ "additionalProperties": true,
524
+ "required": [
525
+ "success"
526
+ ],
527
+ "description": "Result of a successful record mutation."
528
+ }
529
+ },
530
+ {
531
+ "id": "salesforce.delete_records",
532
+ "service": "salesforce",
533
+ "name": "delete_records",
534
+ "description": "Delete up to 200 Salesforce records, optionally rolling back on any failure.",
535
+ "operationType": "destructive",
536
+ "requiredScopes": [
537
+ "api"
538
+ ],
539
+ "providerPermissions": [],
540
+ "inputSchema": {
541
+ "type": "object",
542
+ "properties": {
543
+ "apiVersion": {
544
+ "type": "string",
545
+ "description": "Salesforce REST API version supported by your organization.",
546
+ "default": "66.0",
547
+ "pattern": "^[0-9]+\\.[0-9]+$"
548
+ },
549
+ "recordIds": {
550
+ "type": "array",
551
+ "items": {
552
+ "type": "string",
553
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
554
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
555
+ },
556
+ "description": "Record IDs to delete.",
557
+ "minItems": 1,
558
+ "maxItems": 200
559
+ },
560
+ "allOrNone": {
561
+ "type": "boolean",
562
+ "description": "Roll back the entire collection if any item fails. Defaults to false."
563
+ }
564
+ },
565
+ "additionalProperties": false,
566
+ "required": [
567
+ "recordIds"
568
+ ],
569
+ "description": "Action input."
570
+ },
571
+ "outputSchema": {
572
+ "type": "object",
573
+ "properties": {
574
+ "results": {
575
+ "type": "array",
576
+ "items": {
577
+ "description": "Upstream item result."
578
+ },
579
+ "description": "One result per item; inspect individual success flags."
580
+ }
581
+ },
582
+ "additionalProperties": false,
583
+ "required": [
584
+ "results"
585
+ ],
586
+ "description": "Ordered upstream results; individual items can contain errors or null."
587
+ }
588
+ },
589
+ {
590
+ "id": "salesforce.describe_invocable_action",
591
+ "service": "salesforce",
592
+ "name": "describe_invocable_action",
593
+ "description": "Describe an invocable action's inputs and outputs before calling it.",
594
+ "operationType": "read",
595
+ "requiredScopes": [
596
+ "api"
597
+ ],
598
+ "providerPermissions": [],
599
+ "inputSchema": {
600
+ "type": "object",
601
+ "properties": {
602
+ "apiVersion": {
603
+ "type": "string",
604
+ "description": "Salesforce REST API version supported by your organization.",
605
+ "default": "66.0",
606
+ "pattern": "^[0-9]+\\.[0-9]+$"
607
+ },
608
+ "category": {
609
+ "type": "string",
610
+ "enum": [
611
+ "standard",
612
+ "custom"
613
+ ],
614
+ "description": "Standard action or custom invocable action."
615
+ },
616
+ "actionType": {
617
+ "type": "string",
618
+ "description": "Salesforce API name.",
619
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
620
+ },
621
+ "actionName": {
622
+ "type": "string",
623
+ "description": "Action API name, including namespace or object prefix when documented.",
624
+ "pattern": "^[A-Za-z][A-Za-z0-9_.]*$"
625
+ }
626
+ },
627
+ "additionalProperties": false,
628
+ "required": [
629
+ "category",
630
+ "actionName"
631
+ ],
632
+ "description": "Action input."
633
+ },
634
+ "outputSchema": {
635
+ "type": "object",
636
+ "properties": {
637
+ "result": {
638
+ "description": "Salesforce action definition response."
639
+ }
640
+ },
641
+ "additionalProperties": false,
642
+ "required": [
643
+ "result"
644
+ ],
645
+ "description": "Action definition."
646
+ }
647
+ },
648
+ {
649
+ "id": "salesforce.describe_list_view",
650
+ "service": "salesforce",
651
+ "name": "describe_list_view",
652
+ "description": "Describe a list view including its columns and SOQL query.",
653
+ "operationType": "read",
654
+ "requiredScopes": [
655
+ "api"
656
+ ],
657
+ "providerPermissions": [],
658
+ "inputSchema": {
659
+ "type": "object",
660
+ "properties": {
661
+ "apiVersion": {
662
+ "type": "string",
663
+ "description": "Salesforce REST API version supported by your organization.",
664
+ "default": "66.0",
665
+ "pattern": "^[0-9]+\\.[0-9]+$"
666
+ },
667
+ "objectName": {
668
+ "type": "string",
669
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
670
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
671
+ },
672
+ "listViewId": {
673
+ "type": "string",
674
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
675
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
676
+ }
677
+ },
678
+ "additionalProperties": false,
679
+ "required": [
680
+ "objectName",
681
+ "listViewId"
682
+ ],
683
+ "description": "Action input."
684
+ },
685
+ "outputSchema": {
686
+ "type": "object",
687
+ "properties": {
688
+ "id": {
689
+ "type": "string",
690
+ "description": "List view ID."
691
+ },
692
+ "columns": {
693
+ "type": "array",
694
+ "items": {
695
+ "type": "object",
696
+ "properties": {},
697
+ "additionalProperties": true,
698
+ "description": "Column metadata."
699
+ },
700
+ "description": "List view columns."
701
+ },
702
+ "query": {
703
+ "type": "string",
704
+ "description": "SOQL underlying the view."
705
+ }
706
+ },
707
+ "additionalProperties": true,
708
+ "description": "List view metadata."
709
+ }
710
+ },
711
+ {
712
+ "id": "salesforce.describe_object",
713
+ "service": "salesforce",
714
+ "name": "describe_object",
715
+ "description": "Describe an sObject, including fields, relationships, permissions and record types.",
716
+ "operationType": "read",
717
+ "requiredScopes": [
718
+ "api"
719
+ ],
720
+ "providerPermissions": [],
721
+ "inputSchema": {
722
+ "type": "object",
723
+ "properties": {
724
+ "apiVersion": {
725
+ "type": "string",
726
+ "description": "Salesforce REST API version supported by your organization.",
727
+ "default": "66.0",
728
+ "pattern": "^[0-9]+\\.[0-9]+$"
729
+ },
730
+ "objectName": {
731
+ "type": "string",
732
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
733
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
734
+ }
735
+ },
736
+ "additionalProperties": false,
737
+ "required": [
738
+ "objectName"
739
+ ],
740
+ "description": "Action input."
741
+ },
742
+ "outputSchema": {
743
+ "type": "object",
744
+ "properties": {
745
+ "name": {
746
+ "type": "string",
747
+ "description": "sObject API name."
748
+ },
749
+ "fields": {
750
+ "type": "array",
751
+ "items": {
752
+ "type": "object",
753
+ "properties": {},
754
+ "additionalProperties": true,
755
+ "description": "Field definition."
756
+ },
757
+ "description": "Field metadata."
758
+ },
759
+ "childRelationships": {
760
+ "type": "array",
761
+ "items": {
762
+ "type": "object",
763
+ "properties": {},
764
+ "additionalProperties": true,
765
+ "description": "Child relationship definition."
766
+ },
767
+ "description": "Child relationship metadata."
768
+ }
769
+ },
770
+ "additionalProperties": true,
771
+ "required": [
772
+ "name",
773
+ "fields"
774
+ ],
775
+ "description": "sObject metadata."
776
+ }
777
+ },
778
+ {
779
+ "id": "salesforce.describe_report",
780
+ "service": "salesforce",
781
+ "name": "describe_report",
782
+ "description": "Get report, report-type and extended metadata including available filter fields.",
783
+ "operationType": "read",
784
+ "requiredScopes": [
785
+ "api"
786
+ ],
787
+ "providerPermissions": [],
788
+ "inputSchema": {
789
+ "type": "object",
790
+ "properties": {
791
+ "apiVersion": {
792
+ "type": "string",
793
+ "description": "Salesforce REST API version supported by your organization.",
794
+ "default": "66.0",
795
+ "pattern": "^[0-9]+\\.[0-9]+$"
796
+ },
797
+ "reportId": {
798
+ "type": "string",
799
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
800
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
801
+ }
802
+ },
803
+ "additionalProperties": false,
804
+ "required": [
805
+ "reportId"
806
+ ],
807
+ "description": "Action input."
808
+ },
809
+ "outputSchema": {
810
+ "type": "object",
811
+ "properties": {
812
+ "reportMetadata": {
813
+ "type": "object",
814
+ "properties": {},
815
+ "additionalProperties": true,
816
+ "description": "Official reportMetadata overrides, including filters, groupings, aggregates and date filters; does not save the report."
817
+ },
818
+ "reportTypeMetadata": {
819
+ "type": "object",
820
+ "properties": {},
821
+ "additionalProperties": true,
822
+ "description": "Report type fields and filters."
823
+ },
824
+ "reportExtendedMetadata": {
825
+ "type": "object",
826
+ "properties": {},
827
+ "additionalProperties": true,
828
+ "description": "Extended report metadata."
829
+ }
830
+ },
831
+ "additionalProperties": true,
832
+ "description": "Report definition."
833
+ }
834
+ },
835
+ {
836
+ "id": "salesforce.download_file",
837
+ "service": "salesforce",
838
+ "name": "download_file",
839
+ "description": "Download a Salesforce file version to local file transit; defaults to the latest published version.",
840
+ "operationType": "read",
841
+ "requiredScopes": [
842
+ "api"
843
+ ],
844
+ "providerPermissions": [],
845
+ "inputSchema": {
846
+ "type": "object",
847
+ "properties": {
848
+ "apiVersion": {
849
+ "type": "string",
850
+ "description": "Salesforce REST API version supported by your organization.",
851
+ "default": "66.0",
852
+ "pattern": "^[0-9]+\\.[0-9]+$"
853
+ },
854
+ "fileId": {
855
+ "type": "string",
856
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
857
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
858
+ },
859
+ "versionId": {
860
+ "type": "string",
861
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
862
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
863
+ }
864
+ },
865
+ "additionalProperties": false,
866
+ "required": [
867
+ "fileId"
868
+ ],
869
+ "description": "Action input."
870
+ },
871
+ "outputSchema": {
872
+ "type": "object",
873
+ "properties": {
874
+ "fileId": {
875
+ "type": "string",
876
+ "description": "Transit file identifier."
877
+ },
878
+ "downloadUrl": {
879
+ "type": "string",
880
+ "description": "URL for downloading the transit file."
881
+ },
882
+ "name": {
883
+ "type": "string",
884
+ "description": "File name."
885
+ },
886
+ "mimeType": {
887
+ "type": "string",
888
+ "description": "File media type."
889
+ },
890
+ "sizeBytes": {
891
+ "type": "integer",
892
+ "description": "Downloaded file size in bytes."
893
+ }
894
+ },
895
+ "additionalProperties": false,
896
+ "required": [
897
+ "fileId",
898
+ "downloadUrl",
899
+ "name",
900
+ "mimeType",
901
+ "sizeBytes"
902
+ ],
903
+ "description": "Downloaded file stored in local file transit."
904
+ }
905
+ },
906
+ {
907
+ "id": "salesforce.execute_composite",
908
+ "service": "salesforce",
909
+ "name": "execute_composite",
910
+ "description": "Execute up to 25 dependent Salesforce REST subrequests; up to five may be queries or collections. Can delete resources.",
911
+ "operationType": "destructive",
912
+ "requiredScopes": [
913
+ "api"
914
+ ],
915
+ "providerPermissions": [],
916
+ "inputSchema": {
917
+ "type": "object",
918
+ "properties": {
919
+ "apiVersion": {
920
+ "type": "string",
921
+ "description": "Salesforce REST API version supported by your organization.",
922
+ "default": "66.0",
923
+ "pattern": "^[0-9]+\\.[0-9]+$"
924
+ },
925
+ "requests": {
926
+ "type": "array",
927
+ "items": {
928
+ "type": "object",
929
+ "properties": {
930
+ "method": {
931
+ "type": "string",
932
+ "enum": [
933
+ "GET",
934
+ "POST",
935
+ "PUT",
936
+ "PATCH",
937
+ "DELETE"
938
+ ],
939
+ "description": "Subrequest HTTP method."
940
+ },
941
+ "url": {
942
+ "type": "string",
943
+ "minLength": 1,
944
+ "description": "Relative Salesforce /services/data/vXX.X/ resource URL; external URLs are not accepted.",
945
+ "pattern": "^/services/data/v[0-9]+\\.[0-9]+/"
946
+ },
947
+ "referenceId": {
948
+ "type": "string",
949
+ "description": "Unique subrequest reference ID.",
950
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_]*$"
951
+ },
952
+ "body": {
953
+ "description": "JSON body accepted by the target Salesforce resource."
954
+ },
955
+ "httpHeaders": {
956
+ "type": "object",
957
+ "additionalProperties": {
958
+ "type": "string",
959
+ "description": "Header value."
960
+ },
961
+ "description": "Supported Salesforce subrequest headers."
962
+ }
963
+ },
964
+ "additionalProperties": false,
965
+ "required": [
966
+ "method",
967
+ "url",
968
+ "referenceId"
969
+ ],
970
+ "description": "One Salesforce composite subrequest. References use @{referenceId.fieldName}."
971
+ },
972
+ "description": "Ordered subrequests.",
973
+ "minItems": 1,
974
+ "maxItems": 25
975
+ },
976
+ "allOrNone": {
977
+ "type": "boolean",
978
+ "description": "Roll back the entire collection if any item fails. Defaults to false."
979
+ },
980
+ "collateSubrequests": {
981
+ "type": "boolean",
982
+ "description": "Allow Salesforce to collate independent requests; default true."
983
+ }
984
+ },
985
+ "additionalProperties": false,
986
+ "required": [
987
+ "requests"
988
+ ],
989
+ "description": "Action input."
990
+ },
991
+ "outputSchema": {
992
+ "type": "object",
993
+ "properties": {
994
+ "compositeResponse": {
995
+ "type": "array",
996
+ "items": {
997
+ "type": "object",
998
+ "properties": {},
999
+ "additionalProperties": true,
1000
+ "description": "Subrequest result."
1001
+ },
1002
+ "description": "Per-request HTTP status, body and reference ID."
1003
+ }
1004
+ },
1005
+ "additionalProperties": true,
1006
+ "description": "Composite response."
1007
+ }
1008
+ },
1009
+ {
1010
+ "id": "salesforce.execute_composite_graph",
1011
+ "service": "salesforce",
1012
+ "name": "execute_composite_graph",
1013
+ "description": "Execute transactional Salesforce sObject graphs with at most 500 total subrequests and 75 graphs. Can delete resources.",
1014
+ "operationType": "destructive",
1015
+ "requiredScopes": [
1016
+ "api"
1017
+ ],
1018
+ "providerPermissions": [],
1019
+ "inputSchema": {
1020
+ "type": "object",
1021
+ "properties": {
1022
+ "apiVersion": {
1023
+ "type": "string",
1024
+ "description": "Salesforce REST API version supported by your organization.",
1025
+ "default": "66.0",
1026
+ "pattern": "^[0-9]+\\.[0-9]+$"
1027
+ },
1028
+ "graphs": {
1029
+ "type": "array",
1030
+ "items": {
1031
+ "type": "object",
1032
+ "properties": {
1033
+ "graphId": {
1034
+ "type": "string",
1035
+ "minLength": 1,
1036
+ "description": "Unique graph ID."
1037
+ },
1038
+ "compositeRequest": {
1039
+ "type": "array",
1040
+ "items": {
1041
+ "type": "object",
1042
+ "properties": {
1043
+ "method": {
1044
+ "type": "string",
1045
+ "enum": [
1046
+ "GET",
1047
+ "POST",
1048
+ "PATCH",
1049
+ "DELETE"
1050
+ ],
1051
+ "description": "Subrequest HTTP method."
1052
+ },
1053
+ "url": {
1054
+ "type": "string",
1055
+ "minLength": 1,
1056
+ "description": "Relative Salesforce /services/data/vXX.X/ resource URL; external URLs are not accepted.",
1057
+ "pattern": "^/services/data/v[0-9]+\\.[0-9]+/"
1058
+ },
1059
+ "referenceId": {
1060
+ "type": "string",
1061
+ "description": "Unique subrequest reference ID.",
1062
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_]*$"
1063
+ },
1064
+ "body": {
1065
+ "description": "JSON body accepted by the target Salesforce resource."
1066
+ }
1067
+ },
1068
+ "additionalProperties": false,
1069
+ "required": [
1070
+ "method",
1071
+ "url",
1072
+ "referenceId"
1073
+ ],
1074
+ "description": "One Salesforce Composite Graph subrequest."
1075
+ },
1076
+ "description": "Graph subrequests.",
1077
+ "minItems": 1,
1078
+ "maxItems": 500
1079
+ }
1080
+ },
1081
+ "additionalProperties": false,
1082
+ "required": [
1083
+ "graphId",
1084
+ "compositeRequest"
1085
+ ],
1086
+ "description": "Transactional graph."
1087
+ },
1088
+ "description": "Graphs executed by Salesforce.",
1089
+ "minItems": 1,
1090
+ "maxItems": 75
1091
+ }
1092
+ },
1093
+ "additionalProperties": false,
1094
+ "required": [
1095
+ "graphs"
1096
+ ],
1097
+ "description": "Action input."
1098
+ },
1099
+ "outputSchema": {
1100
+ "type": "object",
1101
+ "properties": {
1102
+ "graphs": {
1103
+ "type": "array",
1104
+ "items": {
1105
+ "type": "object",
1106
+ "properties": {},
1107
+ "additionalProperties": true,
1108
+ "description": "Graph result."
1109
+ },
1110
+ "description": "Per-graph success and subrequest responses."
1111
+ }
1112
+ },
1113
+ "additionalProperties": true,
1114
+ "description": "Graph execution results."
1115
+ }
1116
+ },
1117
+ {
1118
+ "id": "salesforce.execute_quick_action",
1119
+ "service": "salesforce",
1120
+ "name": "execute_quick_action",
1121
+ "description": "Execute a global or object-specific quick action with field values and optional record context.",
1122
+ "operationType": "write",
1123
+ "requiredScopes": [
1124
+ "api"
1125
+ ],
1126
+ "providerPermissions": [],
1127
+ "inputSchema": {
1128
+ "type": "object",
1129
+ "properties": {
1130
+ "apiVersion": {
1131
+ "type": "string",
1132
+ "description": "Salesforce REST API version supported by your organization.",
1133
+ "default": "66.0",
1134
+ "pattern": "^[0-9]+\\.[0-9]+$"
1135
+ },
1136
+ "objectName": {
1137
+ "type": "string",
1138
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
1139
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
1140
+ },
1141
+ "actionName": {
1142
+ "type": "string",
1143
+ "description": "Action API name, including namespace or object prefix when documented.",
1144
+ "pattern": "^[A-Za-z][A-Za-z0-9_.]*$"
1145
+ },
1146
+ "contextId": {
1147
+ "type": "string",
1148
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1149
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1150
+ },
1151
+ "fields": {
1152
+ "type": "object",
1153
+ "properties": {},
1154
+ "additionalProperties": true,
1155
+ "description": "Field API names and JSON values to write. Use describe_object to discover writable fields; null clears a field."
1156
+ }
1157
+ },
1158
+ "additionalProperties": false,
1159
+ "required": [
1160
+ "actionName",
1161
+ "fields"
1162
+ ],
1163
+ "description": "Action input."
1164
+ },
1165
+ "outputSchema": {
1166
+ "type": "object",
1167
+ "properties": {
1168
+ "result": {
1169
+ "description": "Salesforce quick-action result including per-record errors."
1170
+ }
1171
+ },
1172
+ "additionalProperties": false,
1173
+ "required": [
1174
+ "result"
1175
+ ],
1176
+ "description": "Quick-action execution result."
1177
+ }
1178
+ },
1179
+ {
1180
+ "id": "salesforce.get_bulk_ingest_result",
1181
+ "service": "salesforce",
1182
+ "name": "get_bulk_ingest_result",
1183
+ "description": "Poll a Bulk ingest job and download successful, failed or unprocessed rows when terminal. JobComplete can still contain failed records.",
1184
+ "operationType": "read",
1185
+ "requiredScopes": [
1186
+ "api"
1187
+ ],
1188
+ "providerPermissions": [],
1189
+ "inputSchema": {
1190
+ "type": "object",
1191
+ "properties": {
1192
+ "apiVersion": {
1193
+ "type": "string",
1194
+ "description": "Salesforce REST API version supported by your organization.",
1195
+ "default": "66.0",
1196
+ "pattern": "^[0-9]+\\.[0-9]+$"
1197
+ },
1198
+ "handle": {
1199
+ "type": "object",
1200
+ "properties": {
1201
+ "jobId": {
1202
+ "type": "string",
1203
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1204
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1205
+ },
1206
+ "kind": {
1207
+ "const": "ingest",
1208
+ "type": "string",
1209
+ "description": "Bulk ingest job."
1210
+ },
1211
+ "apiVersion": {
1212
+ "type": "string",
1213
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
1214
+ "pattern": "^[0-9]+\\.[0-9]+$"
1215
+ }
1216
+ },
1217
+ "additionalProperties": false,
1218
+ "required": [
1219
+ "jobId",
1220
+ "kind",
1221
+ "apiVersion"
1222
+ ],
1223
+ "description": "Bulk ingest handle; preserve the API version."
1224
+ },
1225
+ "resultType": {
1226
+ "type": "string",
1227
+ "enum": [
1228
+ "successfulResults",
1229
+ "failedResults",
1230
+ "unprocessedrecords"
1231
+ ],
1232
+ "description": "CSV result category; defaults to failedResults for completed jobs and unprocessedrecords for failed or aborted jobs."
1233
+ },
1234
+ "download": {
1235
+ "type": "boolean",
1236
+ "description": "Download the selected CSV when terminal; defaults to true. Set false for status only."
1237
+ }
1238
+ },
1239
+ "additionalProperties": false,
1240
+ "required": [
1241
+ "handle"
1242
+ ],
1243
+ "description": "Action input."
1244
+ },
1245
+ "outputSchema": {
1246
+ "type": "object",
1247
+ "properties": {
1248
+ "handle": {
1249
+ "type": "object",
1250
+ "properties": {
1251
+ "jobId": {
1252
+ "type": "string",
1253
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1254
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1255
+ },
1256
+ "kind": {
1257
+ "type": "string",
1258
+ "enum": [
1259
+ "query",
1260
+ "ingest"
1261
+ ],
1262
+ "description": "Bulk job kind."
1263
+ },
1264
+ "apiVersion": {
1265
+ "type": "string",
1266
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
1267
+ "pattern": "^[0-9]+\\.[0-9]+$"
1268
+ }
1269
+ },
1270
+ "additionalProperties": false,
1271
+ "required": [
1272
+ "jobId",
1273
+ "kind",
1274
+ "apiVersion"
1275
+ ],
1276
+ "description": "Bulk job handle; preserve the API version and job kind."
1277
+ },
1278
+ "state": {
1279
+ "type": "string",
1280
+ "description": "Salesforce job state."
1281
+ },
1282
+ "job": {
1283
+ "type": "object",
1284
+ "properties": {},
1285
+ "additionalProperties": true,
1286
+ "description": "Full Salesforce job information, including failure counts and errorMessage."
1287
+ },
1288
+ "result": {
1289
+ "type": "object",
1290
+ "properties": {
1291
+ "fileId": {
1292
+ "type": "string",
1293
+ "description": "Transit file identifier."
1294
+ },
1295
+ "downloadUrl": {
1296
+ "type": "string",
1297
+ "description": "URL for downloading the transit file."
1298
+ },
1299
+ "name": {
1300
+ "type": "string",
1301
+ "description": "File name."
1302
+ },
1303
+ "mimeType": {
1304
+ "type": "string",
1305
+ "description": "File media type."
1306
+ },
1307
+ "sizeBytes": {
1308
+ "type": "integer",
1309
+ "description": "Downloaded file size in bytes."
1310
+ }
1311
+ },
1312
+ "additionalProperties": false,
1313
+ "required": [
1314
+ "fileId",
1315
+ "downloadUrl",
1316
+ "name",
1317
+ "mimeType",
1318
+ "sizeBytes"
1319
+ ],
1320
+ "description": "Downloaded file stored in local file transit."
1321
+ },
1322
+ "nextLocator": {
1323
+ "anyOf": [
1324
+ {
1325
+ "type": "string",
1326
+ "description": "Locator for the next CSV page; null when finished."
1327
+ },
1328
+ {
1329
+ "type": "null"
1330
+ }
1331
+ ],
1332
+ "description": "Locator for the next CSV page; null when finished."
1333
+ },
1334
+ "numberOfRecords": {
1335
+ "type": "integer",
1336
+ "description": "Number of records in this CSV page."
1337
+ }
1338
+ },
1339
+ "additionalProperties": false,
1340
+ "required": [
1341
+ "handle",
1342
+ "state",
1343
+ "job"
1344
+ ],
1345
+ "description": "Bulk job state and optional result file."
1346
+ },
1347
+ "asyncLifecycle": {
1348
+ "startActionId": "salesforce.submit_bulk_ingest",
1349
+ "statusActionId": "salesforce.get_bulk_ingest_result",
1350
+ "cancelActionId": "salesforce.cancel_bulk_job"
1351
+ }
1352
+ },
1353
+ {
1354
+ "id": "salesforce.get_bulk_query_result",
1355
+ "service": "salesforce",
1356
+ "name": "get_bulk_query_result",
1357
+ "description": "Poll a Bulk query; when complete, download one CSV page to file transit. Continue using nextLocator.",
1358
+ "operationType": "read",
1359
+ "requiredScopes": [
1360
+ "api"
1361
+ ],
1362
+ "providerPermissions": [],
1363
+ "inputSchema": {
1364
+ "type": "object",
1365
+ "properties": {
1366
+ "apiVersion": {
1367
+ "type": "string",
1368
+ "description": "Salesforce REST API version supported by your organization.",
1369
+ "default": "66.0",
1370
+ "pattern": "^[0-9]+\\.[0-9]+$"
1371
+ },
1372
+ "handle": {
1373
+ "type": "object",
1374
+ "properties": {
1375
+ "jobId": {
1376
+ "type": "string",
1377
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1378
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1379
+ },
1380
+ "kind": {
1381
+ "const": "query",
1382
+ "type": "string",
1383
+ "description": "Bulk query job."
1384
+ },
1385
+ "apiVersion": {
1386
+ "type": "string",
1387
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
1388
+ "pattern": "^[0-9]+\\.[0-9]+$"
1389
+ }
1390
+ },
1391
+ "additionalProperties": false,
1392
+ "required": [
1393
+ "jobId",
1394
+ "kind",
1395
+ "apiVersion"
1396
+ ],
1397
+ "description": "Bulk query handle; preserve the API version."
1398
+ },
1399
+ "locator": {
1400
+ "type": "string",
1401
+ "description": "Locator returned by the previous result page."
1402
+ },
1403
+ "maxRecords": {
1404
+ "type": "integer",
1405
+ "minimum": 1,
1406
+ "description": "Maximum records per CSV page."
1407
+ },
1408
+ "download": {
1409
+ "type": "boolean",
1410
+ "description": "Download a result page when complete; defaults to true. Set false for status only."
1411
+ }
1412
+ },
1413
+ "additionalProperties": false,
1414
+ "required": [
1415
+ "handle"
1416
+ ],
1417
+ "description": "Action input."
1418
+ },
1419
+ "outputSchema": {
1420
+ "type": "object",
1421
+ "properties": {
1422
+ "handle": {
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "jobId": {
1426
+ "type": "string",
1427
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1428
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1429
+ },
1430
+ "kind": {
1431
+ "type": "string",
1432
+ "enum": [
1433
+ "query",
1434
+ "ingest"
1435
+ ],
1436
+ "description": "Bulk job kind."
1437
+ },
1438
+ "apiVersion": {
1439
+ "type": "string",
1440
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
1441
+ "pattern": "^[0-9]+\\.[0-9]+$"
1442
+ }
1443
+ },
1444
+ "additionalProperties": false,
1445
+ "required": [
1446
+ "jobId",
1447
+ "kind",
1448
+ "apiVersion"
1449
+ ],
1450
+ "description": "Bulk job handle; preserve the API version and job kind."
1451
+ },
1452
+ "state": {
1453
+ "type": "string",
1454
+ "description": "Salesforce job state."
1455
+ },
1456
+ "job": {
1457
+ "type": "object",
1458
+ "properties": {},
1459
+ "additionalProperties": true,
1460
+ "description": "Full Salesforce job information, including failure counts and errorMessage."
1461
+ },
1462
+ "result": {
1463
+ "type": "object",
1464
+ "properties": {
1465
+ "fileId": {
1466
+ "type": "string",
1467
+ "description": "Transit file identifier."
1468
+ },
1469
+ "downloadUrl": {
1470
+ "type": "string",
1471
+ "description": "URL for downloading the transit file."
1472
+ },
1473
+ "name": {
1474
+ "type": "string",
1475
+ "description": "File name."
1476
+ },
1477
+ "mimeType": {
1478
+ "type": "string",
1479
+ "description": "File media type."
1480
+ },
1481
+ "sizeBytes": {
1482
+ "type": "integer",
1483
+ "description": "Downloaded file size in bytes."
1484
+ }
1485
+ },
1486
+ "additionalProperties": false,
1487
+ "required": [
1488
+ "fileId",
1489
+ "downloadUrl",
1490
+ "name",
1491
+ "mimeType",
1492
+ "sizeBytes"
1493
+ ],
1494
+ "description": "Downloaded file stored in local file transit."
1495
+ },
1496
+ "nextLocator": {
1497
+ "anyOf": [
1498
+ {
1499
+ "type": "string",
1500
+ "description": "Locator for the next CSV page; null when finished."
1501
+ },
1502
+ {
1503
+ "type": "null"
1504
+ }
1505
+ ],
1506
+ "description": "Locator for the next CSV page; null when finished."
1507
+ },
1508
+ "numberOfRecords": {
1509
+ "type": "integer",
1510
+ "description": "Number of records in this CSV page."
1511
+ }
1512
+ },
1513
+ "additionalProperties": false,
1514
+ "required": [
1515
+ "handle",
1516
+ "state",
1517
+ "job"
1518
+ ],
1519
+ "description": "Bulk job state and optional result file."
1520
+ },
1521
+ "asyncLifecycle": {
1522
+ "startActionId": "salesforce.submit_bulk_query",
1523
+ "statusActionId": "salesforce.get_bulk_query_result",
1524
+ "cancelActionId": "salesforce.cancel_bulk_job"
1525
+ }
1526
+ },
1527
+ {
1528
+ "id": "salesforce.get_current_user",
1529
+ "service": "salesforce",
1530
+ "name": "get_current_user",
1531
+ "description": "Retrieve the current authorized Salesforce identity.",
1532
+ "operationType": "read",
1533
+ "requiredScopes": [
1534
+ "api"
1535
+ ],
1536
+ "providerPermissions": [],
1537
+ "inputSchema": {
1538
+ "type": "object",
1539
+ "properties": {
1540
+ "apiVersion": {
1541
+ "type": "string",
1542
+ "description": "Salesforce REST API version supported by your organization.",
1543
+ "default": "66.0",
1544
+ "pattern": "^[0-9]+\\.[0-9]+$"
1545
+ }
1546
+ },
1547
+ "additionalProperties": false,
1548
+ "description": "Action input."
1549
+ },
1550
+ "outputSchema": {
1551
+ "type": "object",
1552
+ "properties": {
1553
+ "user": {
1554
+ "type": "object",
1555
+ "properties": {},
1556
+ "additionalProperties": true,
1557
+ "description": "Current user identity returned by Salesforce."
1558
+ }
1559
+ },
1560
+ "additionalProperties": false,
1561
+ "required": [
1562
+ "user"
1563
+ ],
1564
+ "description": "Current identity."
1565
+ }
1566
+ },
1567
+ {
1568
+ "id": "salesforce.get_dashboard",
1569
+ "service": "salesforce",
1570
+ "name": "get_dashboard",
1571
+ "description": "Retrieve dashboard metadata, component data and status with optional filters.",
1572
+ "operationType": "read",
1573
+ "requiredScopes": [
1574
+ "api"
1575
+ ],
1576
+ "providerPermissions": [],
1577
+ "inputSchema": {
1578
+ "type": "object",
1579
+ "properties": {
1580
+ "apiVersion": {
1581
+ "type": "string",
1582
+ "description": "Salesforce REST API version supported by your organization.",
1583
+ "default": "66.0",
1584
+ "pattern": "^[0-9]+\\.[0-9]+$"
1585
+ },
1586
+ "dashboardId": {
1587
+ "type": "string",
1588
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1589
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1590
+ },
1591
+ "runningUser": {
1592
+ "type": "string",
1593
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1594
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1595
+ },
1596
+ "filter1": {
1597
+ "type": "string",
1598
+ "description": "First dashboard filter option ID."
1599
+ },
1600
+ "filter2": {
1601
+ "type": "string",
1602
+ "description": "Second dashboard filter option ID."
1603
+ },
1604
+ "filter3": {
1605
+ "type": "string",
1606
+ "description": "Third dashboard filter option ID."
1607
+ }
1608
+ },
1609
+ "additionalProperties": false,
1610
+ "required": [
1611
+ "dashboardId"
1612
+ ],
1613
+ "description": "Action input."
1614
+ },
1615
+ "outputSchema": {
1616
+ "type": "object",
1617
+ "properties": {
1618
+ "dashboardMetadata": {
1619
+ "type": "object",
1620
+ "properties": {},
1621
+ "additionalProperties": true,
1622
+ "description": "Dashboard metadata."
1623
+ },
1624
+ "componentData": {
1625
+ "type": "array",
1626
+ "items": {
1627
+ "type": "object",
1628
+ "properties": {},
1629
+ "additionalProperties": true,
1630
+ "description": "Dashboard component."
1631
+ },
1632
+ "description": "Dashboard components and their report data."
1633
+ }
1634
+ },
1635
+ "additionalProperties": true,
1636
+ "description": "Dashboard metadata, component data and status."
1637
+ }
1638
+ },
1639
+ {
1640
+ "id": "salesforce.get_dashboard_status",
1641
+ "service": "salesforce",
1642
+ "name": "get_dashboard_status",
1643
+ "description": "Get refresh status for each dashboard component.",
1644
+ "operationType": "read",
1645
+ "requiredScopes": [
1646
+ "api"
1647
+ ],
1648
+ "providerPermissions": [],
1649
+ "inputSchema": {
1650
+ "type": "object",
1651
+ "properties": {
1652
+ "apiVersion": {
1653
+ "type": "string",
1654
+ "description": "Salesforce REST API version supported by your organization.",
1655
+ "default": "66.0",
1656
+ "pattern": "^[0-9]+\\.[0-9]+$"
1657
+ },
1658
+ "dashboardId": {
1659
+ "type": "string",
1660
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1661
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1662
+ },
1663
+ "runningUser": {
1664
+ "type": "string",
1665
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1666
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1667
+ },
1668
+ "filter1": {
1669
+ "type": "string",
1670
+ "description": "First dashboard filter option ID."
1671
+ },
1672
+ "filter2": {
1673
+ "type": "string",
1674
+ "description": "Second dashboard filter option ID."
1675
+ },
1676
+ "filter3": {
1677
+ "type": "string",
1678
+ "description": "Third dashboard filter option ID."
1679
+ }
1680
+ },
1681
+ "additionalProperties": false,
1682
+ "required": [
1683
+ "dashboardId"
1684
+ ],
1685
+ "description": "Action input."
1686
+ },
1687
+ "outputSchema": {
1688
+ "type": "object",
1689
+ "properties": {
1690
+ "componentStatus": {
1691
+ "type": "array",
1692
+ "items": {
1693
+ "type": "object",
1694
+ "properties": {
1695
+ "componentId": {
1696
+ "type": "string",
1697
+ "description": "Component ID."
1698
+ },
1699
+ "refreshStatus": {
1700
+ "type": "string",
1701
+ "description": "Component refresh state, IDLE or RUNNING."
1702
+ },
1703
+ "refreshDate": {
1704
+ "type": "string",
1705
+ "description": "Last refresh timestamp."
1706
+ }
1707
+ },
1708
+ "additionalProperties": true,
1709
+ "description": "Component status."
1710
+ },
1711
+ "description": "Component refresh states and dates."
1712
+ }
1713
+ },
1714
+ "additionalProperties": true,
1715
+ "description": "Dashboard refresh state."
1716
+ }
1717
+ },
1718
+ {
1719
+ "id": "salesforce.get_email_template",
1720
+ "service": "salesforce",
1721
+ "name": "get_email_template",
1722
+ "description": "Retrieve an email template's metadata, text body and HTML content.",
1723
+ "operationType": "read",
1724
+ "requiredScopes": [
1725
+ "api"
1726
+ ],
1727
+ "providerPermissions": [],
1728
+ "inputSchema": {
1729
+ "type": "object",
1730
+ "properties": {
1731
+ "apiVersion": {
1732
+ "type": "string",
1733
+ "description": "Salesforce REST API version supported by your organization.",
1734
+ "default": "66.0",
1735
+ "pattern": "^[0-9]+\\.[0-9]+$"
1736
+ },
1737
+ "templateId": {
1738
+ "type": "string",
1739
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1740
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1741
+ }
1742
+ },
1743
+ "additionalProperties": false,
1744
+ "required": [
1745
+ "templateId"
1746
+ ],
1747
+ "description": "Action input."
1748
+ },
1749
+ "outputSchema": {
1750
+ "type": "object",
1751
+ "properties": {
1752
+ "record": {
1753
+ "type": "object",
1754
+ "properties": {},
1755
+ "additionalProperties": true,
1756
+ "description": "EmailTemplate fields."
1757
+ }
1758
+ },
1759
+ "additionalProperties": false,
1760
+ "required": [
1761
+ "record"
1762
+ ],
1763
+ "description": "Email template."
1764
+ }
1765
+ },
1766
+ {
1767
+ "id": "salesforce.get_file",
1768
+ "service": "salesforce",
1769
+ "name": "get_file",
1770
+ "description": "Get a Salesforce ContentDocument and its latest version reference.",
1771
+ "operationType": "read",
1772
+ "requiredScopes": [
1773
+ "api"
1774
+ ],
1775
+ "providerPermissions": [],
1776
+ "inputSchema": {
1777
+ "type": "object",
1778
+ "properties": {
1779
+ "apiVersion": {
1780
+ "type": "string",
1781
+ "description": "Salesforce REST API version supported by your organization.",
1782
+ "default": "66.0",
1783
+ "pattern": "^[0-9]+\\.[0-9]+$"
1784
+ },
1785
+ "fileId": {
1786
+ "type": "string",
1787
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1788
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1789
+ }
1790
+ },
1791
+ "additionalProperties": false,
1792
+ "required": [
1793
+ "fileId"
1794
+ ],
1795
+ "description": "Action input."
1796
+ },
1797
+ "outputSchema": {
1798
+ "type": "object",
1799
+ "properties": {
1800
+ "record": {
1801
+ "type": "object",
1802
+ "properties": {},
1803
+ "additionalProperties": true,
1804
+ "description": "ContentDocument fields."
1805
+ }
1806
+ },
1807
+ "additionalProperties": false,
1808
+ "required": [
1809
+ "record"
1810
+ ],
1811
+ "description": "File metadata."
1812
+ }
1813
+ },
1814
+ {
1815
+ "id": "salesforce.get_list_view_records",
1816
+ "service": "salesforce",
1817
+ "name": "get_list_view_records",
1818
+ "description": "Execute a list view and retrieve rows and display metadata.",
1819
+ "operationType": "read",
1820
+ "requiredScopes": [
1821
+ "api"
1822
+ ],
1823
+ "providerPermissions": [],
1824
+ "inputSchema": {
1825
+ "type": "object",
1826
+ "properties": {
1827
+ "apiVersion": {
1828
+ "type": "string",
1829
+ "description": "Salesforce REST API version supported by your organization.",
1830
+ "default": "66.0",
1831
+ "pattern": "^[0-9]+\\.[0-9]+$"
1832
+ },
1833
+ "objectName": {
1834
+ "type": "string",
1835
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
1836
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
1837
+ },
1838
+ "listViewId": {
1839
+ "type": "string",
1840
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1841
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1842
+ },
1843
+ "limit": {
1844
+ "type": "integer",
1845
+ "minimum": 1,
1846
+ "maximum": 2000,
1847
+ "description": "Maximum records to return."
1848
+ },
1849
+ "offset": {
1850
+ "type": "integer",
1851
+ "minimum": 0,
1852
+ "description": "Record offset."
1853
+ }
1854
+ },
1855
+ "additionalProperties": false,
1856
+ "required": [
1857
+ "objectName",
1858
+ "listViewId"
1859
+ ],
1860
+ "description": "Action input."
1861
+ },
1862
+ "outputSchema": {
1863
+ "type": "object",
1864
+ "properties": {
1865
+ "records": {
1866
+ "type": "array",
1867
+ "items": {
1868
+ "type": "object",
1869
+ "properties": {},
1870
+ "additionalProperties": true,
1871
+ "description": "Salesforce record with object-specific fields and relationship data."
1872
+ },
1873
+ "description": "Rows returned by the view."
1874
+ },
1875
+ "size": {
1876
+ "type": "integer",
1877
+ "description": "Number of rows returned."
1878
+ },
1879
+ "done": {
1880
+ "type": "boolean",
1881
+ "description": "Whether all results have been returned."
1882
+ }
1883
+ },
1884
+ "additionalProperties": true,
1885
+ "description": "List view rows and presentation metadata."
1886
+ }
1887
+ },
1888
+ {
1889
+ "id": "salesforce.get_org_limits",
1890
+ "service": "salesforce",
1891
+ "name": "get_org_limits",
1892
+ "description": "Get organization limits and remaining allocations; requires View Setup and Configuration permission.",
1893
+ "operationType": "read",
1894
+ "requiredScopes": [
1895
+ "api"
1896
+ ],
1897
+ "providerPermissions": [],
1898
+ "inputSchema": {
1899
+ "type": "object",
1900
+ "properties": {
1901
+ "apiVersion": {
1902
+ "type": "string",
1903
+ "description": "Salesforce REST API version supported by your organization.",
1904
+ "default": "66.0",
1905
+ "pattern": "^[0-9]+\\.[0-9]+$"
1906
+ }
1907
+ },
1908
+ "additionalProperties": false,
1909
+ "description": "Action input."
1910
+ },
1911
+ "outputSchema": {
1912
+ "type": "object",
1913
+ "properties": {
1914
+ "limits": {
1915
+ "type": "object",
1916
+ "additionalProperties": {
1917
+ "type": "object",
1918
+ "properties": {
1919
+ "Max": {
1920
+ "type": "number",
1921
+ "description": "Maximum allocation."
1922
+ },
1923
+ "Remaining": {
1924
+ "type": "number",
1925
+ "description": "Remaining allocation."
1926
+ }
1927
+ },
1928
+ "additionalProperties": true,
1929
+ "description": "Allocation."
1930
+ },
1931
+ "description": "Limit names mapped to their allocations."
1932
+ }
1933
+ },
1934
+ "additionalProperties": false,
1935
+ "required": [
1936
+ "limits"
1937
+ ],
1938
+ "description": "Organization allocations."
1939
+ }
1940
+ },
1941
+ {
1942
+ "id": "salesforce.get_picklist_values",
1943
+ "service": "salesforce",
1944
+ "name": "get_picklist_values",
1945
+ "description": "Get record-type-specific picklist values, including dependencies, through UI API.",
1946
+ "operationType": "read",
1947
+ "requiredScopes": [
1948
+ "api"
1949
+ ],
1950
+ "providerPermissions": [],
1951
+ "inputSchema": {
1952
+ "type": "object",
1953
+ "properties": {
1954
+ "apiVersion": {
1955
+ "type": "string",
1956
+ "description": "Salesforce REST API version supported by your organization.",
1957
+ "default": "66.0",
1958
+ "pattern": "^[0-9]+\\.[0-9]+$"
1959
+ },
1960
+ "objectName": {
1961
+ "type": "string",
1962
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
1963
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
1964
+ },
1965
+ "recordTypeId": {
1966
+ "type": "string",
1967
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
1968
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
1969
+ }
1970
+ },
1971
+ "additionalProperties": false,
1972
+ "required": [
1973
+ "objectName",
1974
+ "recordTypeId"
1975
+ ],
1976
+ "description": "Action input."
1977
+ },
1978
+ "outputSchema": {
1979
+ "type": "object",
1980
+ "properties": {
1981
+ "picklistFieldValues": {
1982
+ "type": "object",
1983
+ "properties": {},
1984
+ "additionalProperties": true,
1985
+ "description": "Picklist field names mapped to values, defaults and controlling-field indexes."
1986
+ }
1987
+ },
1988
+ "additionalProperties": true,
1989
+ "description": "Record type picklists."
1990
+ }
1991
+ },
1992
+ {
1993
+ "id": "salesforce.get_quick_action_defaults",
1994
+ "service": "salesforce",
1995
+ "name": "get_quick_action_defaults",
1996
+ "description": "Get default field values for an object-specific quick action, optionally in a record context.",
1997
+ "operationType": "read",
1998
+ "requiredScopes": [
1999
+ "api"
2000
+ ],
2001
+ "providerPermissions": [],
2002
+ "inputSchema": {
2003
+ "type": "object",
2004
+ "properties": {
2005
+ "apiVersion": {
2006
+ "type": "string",
2007
+ "description": "Salesforce REST API version supported by your organization.",
2008
+ "default": "66.0",
2009
+ "pattern": "^[0-9]+\\.[0-9]+$"
2010
+ },
2011
+ "objectName": {
2012
+ "type": "string",
2013
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
2014
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2015
+ },
2016
+ "actionName": {
2017
+ "type": "string",
2018
+ "description": "Action API name, including namespace or object prefix when documented.",
2019
+ "pattern": "^[A-Za-z][A-Za-z0-9_.]*$"
2020
+ },
2021
+ "contextId": {
2022
+ "type": "string",
2023
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2024
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2025
+ }
2026
+ },
2027
+ "additionalProperties": false,
2028
+ "required": [
2029
+ "objectName",
2030
+ "actionName"
2031
+ ],
2032
+ "description": "Action input."
2033
+ },
2034
+ "outputSchema": {
2035
+ "type": "object",
2036
+ "properties": {
2037
+ "result": {
2038
+ "description": "Evaluated default field values."
2039
+ }
2040
+ },
2041
+ "additionalProperties": false,
2042
+ "required": [
2043
+ "result"
2044
+ ],
2045
+ "description": "Quick-action defaults."
2046
+ }
2047
+ },
2048
+ {
2049
+ "id": "salesforce.get_record",
2050
+ "service": "salesforce",
2051
+ "name": "get_record",
2052
+ "description": "Retrieve a Salesforce record by object API name and record ID.",
2053
+ "operationType": "read",
2054
+ "requiredScopes": [
2055
+ "api"
2056
+ ],
2057
+ "providerPermissions": [],
2058
+ "inputSchema": {
2059
+ "type": "object",
2060
+ "properties": {
2061
+ "apiVersion": {
2062
+ "type": "string",
2063
+ "description": "Salesforce REST API version supported by your organization.",
2064
+ "default": "66.0",
2065
+ "pattern": "^[0-9]+\\.[0-9]+$"
2066
+ },
2067
+ "objectName": {
2068
+ "type": "string",
2069
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
2070
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2071
+ },
2072
+ "recordId": {
2073
+ "type": "string",
2074
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2075
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2076
+ },
2077
+ "fields": {
2078
+ "type": "array",
2079
+ "items": {
2080
+ "type": "string",
2081
+ "description": "Salesforce API name.",
2082
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2083
+ },
2084
+ "description": "Field API names to retrieve.",
2085
+ "minItems": 1
2086
+ }
2087
+ },
2088
+ "additionalProperties": false,
2089
+ "required": [
2090
+ "objectName",
2091
+ "recordId"
2092
+ ],
2093
+ "description": "Action input."
2094
+ },
2095
+ "outputSchema": {
2096
+ "type": "object",
2097
+ "properties": {
2098
+ "record": {
2099
+ "type": "object",
2100
+ "properties": {},
2101
+ "additionalProperties": true,
2102
+ "description": "Salesforce record with object-specific fields and relationship data."
2103
+ }
2104
+ },
2105
+ "additionalProperties": false,
2106
+ "required": [
2107
+ "record"
2108
+ ],
2109
+ "description": "Retrieved record."
2110
+ }
2111
+ },
2112
+ {
2113
+ "id": "salesforce.get_record_by_external_id",
2114
+ "service": "salesforce",
2115
+ "name": "get_record_by_external_id",
2116
+ "description": "Retrieve a record by an external ID field and value.",
2117
+ "operationType": "read",
2118
+ "requiredScopes": [
2119
+ "api"
2120
+ ],
2121
+ "providerPermissions": [],
2122
+ "inputSchema": {
2123
+ "type": "object",
2124
+ "properties": {
2125
+ "apiVersion": {
2126
+ "type": "string",
2127
+ "description": "Salesforce REST API version supported by your organization.",
2128
+ "default": "66.0",
2129
+ "pattern": "^[0-9]+\\.[0-9]+$"
2130
+ },
2131
+ "objectName": {
2132
+ "type": "string",
2133
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
2134
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2135
+ },
2136
+ "externalIdField": {
2137
+ "type": "string",
2138
+ "description": "External ID field API name.",
2139
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2140
+ },
2141
+ "externalId": {
2142
+ "type": "string",
2143
+ "minLength": 1,
2144
+ "description": "External ID value to match."
2145
+ },
2146
+ "fields": {
2147
+ "type": "array",
2148
+ "items": {
2149
+ "type": "string",
2150
+ "description": "Salesforce API name.",
2151
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2152
+ },
2153
+ "description": "Field API names to retrieve.",
2154
+ "minItems": 1
2155
+ }
2156
+ },
2157
+ "additionalProperties": false,
2158
+ "required": [
2159
+ "objectName",
2160
+ "externalIdField",
2161
+ "externalId"
2162
+ ],
2163
+ "description": "Action input."
2164
+ },
2165
+ "outputSchema": {
2166
+ "type": "object",
2167
+ "properties": {
2168
+ "record": {
2169
+ "type": "object",
2170
+ "properties": {},
2171
+ "additionalProperties": true,
2172
+ "description": "Salesforce record with object-specific fields and relationship data."
2173
+ }
2174
+ },
2175
+ "additionalProperties": false,
2176
+ "required": [
2177
+ "record"
2178
+ ],
2179
+ "description": "Retrieved record."
2180
+ }
2181
+ },
2182
+ {
2183
+ "id": "salesforce.get_record_counts",
2184
+ "service": "salesforce",
2185
+ "name": "get_record_counts",
2186
+ "description": "Get approximate record counts for selected objects or all available objects.",
2187
+ "operationType": "read",
2188
+ "requiredScopes": [
2189
+ "api"
2190
+ ],
2191
+ "providerPermissions": [],
2192
+ "inputSchema": {
2193
+ "type": "object",
2194
+ "properties": {
2195
+ "apiVersion": {
2196
+ "type": "string",
2197
+ "description": "Salesforce REST API version supported by your organization.",
2198
+ "default": "66.0",
2199
+ "pattern": "^[0-9]+\\.[0-9]+$"
2200
+ },
2201
+ "objectNames": {
2202
+ "type": "array",
2203
+ "items": {
2204
+ "type": "string",
2205
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
2206
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2207
+ },
2208
+ "description": "Optional sObject API names.",
2209
+ "minItems": 1
2210
+ }
2211
+ },
2212
+ "additionalProperties": false,
2213
+ "description": "Action input."
2214
+ },
2215
+ "outputSchema": {
2216
+ "type": "object",
2217
+ "properties": {
2218
+ "sObjects": {
2219
+ "type": "array",
2220
+ "items": {
2221
+ "type": "object",
2222
+ "properties": {},
2223
+ "additionalProperties": true,
2224
+ "description": "Object count."
2225
+ },
2226
+ "description": "Object names and counts."
2227
+ }
2228
+ },
2229
+ "additionalProperties": true,
2230
+ "description": "Record counts."
2231
+ }
2232
+ },
2233
+ {
2234
+ "id": "salesforce.get_records",
2235
+ "service": "salesforce",
2236
+ "name": "get_records",
2237
+ "description": "Retrieve up to 2000 records of one object in one request. Missing or inaccessible records return null in place.",
2238
+ "operationType": "read",
2239
+ "requiredScopes": [
2240
+ "api"
2241
+ ],
2242
+ "providerPermissions": [],
2243
+ "inputSchema": {
2244
+ "type": "object",
2245
+ "properties": {
2246
+ "apiVersion": {
2247
+ "type": "string",
2248
+ "description": "Salesforce REST API version supported by your organization.",
2249
+ "default": "66.0",
2250
+ "pattern": "^[0-9]+\\.[0-9]+$"
2251
+ },
2252
+ "objectName": {
2253
+ "type": "string",
2254
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
2255
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2256
+ },
2257
+ "recordIds": {
2258
+ "type": "array",
2259
+ "items": {
2260
+ "type": "string",
2261
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2262
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2263
+ },
2264
+ "description": "Record IDs in requested order.",
2265
+ "minItems": 1,
2266
+ "maxItems": 2000
2267
+ },
2268
+ "fields": {
2269
+ "type": "array",
2270
+ "items": {
2271
+ "type": "string",
2272
+ "description": "Salesforce API name.",
2273
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2274
+ },
2275
+ "description": "Field API names to retrieve.",
2276
+ "minItems": 1
2277
+ }
2278
+ },
2279
+ "additionalProperties": false,
2280
+ "required": [
2281
+ "objectName",
2282
+ "recordIds",
2283
+ "fields"
2284
+ ],
2285
+ "description": "Action input."
2286
+ },
2287
+ "outputSchema": {
2288
+ "type": "object",
2289
+ "properties": {
2290
+ "results": {
2291
+ "type": "array",
2292
+ "items": {
2293
+ "description": "Upstream item result."
2294
+ },
2295
+ "description": "One result per item; inspect individual success flags."
2296
+ }
2297
+ },
2298
+ "additionalProperties": false,
2299
+ "required": [
2300
+ "results"
2301
+ ],
2302
+ "description": "Ordered upstream results; individual items can contain errors or null."
2303
+ }
2304
+ },
2305
+ {
2306
+ "id": "salesforce.get_related_records",
2307
+ "service": "salesforce",
2308
+ "name": "get_related_records",
2309
+ "description": "Traverse one or more Salesforce relationship API names from a record.",
2310
+ "operationType": "read",
2311
+ "requiredScopes": [
2312
+ "api"
2313
+ ],
2314
+ "providerPermissions": [],
2315
+ "inputSchema": {
2316
+ "type": "object",
2317
+ "properties": {
2318
+ "apiVersion": {
2319
+ "type": "string",
2320
+ "description": "Salesforce REST API version supported by your organization.",
2321
+ "default": "66.0",
2322
+ "pattern": "^[0-9]+\\.[0-9]+$"
2323
+ },
2324
+ "objectName": {
2325
+ "type": "string",
2326
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
2327
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2328
+ },
2329
+ "recordId": {
2330
+ "type": "string",
2331
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2332
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2333
+ },
2334
+ "relationships": {
2335
+ "type": "array",
2336
+ "items": {
2337
+ "type": "string",
2338
+ "description": "Salesforce API name.",
2339
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2340
+ },
2341
+ "description": "Relationship traversal in order, up to five levels.",
2342
+ "minItems": 1,
2343
+ "maxItems": 5
2344
+ },
2345
+ "fields": {
2346
+ "type": "array",
2347
+ "items": {
2348
+ "type": "string",
2349
+ "description": "Salesforce API name.",
2350
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2351
+ },
2352
+ "description": "Field API names to retrieve.",
2353
+ "minItems": 1
2354
+ }
2355
+ },
2356
+ "additionalProperties": false,
2357
+ "required": [
2358
+ "objectName",
2359
+ "recordId",
2360
+ "relationships"
2361
+ ],
2362
+ "description": "Action input."
2363
+ },
2364
+ "outputSchema": {
2365
+ "type": "object",
2366
+ "properties": {
2367
+ "result": {
2368
+ "description": "Relationship response, preserving records and pagination when present."
2369
+ }
2370
+ },
2371
+ "additionalProperties": false,
2372
+ "required": [
2373
+ "result"
2374
+ ],
2375
+ "description": "Related record or collection returned by Salesforce."
2376
+ }
2377
+ },
2378
+ {
2379
+ "id": "salesforce.get_report_result",
2380
+ "service": "salesforce",
2381
+ "name": "get_report_result",
2382
+ "description": "Get the state and results of an asynchronous report. Empty factMap is a valid successful result.",
2383
+ "operationType": "read",
2384
+ "requiredScopes": [
2385
+ "api"
2386
+ ],
2387
+ "providerPermissions": [],
2388
+ "inputSchema": {
2389
+ "type": "object",
2390
+ "properties": {
2391
+ "apiVersion": {
2392
+ "type": "string",
2393
+ "description": "Salesforce REST API version supported by your organization.",
2394
+ "default": "66.0",
2395
+ "pattern": "^[0-9]+\\.[0-9]+$"
2396
+ },
2397
+ "handle": {
2398
+ "type": "object",
2399
+ "properties": {
2400
+ "reportId": {
2401
+ "type": "string",
2402
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2403
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2404
+ },
2405
+ "instanceId": {
2406
+ "type": "string",
2407
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2408
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2409
+ },
2410
+ "apiVersion": {
2411
+ "type": "string",
2412
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
2413
+ "pattern": "^[0-9]+\\.[0-9]+$"
2414
+ }
2415
+ },
2416
+ "additionalProperties": false,
2417
+ "required": [
2418
+ "reportId",
2419
+ "instanceId",
2420
+ "apiVersion"
2421
+ ],
2422
+ "description": "Report run handle; preserve all fields for polling."
2423
+ }
2424
+ },
2425
+ "additionalProperties": false,
2426
+ "required": [
2427
+ "handle"
2428
+ ],
2429
+ "description": "Action input."
2430
+ },
2431
+ "outputSchema": {
2432
+ "type": "object",
2433
+ "properties": {
2434
+ "handle": {
2435
+ "type": "object",
2436
+ "properties": {
2437
+ "reportId": {
2438
+ "type": "string",
2439
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2440
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2441
+ },
2442
+ "instanceId": {
2443
+ "type": "string",
2444
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2445
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2446
+ },
2447
+ "apiVersion": {
2448
+ "type": "string",
2449
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
2450
+ "pattern": "^[0-9]+\\.[0-9]+$"
2451
+ }
2452
+ },
2453
+ "additionalProperties": false,
2454
+ "required": [
2455
+ "reportId",
2456
+ "instanceId",
2457
+ "apiVersion"
2458
+ ],
2459
+ "description": "Report run handle; preserve all fields for polling."
2460
+ },
2461
+ "state": {
2462
+ "type": "string",
2463
+ "description": "Salesforce run state: New, Running, Success or Error."
2464
+ },
2465
+ "report": {
2466
+ "type": "object",
2467
+ "properties": {
2468
+ "factMap": {
2469
+ "type": "object",
2470
+ "properties": {},
2471
+ "additionalProperties": true,
2472
+ "description": "Report facts keyed by grouping coordinates."
2473
+ },
2474
+ "allData": {
2475
+ "type": "boolean",
2476
+ "description": "Whether all report results are included."
2477
+ },
2478
+ "reportMetadata": {
2479
+ "type": "object",
2480
+ "properties": {},
2481
+ "additionalProperties": true,
2482
+ "description": "Report metadata."
2483
+ },
2484
+ "reportExtendedMetadata": {
2485
+ "type": "object",
2486
+ "properties": {},
2487
+ "additionalProperties": true,
2488
+ "description": "Column and aggregate metadata."
2489
+ }
2490
+ },
2491
+ "additionalProperties": true,
2492
+ "description": "Report results preserving factMap, groupings, detail columns and metadata."
2493
+ }
2494
+ },
2495
+ "additionalProperties": false,
2496
+ "required": [
2497
+ "handle",
2498
+ "state"
2499
+ ],
2500
+ "description": "Asynchronous report run."
2501
+ },
2502
+ "asyncLifecycle": {
2503
+ "startActionId": "salesforce.submit_report",
2504
+ "statusActionId": "salesforce.get_report_result"
2505
+ }
2506
+ },
2507
+ {
2508
+ "id": "salesforce.invoke_action",
2509
+ "service": "salesforce",
2510
+ "name": "invoke_action",
2511
+ "description": "Invoke a standard action or custom Flow/Apex action. Dynamic actions may delete data or perform other destructive operations.",
2512
+ "operationType": "destructive",
2513
+ "requiredScopes": [
2514
+ "api"
2515
+ ],
2516
+ "providerPermissions": [],
2517
+ "inputSchema": {
2518
+ "type": "object",
2519
+ "properties": {
2520
+ "apiVersion": {
2521
+ "type": "string",
2522
+ "description": "Salesforce REST API version supported by your organization.",
2523
+ "default": "66.0",
2524
+ "pattern": "^[0-9]+\\.[0-9]+$"
2525
+ },
2526
+ "category": {
2527
+ "type": "string",
2528
+ "enum": [
2529
+ "standard",
2530
+ "custom"
2531
+ ],
2532
+ "description": "Standard action or custom invocable action."
2533
+ },
2534
+ "actionType": {
2535
+ "type": "string",
2536
+ "description": "Salesforce API name.",
2537
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2538
+ },
2539
+ "actionName": {
2540
+ "type": "string",
2541
+ "description": "Action API name, including namespace or object prefix when documented.",
2542
+ "pattern": "^[A-Za-z][A-Za-z0-9_.]*$"
2543
+ },
2544
+ "inputs": {
2545
+ "type": "array",
2546
+ "items": {
2547
+ "type": "object",
2548
+ "properties": {},
2549
+ "additionalProperties": true,
2550
+ "description": "Action-specific parameters discovered through describe_invocable_action."
2551
+ },
2552
+ "description": "One parameter map per action invocation.",
2553
+ "minItems": 1
2554
+ }
2555
+ },
2556
+ "additionalProperties": false,
2557
+ "required": [
2558
+ "category",
2559
+ "actionName",
2560
+ "inputs"
2561
+ ],
2562
+ "description": "Action input."
2563
+ },
2564
+ "outputSchema": {
2565
+ "type": "object",
2566
+ "properties": {
2567
+ "results": {
2568
+ "type": "array",
2569
+ "items": {
2570
+ "description": "Upstream item result."
2571
+ },
2572
+ "description": "One result per item; inspect individual success flags."
2573
+ }
2574
+ },
2575
+ "additionalProperties": false,
2576
+ "required": [
2577
+ "results"
2578
+ ],
2579
+ "description": "Ordered upstream results; individual items can contain errors or null."
2580
+ }
2581
+ },
2582
+ {
2583
+ "id": "salesforce.link_file",
2584
+ "service": "salesforce",
2585
+ "name": "link_file",
2586
+ "description": "Link an existing file to a Salesforce record with an explicit sharing level.",
2587
+ "operationType": "write",
2588
+ "requiredScopes": [
2589
+ "api"
2590
+ ],
2591
+ "providerPermissions": [],
2592
+ "inputSchema": {
2593
+ "type": "object",
2594
+ "properties": {
2595
+ "apiVersion": {
2596
+ "type": "string",
2597
+ "description": "Salesforce REST API version supported by your organization.",
2598
+ "default": "66.0",
2599
+ "pattern": "^[0-9]+\\.[0-9]+$"
2600
+ },
2601
+ "fileId": {
2602
+ "type": "string",
2603
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2604
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2605
+ },
2606
+ "recordId": {
2607
+ "type": "string",
2608
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2609
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2610
+ },
2611
+ "shareType": {
2612
+ "type": "string",
2613
+ "enum": [
2614
+ "V",
2615
+ "C",
2616
+ "I"
2617
+ ],
2618
+ "description": "V = Viewer, C = Collaborator, I = Inferred. Availability depends on target and permissions."
2619
+ },
2620
+ "visibility": {
2621
+ "type": "string",
2622
+ "enum": [
2623
+ "AllUsers",
2624
+ "InternalUsers",
2625
+ "SharedUsers"
2626
+ ],
2627
+ "description": "Audience of the link, subject to Salesforce policies."
2628
+ }
2629
+ },
2630
+ "additionalProperties": false,
2631
+ "required": [
2632
+ "fileId",
2633
+ "recordId"
2634
+ ],
2635
+ "description": "Action input."
2636
+ },
2637
+ "outputSchema": {
2638
+ "type": "object",
2639
+ "properties": {
2640
+ "id": {
2641
+ "type": "string",
2642
+ "description": "ID of the affected record, when returned by Salesforce."
2643
+ },
2644
+ "success": {
2645
+ "type": "boolean",
2646
+ "description": "Whether the mutation succeeded."
2647
+ },
2648
+ "created": {
2649
+ "type": "boolean",
2650
+ "description": "Whether an upsert created a new record."
2651
+ },
2652
+ "errors": {
2653
+ "type": "array",
2654
+ "items": {
2655
+ "description": "Salesforce error details."
2656
+ },
2657
+ "description": "Errors returned by Salesforce."
2658
+ }
2659
+ },
2660
+ "additionalProperties": true,
2661
+ "required": [
2662
+ "success"
2663
+ ],
2664
+ "description": "Result of a successful record mutation."
2665
+ }
2666
+ },
2667
+ {
2668
+ "id": "salesforce.list_dashboards",
2669
+ "service": "salesforce",
2670
+ "name": "list_dashboards",
2671
+ "description": "List recently viewed dashboards. Query the Dashboard object with SOQL for broader discovery.",
2672
+ "operationType": "read",
2673
+ "requiredScopes": [
2674
+ "api"
2675
+ ],
2676
+ "providerPermissions": [],
2677
+ "inputSchema": {
2678
+ "type": "object",
2679
+ "properties": {
2680
+ "apiVersion": {
2681
+ "type": "string",
2682
+ "description": "Salesforce REST API version supported by your organization.",
2683
+ "default": "66.0",
2684
+ "pattern": "^[0-9]+\\.[0-9]+$"
2685
+ }
2686
+ },
2687
+ "additionalProperties": false,
2688
+ "description": "Action input."
2689
+ },
2690
+ "outputSchema": {
2691
+ "type": "object",
2692
+ "properties": {
2693
+ "results": {
2694
+ "type": "array",
2695
+ "items": {
2696
+ "description": "Upstream item result."
2697
+ },
2698
+ "description": "One result per item; inspect individual success flags."
2699
+ }
2700
+ },
2701
+ "additionalProperties": false,
2702
+ "required": [
2703
+ "results"
2704
+ ],
2705
+ "description": "Ordered upstream results; individual items can contain errors or null."
2706
+ }
2707
+ },
2708
+ {
2709
+ "id": "salesforce.list_deleted_records",
2710
+ "service": "salesforce",
2711
+ "name": "list_deleted_records",
2712
+ "description": "List deleted records within the retained delete log, at most 15 days; retain returned watermarks.",
2713
+ "operationType": "read",
2714
+ "requiredScopes": [
2715
+ "api"
2716
+ ],
2717
+ "providerPermissions": [],
2718
+ "inputSchema": {
2719
+ "type": "object",
2720
+ "properties": {
2721
+ "apiVersion": {
2722
+ "type": "string",
2723
+ "description": "Salesforce REST API version supported by your organization.",
2724
+ "default": "66.0",
2725
+ "pattern": "^[0-9]+\\.[0-9]+$"
2726
+ },
2727
+ "objectName": {
2728
+ "type": "string",
2729
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
2730
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2731
+ },
2732
+ "start": {
2733
+ "type": "string",
2734
+ "description": "Start of the replication window in ISO 8601 UTC.",
2735
+ "format": "date-time"
2736
+ },
2737
+ "end": {
2738
+ "type": "string",
2739
+ "description": "End of the replication window in ISO 8601 UTC; must follow start.",
2740
+ "format": "date-time"
2741
+ }
2742
+ },
2743
+ "additionalProperties": false,
2744
+ "required": [
2745
+ "objectName",
2746
+ "start",
2747
+ "end"
2748
+ ],
2749
+ "description": "Action input."
2750
+ },
2751
+ "outputSchema": {
2752
+ "type": "object",
2753
+ "properties": {
2754
+ "deletedRecords": {
2755
+ "type": "array",
2756
+ "items": {
2757
+ "type": "object",
2758
+ "properties": {},
2759
+ "additionalProperties": true,
2760
+ "description": "Deleted record."
2761
+ },
2762
+ "description": "Deleted record IDs and deletion timestamps."
2763
+ },
2764
+ "earliestDateAvailable": {
2765
+ "type": "string",
2766
+ "description": "Earliest available deletion timestamp."
2767
+ },
2768
+ "latestDateCovered": {
2769
+ "type": "string",
2770
+ "description": "Latest covered timestamp."
2771
+ }
2772
+ },
2773
+ "additionalProperties": true,
2774
+ "description": "Deleted records and retention watermarks."
2775
+ }
2776
+ },
2777
+ {
2778
+ "id": "salesforce.list_email_templates",
2779
+ "service": "salesforce",
2780
+ "name": "list_email_templates",
2781
+ "description": "List accessible active email templates using SOQL; use query_more for subsequent pages.",
2782
+ "operationType": "read",
2783
+ "requiredScopes": [
2784
+ "api"
2785
+ ],
2786
+ "providerPermissions": [],
2787
+ "inputSchema": {
2788
+ "type": "object",
2789
+ "properties": {
2790
+ "apiVersion": {
2791
+ "type": "string",
2792
+ "description": "Salesforce REST API version supported by your organization.",
2793
+ "default": "66.0",
2794
+ "pattern": "^[0-9]+\\.[0-9]+$"
2795
+ },
2796
+ "folderId": {
2797
+ "type": "string",
2798
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2799
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2800
+ },
2801
+ "includeInactive": {
2802
+ "type": "boolean",
2803
+ "description": "Also include inactive templates."
2804
+ },
2805
+ "limit": {
2806
+ "type": "integer",
2807
+ "minimum": 1,
2808
+ "maximum": 2000,
2809
+ "description": "Maximum templates to return."
2810
+ }
2811
+ },
2812
+ "additionalProperties": false,
2813
+ "description": "Action input."
2814
+ },
2815
+ "outputSchema": {
2816
+ "type": "object",
2817
+ "properties": {
2818
+ "totalSize": {
2819
+ "type": "integer",
2820
+ "description": "Total number of matching records."
2821
+ },
2822
+ "done": {
2823
+ "type": "boolean",
2824
+ "description": "Whether all query results have been returned."
2825
+ },
2826
+ "records": {
2827
+ "type": "array",
2828
+ "items": {
2829
+ "type": "object",
2830
+ "properties": {},
2831
+ "additionalProperties": true,
2832
+ "description": "Salesforce record with object-specific fields and relationship data."
2833
+ },
2834
+ "description": "Records in this page."
2835
+ },
2836
+ "nextRecordsUrl": {
2837
+ "type": "string",
2838
+ "description": "Relative URL for the next page; pass it unchanged to query_more."
2839
+ }
2840
+ },
2841
+ "additionalProperties": true,
2842
+ "required": [
2843
+ "totalSize",
2844
+ "done",
2845
+ "records"
2846
+ ],
2847
+ "description": "One page of SOQL results."
2848
+ }
2849
+ },
2850
+ {
2851
+ "id": "salesforce.list_file_shares",
2852
+ "service": "salesforce",
2853
+ "name": "list_file_shares",
2854
+ "description": "List a file's ContentDocumentLink sharing records; use query_more for later pages.",
2855
+ "operationType": "read",
2856
+ "requiredScopes": [
2857
+ "api"
2858
+ ],
2859
+ "providerPermissions": [],
2860
+ "inputSchema": {
2861
+ "type": "object",
2862
+ "properties": {
2863
+ "apiVersion": {
2864
+ "type": "string",
2865
+ "description": "Salesforce REST API version supported by your organization.",
2866
+ "default": "66.0",
2867
+ "pattern": "^[0-9]+\\.[0-9]+$"
2868
+ },
2869
+ "fileId": {
2870
+ "type": "string",
2871
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
2872
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
2873
+ }
2874
+ },
2875
+ "additionalProperties": false,
2876
+ "required": [
2877
+ "fileId"
2878
+ ],
2879
+ "description": "Action input."
2880
+ },
2881
+ "outputSchema": {
2882
+ "type": "object",
2883
+ "properties": {
2884
+ "totalSize": {
2885
+ "type": "integer",
2886
+ "description": "Total number of matching records."
2887
+ },
2888
+ "done": {
2889
+ "type": "boolean",
2890
+ "description": "Whether all query results have been returned."
2891
+ },
2892
+ "records": {
2893
+ "type": "array",
2894
+ "items": {
2895
+ "type": "object",
2896
+ "properties": {},
2897
+ "additionalProperties": true,
2898
+ "description": "Salesforce record with object-specific fields and relationship data."
2899
+ },
2900
+ "description": "Records in this page."
2901
+ },
2902
+ "nextRecordsUrl": {
2903
+ "type": "string",
2904
+ "description": "Relative URL for the next page; pass it unchanged to query_more."
2905
+ }
2906
+ },
2907
+ "additionalProperties": true,
2908
+ "required": [
2909
+ "totalSize",
2910
+ "done",
2911
+ "records"
2912
+ ],
2913
+ "description": "One page of SOQL results."
2914
+ }
2915
+ },
2916
+ {
2917
+ "id": "salesforce.list_invocable_actions",
2918
+ "service": "salesforce",
2919
+ "name": "list_invocable_actions",
2920
+ "description": "Discover standard actions, custom action categories, or actions in a custom category.",
2921
+ "operationType": "read",
2922
+ "requiredScopes": [
2923
+ "api"
2924
+ ],
2925
+ "providerPermissions": [],
2926
+ "inputSchema": {
2927
+ "type": "object",
2928
+ "properties": {
2929
+ "apiVersion": {
2930
+ "type": "string",
2931
+ "description": "Salesforce REST API version supported by your organization.",
2932
+ "default": "66.0",
2933
+ "pattern": "^[0-9]+\\.[0-9]+$"
2934
+ },
2935
+ "category": {
2936
+ "type": "string",
2937
+ "enum": [
2938
+ "standard",
2939
+ "custom"
2940
+ ],
2941
+ "description": "Standard action or custom invocable action."
2942
+ },
2943
+ "actionType": {
2944
+ "type": "string",
2945
+ "description": "Salesforce API name.",
2946
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2947
+ }
2948
+ },
2949
+ "additionalProperties": false,
2950
+ "required": [
2951
+ "category"
2952
+ ],
2953
+ "description": "Action input."
2954
+ },
2955
+ "outputSchema": {
2956
+ "type": "object",
2957
+ "properties": {
2958
+ "result": {
2959
+ "description": "Salesforce action discovery response."
2960
+ }
2961
+ },
2962
+ "additionalProperties": false,
2963
+ "required": [
2964
+ "result"
2965
+ ],
2966
+ "description": "Available invocable actions or categories."
2967
+ }
2968
+ },
2969
+ {
2970
+ "id": "salesforce.list_list_views",
2971
+ "service": "salesforce",
2972
+ "name": "list_list_views",
2973
+ "description": "List the views available for an sObject.",
2974
+ "operationType": "read",
2975
+ "requiredScopes": [
2976
+ "api"
2977
+ ],
2978
+ "providerPermissions": [],
2979
+ "inputSchema": {
2980
+ "type": "object",
2981
+ "properties": {
2982
+ "apiVersion": {
2983
+ "type": "string",
2984
+ "description": "Salesforce REST API version supported by your organization.",
2985
+ "default": "66.0",
2986
+ "pattern": "^[0-9]+\\.[0-9]+$"
2987
+ },
2988
+ "objectName": {
2989
+ "type": "string",
2990
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
2991
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
2992
+ }
2993
+ },
2994
+ "additionalProperties": false,
2995
+ "required": [
2996
+ "objectName"
2997
+ ],
2998
+ "description": "Action input."
2999
+ },
3000
+ "outputSchema": {
3001
+ "type": "object",
3002
+ "properties": {
3003
+ "listviews": {
3004
+ "type": "array",
3005
+ "items": {
3006
+ "type": "object",
3007
+ "properties": {},
3008
+ "additionalProperties": true,
3009
+ "description": "List view."
3010
+ },
3011
+ "description": "List view summaries."
3012
+ }
3013
+ },
3014
+ "additionalProperties": true,
3015
+ "description": "Available list views."
3016
+ }
3017
+ },
3018
+ {
3019
+ "id": "salesforce.list_objects",
3020
+ "service": "salesforce",
3021
+ "name": "list_objects",
3022
+ "description": "List sObjects available to the connected Salesforce user.",
3023
+ "operationType": "read",
3024
+ "requiredScopes": [
3025
+ "api"
3026
+ ],
3027
+ "providerPermissions": [],
3028
+ "inputSchema": {
3029
+ "type": "object",
3030
+ "properties": {
3031
+ "apiVersion": {
3032
+ "type": "string",
3033
+ "description": "Salesforce REST API version supported by your organization.",
3034
+ "default": "66.0",
3035
+ "pattern": "^[0-9]+\\.[0-9]+$"
3036
+ }
3037
+ },
3038
+ "additionalProperties": false,
3039
+ "description": "Action input."
3040
+ },
3041
+ "outputSchema": {
3042
+ "type": "object",
3043
+ "properties": {
3044
+ "sobjects": {
3045
+ "type": "array",
3046
+ "items": {
3047
+ "type": "object",
3048
+ "properties": {
3049
+ "name": {
3050
+ "type": "string",
3051
+ "description": "sObject API name."
3052
+ },
3053
+ "label": {
3054
+ "type": "string",
3055
+ "description": "sObject display label."
3056
+ }
3057
+ },
3058
+ "additionalProperties": true,
3059
+ "description": "sObject summary."
3060
+ },
3061
+ "description": "Available sObjects and their capabilities."
3062
+ },
3063
+ "encoding": {
3064
+ "type": "string",
3065
+ "description": "Organization character encoding."
3066
+ },
3067
+ "maxBatchSize": {
3068
+ "type": "integer",
3069
+ "description": "Maximum batch size."
3070
+ }
3071
+ },
3072
+ "additionalProperties": true,
3073
+ "required": [
3074
+ "sobjects"
3075
+ ],
3076
+ "description": "Available Salesforce objects."
3077
+ }
3078
+ },
3079
+ {
3080
+ "id": "salesforce.list_quick_actions",
3081
+ "service": "salesforce",
3082
+ "name": "list_quick_actions",
3083
+ "description": "List global quick actions or quick actions for a specified object.",
3084
+ "operationType": "read",
3085
+ "requiredScopes": [
3086
+ "api"
3087
+ ],
3088
+ "providerPermissions": [],
3089
+ "inputSchema": {
3090
+ "type": "object",
3091
+ "properties": {
3092
+ "apiVersion": {
3093
+ "type": "string",
3094
+ "description": "Salesforce REST API version supported by your organization.",
3095
+ "default": "66.0",
3096
+ "pattern": "^[0-9]+\\.[0-9]+$"
3097
+ },
3098
+ "objectName": {
3099
+ "type": "string",
3100
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
3101
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
3102
+ }
3103
+ },
3104
+ "additionalProperties": false,
3105
+ "description": "Action input."
3106
+ },
3107
+ "outputSchema": {
3108
+ "type": "object",
3109
+ "properties": {
3110
+ "result": {
3111
+ "description": "Salesforce quick-action discovery response."
3112
+ }
3113
+ },
3114
+ "additionalProperties": false,
3115
+ "required": [
3116
+ "result"
3117
+ ],
3118
+ "description": "Available quick actions."
3119
+ }
3120
+ },
3121
+ {
3122
+ "id": "salesforce.list_record_files",
3123
+ "service": "salesforce",
3124
+ "name": "list_record_files",
3125
+ "description": "List files linked to a Salesforce record, including link IDs needed to unlink; use query_more for later pages.",
3126
+ "operationType": "read",
3127
+ "requiredScopes": [
3128
+ "api"
3129
+ ],
3130
+ "providerPermissions": [],
3131
+ "inputSchema": {
3132
+ "type": "object",
3133
+ "properties": {
3134
+ "apiVersion": {
3135
+ "type": "string",
3136
+ "description": "Salesforce REST API version supported by your organization.",
3137
+ "default": "66.0",
3138
+ "pattern": "^[0-9]+\\.[0-9]+$"
3139
+ },
3140
+ "recordId": {
3141
+ "type": "string",
3142
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3143
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3144
+ }
3145
+ },
3146
+ "additionalProperties": false,
3147
+ "required": [
3148
+ "recordId"
3149
+ ],
3150
+ "description": "Action input."
3151
+ },
3152
+ "outputSchema": {
3153
+ "type": "object",
3154
+ "properties": {
3155
+ "totalSize": {
3156
+ "type": "integer",
3157
+ "description": "Total number of matching records."
3158
+ },
3159
+ "done": {
3160
+ "type": "boolean",
3161
+ "description": "Whether all query results have been returned."
3162
+ },
3163
+ "records": {
3164
+ "type": "array",
3165
+ "items": {
3166
+ "type": "object",
3167
+ "properties": {},
3168
+ "additionalProperties": true,
3169
+ "description": "Salesforce record with object-specific fields and relationship data."
3170
+ },
3171
+ "description": "Records in this page."
3172
+ },
3173
+ "nextRecordsUrl": {
3174
+ "type": "string",
3175
+ "description": "Relative URL for the next page; pass it unchanged to query_more."
3176
+ }
3177
+ },
3178
+ "additionalProperties": true,
3179
+ "required": [
3180
+ "totalSize",
3181
+ "done",
3182
+ "records"
3183
+ ],
3184
+ "description": "One page of SOQL results."
3185
+ }
3186
+ },
3187
+ {
3188
+ "id": "salesforce.list_reports",
3189
+ "service": "salesforce",
3190
+ "name": "list_reports",
3191
+ "description": "List up to 200 recently viewed reports. For all accessible reports, query the Report object with SOQL.",
3192
+ "operationType": "read",
3193
+ "requiredScopes": [
3194
+ "api"
3195
+ ],
3196
+ "providerPermissions": [],
3197
+ "inputSchema": {
3198
+ "type": "object",
3199
+ "properties": {
3200
+ "apiVersion": {
3201
+ "type": "string",
3202
+ "description": "Salesforce REST API version supported by your organization.",
3203
+ "default": "66.0",
3204
+ "pattern": "^[0-9]+\\.[0-9]+$"
3205
+ }
3206
+ },
3207
+ "additionalProperties": false,
3208
+ "description": "Action input."
3209
+ },
3210
+ "outputSchema": {
3211
+ "type": "object",
3212
+ "properties": {
3213
+ "results": {
3214
+ "type": "array",
3215
+ "items": {
3216
+ "description": "Upstream item result."
3217
+ },
3218
+ "description": "One result per item; inspect individual success flags."
3219
+ }
3220
+ },
3221
+ "additionalProperties": false,
3222
+ "required": [
3223
+ "results"
3224
+ ],
3225
+ "description": "Ordered upstream results; individual items can contain errors or null."
3226
+ }
3227
+ },
3228
+ {
3229
+ "id": "salesforce.list_updated_records",
3230
+ "service": "salesforce",
3231
+ "name": "list_updated_records",
3232
+ "description": "List record IDs changed in a replication window within the last 30 days.",
3233
+ "operationType": "read",
3234
+ "requiredScopes": [
3235
+ "api"
3236
+ ],
3237
+ "providerPermissions": [],
3238
+ "inputSchema": {
3239
+ "type": "object",
3240
+ "properties": {
3241
+ "apiVersion": {
3242
+ "type": "string",
3243
+ "description": "Salesforce REST API version supported by your organization.",
3244
+ "default": "66.0",
3245
+ "pattern": "^[0-9]+\\.[0-9]+$"
3246
+ },
3247
+ "objectName": {
3248
+ "type": "string",
3249
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
3250
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
3251
+ },
3252
+ "start": {
3253
+ "type": "string",
3254
+ "description": "Start of the replication window in ISO 8601 UTC.",
3255
+ "format": "date-time"
3256
+ },
3257
+ "end": {
3258
+ "type": "string",
3259
+ "description": "End of the replication window in ISO 8601 UTC; must follow start.",
3260
+ "format": "date-time"
3261
+ }
3262
+ },
3263
+ "additionalProperties": false,
3264
+ "required": [
3265
+ "objectName",
3266
+ "start",
3267
+ "end"
3268
+ ],
3269
+ "description": "Action input."
3270
+ },
3271
+ "outputSchema": {
3272
+ "type": "object",
3273
+ "properties": {
3274
+ "ids": {
3275
+ "type": "array",
3276
+ "items": {
3277
+ "type": "string",
3278
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3279
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3280
+ },
3281
+ "description": "Updated record IDs."
3282
+ },
3283
+ "latestDateCovered": {
3284
+ "type": "string",
3285
+ "description": "Latest covered timestamp."
3286
+ }
3287
+ },
3288
+ "additionalProperties": true,
3289
+ "description": "Updated record IDs and coverage watermark."
3290
+ }
3291
+ },
3292
+ {
3293
+ "id": "salesforce.parameterized_search",
3294
+ "service": "salesforce",
3295
+ "name": "parameterized_search",
3296
+ "description": "Search Salesforce without composing SOSL; supports all documented parameterized-search options.",
3297
+ "operationType": "read",
3298
+ "requiredScopes": [
3299
+ "api"
3300
+ ],
3301
+ "providerPermissions": [],
3302
+ "inputSchema": {
3303
+ "type": "object",
3304
+ "properties": {
3305
+ "apiVersion": {
3306
+ "type": "string",
3307
+ "description": "Salesforce REST API version supported by your organization.",
3308
+ "default": "66.0",
3309
+ "pattern": "^[0-9]+\\.[0-9]+$"
3310
+ },
3311
+ "request": {
3312
+ "type": "object",
3313
+ "properties": {
3314
+ "q": {
3315
+ "type": "string",
3316
+ "minLength": 1,
3317
+ "description": "Text to search for."
3318
+ },
3319
+ "sobjects": {
3320
+ "type": "array",
3321
+ "items": {
3322
+ "type": "object",
3323
+ "properties": {
3324
+ "name": {
3325
+ "type": "string",
3326
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
3327
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
3328
+ }
3329
+ },
3330
+ "additionalProperties": true,
3331
+ "description": "Object search options."
3332
+ },
3333
+ "description": "Objects and per-object search options."
3334
+ },
3335
+ "overallLimit": {
3336
+ "type": "integer",
3337
+ "minimum": 1,
3338
+ "maximum": 2000,
3339
+ "description": "Maximum results across objects."
3340
+ }
3341
+ },
3342
+ "additionalProperties": true,
3343
+ "required": [
3344
+ "q"
3345
+ ],
3346
+ "description": "Official parameterized-search request, including q, sobjects, fields, filters and limits."
3347
+ }
3348
+ },
3349
+ "additionalProperties": false,
3350
+ "required": [
3351
+ "request"
3352
+ ],
3353
+ "description": "Action input."
3354
+ },
3355
+ "outputSchema": {
3356
+ "type": "object",
3357
+ "properties": {
3358
+ "searchRecords": {
3359
+ "type": "array",
3360
+ "items": {
3361
+ "type": "object",
3362
+ "properties": {},
3363
+ "additionalProperties": true,
3364
+ "description": "Salesforce record with object-specific fields and relationship data."
3365
+ },
3366
+ "description": "Matching records."
3367
+ }
3368
+ },
3369
+ "additionalProperties": true,
3370
+ "description": "Parameterized search results."
3371
+ }
3372
+ },
3373
+ {
3374
+ "id": "salesforce.query",
3375
+ "service": "salesforce",
3376
+ "name": "query",
3377
+ "description": "Execute read-only SOQL and return one page. Use query_more with nextRecordsUrl for subsequent pages.",
3378
+ "operationType": "read",
3379
+ "requiredScopes": [
3380
+ "api"
3381
+ ],
3382
+ "providerPermissions": [],
3383
+ "inputSchema": {
3384
+ "type": "object",
3385
+ "properties": {
3386
+ "apiVersion": {
3387
+ "type": "string",
3388
+ "description": "Salesforce REST API version supported by your organization.",
3389
+ "default": "66.0",
3390
+ "pattern": "^[0-9]+\\.[0-9]+$"
3391
+ },
3392
+ "soql": {
3393
+ "type": "string",
3394
+ "minLength": 1,
3395
+ "description": "SOQL SELECT query, for example SELECT Id, Name FROM Account LIMIT 10."
3396
+ },
3397
+ "includeDeleted": {
3398
+ "type": "boolean",
3399
+ "description": "Use queryAll to include deleted records and archived activities."
3400
+ },
3401
+ "batchSize": {
3402
+ "type": "integer",
3403
+ "minimum": 200,
3404
+ "maximum": 2000,
3405
+ "description": "Requested query batch size; Salesforce may return fewer records."
3406
+ }
3407
+ },
3408
+ "additionalProperties": false,
3409
+ "required": [
3410
+ "soql"
3411
+ ],
3412
+ "description": "Action input."
3413
+ },
3414
+ "outputSchema": {
3415
+ "type": "object",
3416
+ "properties": {
3417
+ "totalSize": {
3418
+ "type": "integer",
3419
+ "description": "Total number of matching records."
3420
+ },
3421
+ "done": {
3422
+ "type": "boolean",
3423
+ "description": "Whether all query results have been returned."
3424
+ },
3425
+ "records": {
3426
+ "type": "array",
3427
+ "items": {
3428
+ "type": "object",
3429
+ "properties": {},
3430
+ "additionalProperties": true,
3431
+ "description": "Salesforce record with object-specific fields and relationship data."
3432
+ },
3433
+ "description": "Records in this page."
3434
+ },
3435
+ "nextRecordsUrl": {
3436
+ "type": "string",
3437
+ "description": "Relative URL for the next page; pass it unchanged to query_more."
3438
+ }
3439
+ },
3440
+ "additionalProperties": true,
3441
+ "required": [
3442
+ "totalSize",
3443
+ "done",
3444
+ "records"
3445
+ ],
3446
+ "description": "One page of SOQL results."
3447
+ }
3448
+ },
3449
+ {
3450
+ "id": "salesforce.query_more",
3451
+ "service": "salesforce",
3452
+ "name": "query_more",
3453
+ "description": "Retrieve the next page of a SOQL query using Salesforce's relative nextRecordsUrl.",
3454
+ "operationType": "read",
3455
+ "requiredScopes": [
3456
+ "api"
3457
+ ],
3458
+ "providerPermissions": [],
3459
+ "inputSchema": {
3460
+ "type": "object",
3461
+ "properties": {
3462
+ "apiVersion": {
3463
+ "type": "string",
3464
+ "description": "Salesforce REST API version supported by your organization.",
3465
+ "default": "66.0",
3466
+ "pattern": "^[0-9]+\\.[0-9]+$"
3467
+ },
3468
+ "nextRecordsUrl": {
3469
+ "type": "string",
3470
+ "description": "Relative nextRecordsUrl returned by query or query_more. Its version is preserved.",
3471
+ "pattern": "^/services/data/v[0-9]+\\.[0-9]+/query(All)?/[A-Za-z0-9_-]+$"
3472
+ },
3473
+ "batchSize": {
3474
+ "type": "integer",
3475
+ "minimum": 200,
3476
+ "maximum": 2000,
3477
+ "description": "Requested query batch size; Salesforce may return fewer records."
3478
+ }
3479
+ },
3480
+ "additionalProperties": false,
3481
+ "required": [
3482
+ "nextRecordsUrl"
3483
+ ],
3484
+ "description": "Action input."
3485
+ },
3486
+ "outputSchema": {
3487
+ "type": "object",
3488
+ "properties": {
3489
+ "totalSize": {
3490
+ "type": "integer",
3491
+ "description": "Total number of matching records."
3492
+ },
3493
+ "done": {
3494
+ "type": "boolean",
3495
+ "description": "Whether all query results have been returned."
3496
+ },
3497
+ "records": {
3498
+ "type": "array",
3499
+ "items": {
3500
+ "type": "object",
3501
+ "properties": {},
3502
+ "additionalProperties": true,
3503
+ "description": "Salesforce record with object-specific fields and relationship data."
3504
+ },
3505
+ "description": "Records in this page."
3506
+ },
3507
+ "nextRecordsUrl": {
3508
+ "type": "string",
3509
+ "description": "Relative URL for the next page; pass it unchanged to query_more."
3510
+ }
3511
+ },
3512
+ "additionalProperties": true,
3513
+ "required": [
3514
+ "totalSize",
3515
+ "done",
3516
+ "records"
3517
+ ],
3518
+ "description": "One page of SOQL results."
3519
+ }
3520
+ },
3521
+ {
3522
+ "id": "salesforce.refresh_dashboard",
3523
+ "service": "salesforce",
3524
+ "name": "refresh_dashboard",
3525
+ "description": "Request a dashboard refresh; inspect get_dashboard_status before reading refreshed data.",
3526
+ "operationType": "write",
3527
+ "requiredScopes": [
3528
+ "api"
3529
+ ],
3530
+ "providerPermissions": [],
3531
+ "inputSchema": {
3532
+ "type": "object",
3533
+ "properties": {
3534
+ "apiVersion": {
3535
+ "type": "string",
3536
+ "description": "Salesforce REST API version supported by your organization.",
3537
+ "default": "66.0",
3538
+ "pattern": "^[0-9]+\\.[0-9]+$"
3539
+ },
3540
+ "dashboardId": {
3541
+ "type": "string",
3542
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3543
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3544
+ },
3545
+ "runningUser": {
3546
+ "type": "string",
3547
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3548
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3549
+ },
3550
+ "filter1": {
3551
+ "type": "string",
3552
+ "description": "First dashboard filter option ID."
3553
+ },
3554
+ "filter2": {
3555
+ "type": "string",
3556
+ "description": "Second dashboard filter option ID."
3557
+ },
3558
+ "filter3": {
3559
+ "type": "string",
3560
+ "description": "Third dashboard filter option ID."
3561
+ }
3562
+ },
3563
+ "additionalProperties": false,
3564
+ "required": [
3565
+ "dashboardId"
3566
+ ],
3567
+ "description": "Action input."
3568
+ },
3569
+ "outputSchema": {
3570
+ "type": "object",
3571
+ "properties": {
3572
+ "statusUrl": {
3573
+ "type": "string",
3574
+ "description": "Relative Salesforce URL to check the dashboard refresh status."
3575
+ }
3576
+ },
3577
+ "additionalProperties": true,
3578
+ "required": [
3579
+ "statusUrl"
3580
+ ],
3581
+ "description": "Dashboard refresh acknowledgement."
3582
+ }
3583
+ },
3584
+ {
3585
+ "id": "salesforce.run_report",
3586
+ "service": "salesforce",
3587
+ "name": "run_report",
3588
+ "description": "Run a report synchronously with optional temporary metadata overrides; does not save changes.",
3589
+ "operationType": "read",
3590
+ "requiredScopes": [
3591
+ "api"
3592
+ ],
3593
+ "providerPermissions": [],
3594
+ "inputSchema": {
3595
+ "type": "object",
3596
+ "properties": {
3597
+ "apiVersion": {
3598
+ "type": "string",
3599
+ "description": "Salesforce REST API version supported by your organization.",
3600
+ "default": "66.0",
3601
+ "pattern": "^[0-9]+\\.[0-9]+$"
3602
+ },
3603
+ "reportId": {
3604
+ "type": "string",
3605
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3606
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3607
+ },
3608
+ "includeDetails": {
3609
+ "type": "boolean",
3610
+ "description": "Include detail rows as well as report summaries."
3611
+ },
3612
+ "metadata": {
3613
+ "type": "object",
3614
+ "properties": {},
3615
+ "additionalProperties": true,
3616
+ "description": "Official reportMetadata overrides, including filters, groupings, aggregates and date filters; does not save the report."
3617
+ }
3618
+ },
3619
+ "additionalProperties": false,
3620
+ "required": [
3621
+ "reportId"
3622
+ ],
3623
+ "description": "Action input."
3624
+ },
3625
+ "outputSchema": {
3626
+ "type": "object",
3627
+ "properties": {
3628
+ "factMap": {
3629
+ "type": "object",
3630
+ "properties": {},
3631
+ "additionalProperties": true,
3632
+ "description": "Report facts keyed by grouping coordinates."
3633
+ },
3634
+ "allData": {
3635
+ "type": "boolean",
3636
+ "description": "Whether all report results are included."
3637
+ },
3638
+ "reportMetadata": {
3639
+ "type": "object",
3640
+ "properties": {},
3641
+ "additionalProperties": true,
3642
+ "description": "Report metadata."
3643
+ },
3644
+ "reportExtendedMetadata": {
3645
+ "type": "object",
3646
+ "properties": {},
3647
+ "additionalProperties": true,
3648
+ "description": "Column and aggregate metadata."
3649
+ }
3650
+ },
3651
+ "additionalProperties": true,
3652
+ "description": "Report results preserving factMap, groupings, detail columns and metadata."
3653
+ }
3654
+ },
3655
+ {
3656
+ "id": "salesforce.search_records",
3657
+ "service": "salesforce",
3658
+ "name": "search_records",
3659
+ "description": "Search across Salesforce objects using SOSL.",
3660
+ "operationType": "read",
3661
+ "requiredScopes": [
3662
+ "api"
3663
+ ],
3664
+ "providerPermissions": [],
3665
+ "inputSchema": {
3666
+ "type": "object",
3667
+ "properties": {
3668
+ "apiVersion": {
3669
+ "type": "string",
3670
+ "description": "Salesforce REST API version supported by your organization.",
3671
+ "default": "66.0",
3672
+ "pattern": "^[0-9]+\\.[0-9]+$"
3673
+ },
3674
+ "sosl": {
3675
+ "type": "string",
3676
+ "minLength": 1,
3677
+ "description": "SOSL search expression."
3678
+ }
3679
+ },
3680
+ "additionalProperties": false,
3681
+ "required": [
3682
+ "sosl"
3683
+ ],
3684
+ "description": "Action input."
3685
+ },
3686
+ "outputSchema": {
3687
+ "type": "object",
3688
+ "properties": {
3689
+ "searchRecords": {
3690
+ "type": "array",
3691
+ "items": {
3692
+ "type": "object",
3693
+ "properties": {},
3694
+ "additionalProperties": true,
3695
+ "description": "Salesforce record with object-specific fields and relationship data."
3696
+ },
3697
+ "description": "Matching records."
3698
+ }
3699
+ },
3700
+ "additionalProperties": true,
3701
+ "description": "Salesforce search results."
3702
+ }
3703
+ },
3704
+ {
3705
+ "id": "salesforce.send_email",
3706
+ "service": "salesforce",
3707
+ "name": "send_email",
3708
+ "description": "Send email through Salesforce emailSimple and return each action result; inspect isSuccess and errors.",
3709
+ "operationType": "write",
3710
+ "requiredScopes": [
3711
+ "api"
3712
+ ],
3713
+ "providerPermissions": [],
3714
+ "inputSchema": {
3715
+ "type": "object",
3716
+ "properties": {
3717
+ "apiVersion": {
3718
+ "type": "string",
3719
+ "description": "Salesforce REST API version supported by your organization.",
3720
+ "default": "66.0",
3721
+ "pattern": "^[0-9]+\\.[0-9]+$"
3722
+ },
3723
+ "email": {
3724
+ "type": "object",
3725
+ "properties": {
3726
+ "recipientAddresses": {
3727
+ "type": "array",
3728
+ "items": {
3729
+ "type": "string",
3730
+ "description": "Email address.",
3731
+ "format": "email"
3732
+ },
3733
+ "description": "Recipient email addresses; combined recipients must not exceed 150.",
3734
+ "maxItems": 150
3735
+ },
3736
+ "ccAddresses": {
3737
+ "type": "array",
3738
+ "items": {
3739
+ "type": "string",
3740
+ "description": "Email address.",
3741
+ "format": "email"
3742
+ },
3743
+ "description": "Recipient email addresses; combined recipients must not exceed 150.",
3744
+ "maxItems": 150
3745
+ },
3746
+ "bccAddresses": {
3747
+ "type": "array",
3748
+ "items": {
3749
+ "type": "string",
3750
+ "description": "Email address.",
3751
+ "format": "email"
3752
+ },
3753
+ "description": "Recipient email addresses; combined recipients must not exceed 150.",
3754
+ "maxItems": 150
3755
+ },
3756
+ "recipientId": {
3757
+ "type": "string",
3758
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3759
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3760
+ },
3761
+ "relatedRecordId": {
3762
+ "type": "string",
3763
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3764
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3765
+ },
3766
+ "senderType": {
3767
+ "type": "string",
3768
+ "enum": [
3769
+ "CurrentUser",
3770
+ "DefaultWorkflowUser",
3771
+ "OrgWideEmailAddress"
3772
+ ],
3773
+ "description": "Sender identity selection."
3774
+ },
3775
+ "senderAddress": {
3776
+ "type": "string",
3777
+ "description": "Organization-wide sender email; required for OrgWideEmailAddress.",
3778
+ "format": "email"
3779
+ },
3780
+ "attachmentIdCollection": {
3781
+ "type": "array",
3782
+ "items": {
3783
+ "type": "string",
3784
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3785
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3786
+ },
3787
+ "description": "Document, ContentVersion or Attachment IDs."
3788
+ },
3789
+ "logEmailOnSend": {
3790
+ "type": "boolean",
3791
+ "description": "Log the email to recipientId or relatedRecordId; requires at least one of those IDs."
3792
+ },
3793
+ "addThreadingTokenToBody": {
3794
+ "type": "boolean",
3795
+ "description": "Add a related-record threading token to the email body."
3796
+ },
3797
+ "addThreadingTokenToSubject": {
3798
+ "type": "boolean",
3799
+ "description": "Add a related-record threading token to the subject."
3800
+ },
3801
+ "emailBody": {
3802
+ "type": "string",
3803
+ "description": "Email body."
3804
+ },
3805
+ "emailSubject": {
3806
+ "type": "string",
3807
+ "description": "Email subject."
3808
+ },
3809
+ "sendRichBody": {
3810
+ "type": "boolean",
3811
+ "description": "Treat the email body as rich text."
3812
+ },
3813
+ "useLineBreaks": {
3814
+ "type": "boolean",
3815
+ "description": "Render line breaks in a rich-text body."
3816
+ }
3817
+ },
3818
+ "additionalProperties": false,
3819
+ "required": [
3820
+ "emailBody",
3821
+ "emailSubject"
3822
+ ],
3823
+ "description": "Email content and delivery options."
3824
+ }
3825
+ },
3826
+ "additionalProperties": false,
3827
+ "required": [
3828
+ "email"
3829
+ ],
3830
+ "description": "Action input."
3831
+ },
3832
+ "outputSchema": {
3833
+ "type": "object",
3834
+ "properties": {
3835
+ "results": {
3836
+ "type": "array",
3837
+ "items": {
3838
+ "description": "Upstream item result."
3839
+ },
3840
+ "description": "One result per item; inspect individual success flags."
3841
+ }
3842
+ },
3843
+ "additionalProperties": false,
3844
+ "required": [
3845
+ "results"
3846
+ ],
3847
+ "description": "Ordered upstream results; individual items can contain errors or null."
3848
+ }
3849
+ },
3850
+ {
3851
+ "id": "salesforce.send_email_from_template",
3852
+ "service": "salesforce",
3853
+ "name": "send_email_from_template",
3854
+ "description": "Send a Salesforce template email with merge fields; requires a recipient Contact or Lead ID.",
3855
+ "operationType": "write",
3856
+ "requiredScopes": [
3857
+ "api"
3858
+ ],
3859
+ "providerPermissions": [],
3860
+ "inputSchema": {
3861
+ "type": "object",
3862
+ "properties": {
3863
+ "apiVersion": {
3864
+ "type": "string",
3865
+ "description": "Salesforce REST API version supported by your organization.",
3866
+ "default": "66.0",
3867
+ "pattern": "^[0-9]+\\.[0-9]+$"
3868
+ },
3869
+ "email": {
3870
+ "type": "object",
3871
+ "properties": {
3872
+ "recipientAddresses": {
3873
+ "type": "array",
3874
+ "items": {
3875
+ "type": "string",
3876
+ "description": "Email address.",
3877
+ "format": "email"
3878
+ },
3879
+ "description": "Recipient email addresses; combined recipients must not exceed 150.",
3880
+ "maxItems": 150
3881
+ },
3882
+ "ccAddresses": {
3883
+ "type": "array",
3884
+ "items": {
3885
+ "type": "string",
3886
+ "description": "Email address.",
3887
+ "format": "email"
3888
+ },
3889
+ "description": "Recipient email addresses; combined recipients must not exceed 150.",
3890
+ "maxItems": 150
3891
+ },
3892
+ "bccAddresses": {
3893
+ "type": "array",
3894
+ "items": {
3895
+ "type": "string",
3896
+ "description": "Email address.",
3897
+ "format": "email"
3898
+ },
3899
+ "description": "Recipient email addresses; combined recipients must not exceed 150.",
3900
+ "maxItems": 150
3901
+ },
3902
+ "recipientId": {
3903
+ "type": "string",
3904
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3905
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3906
+ },
3907
+ "relatedRecordId": {
3908
+ "type": "string",
3909
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3910
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3911
+ },
3912
+ "senderType": {
3913
+ "type": "string",
3914
+ "enum": [
3915
+ "CurrentUser",
3916
+ "DefaultWorkflowUser",
3917
+ "OrgWideEmailAddress"
3918
+ ],
3919
+ "description": "Sender identity selection."
3920
+ },
3921
+ "senderAddress": {
3922
+ "type": "string",
3923
+ "description": "Organization-wide sender email; required for OrgWideEmailAddress.",
3924
+ "format": "email"
3925
+ },
3926
+ "attachmentIdCollection": {
3927
+ "type": "array",
3928
+ "items": {
3929
+ "type": "string",
3930
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3931
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3932
+ },
3933
+ "description": "Document, ContentVersion or Attachment IDs."
3934
+ },
3935
+ "logEmailOnSend": {
3936
+ "type": "boolean",
3937
+ "description": "Log the email to recipientId or relatedRecordId; requires at least one of those IDs."
3938
+ },
3939
+ "addThreadingTokenToBody": {
3940
+ "type": "boolean",
3941
+ "description": "Add a related-record threading token to the email body."
3942
+ },
3943
+ "addThreadingTokenToSubject": {
3944
+ "type": "boolean",
3945
+ "description": "Add a related-record threading token to the subject."
3946
+ },
3947
+ "emailTemplateId": {
3948
+ "type": "string",
3949
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
3950
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
3951
+ }
3952
+ },
3953
+ "additionalProperties": false,
3954
+ "required": [
3955
+ "recipientId",
3956
+ "emailTemplateId"
3957
+ ],
3958
+ "description": "Template email and delivery options."
3959
+ }
3960
+ },
3961
+ "additionalProperties": false,
3962
+ "required": [
3963
+ "email"
3964
+ ],
3965
+ "description": "Action input."
3966
+ },
3967
+ "outputSchema": {
3968
+ "type": "object",
3969
+ "properties": {
3970
+ "results": {
3971
+ "type": "array",
3972
+ "items": {
3973
+ "description": "Upstream item result."
3974
+ },
3975
+ "description": "One result per item; inspect individual success flags."
3976
+ }
3977
+ },
3978
+ "additionalProperties": false,
3979
+ "required": [
3980
+ "results"
3981
+ ],
3982
+ "description": "Ordered upstream results; individual items can contain errors or null."
3983
+ }
3984
+ },
3985
+ {
3986
+ "id": "salesforce.submit_bulk_ingest",
3987
+ "service": "salesforce",
3988
+ "name": "submit_bulk_ingest",
3989
+ "description": "Create, upload and submit a Bulk API 2.0 CSV job from a public URL. Supports delete and irreversible hardDelete; inspect per-record results.",
3990
+ "operationType": "destructive",
3991
+ "requiredScopes": [
3992
+ "api"
3993
+ ],
3994
+ "providerPermissions": [],
3995
+ "inputSchema": {
3996
+ "type": "object",
3997
+ "properties": {
3998
+ "apiVersion": {
3999
+ "type": "string",
4000
+ "description": "Salesforce REST API version supported by your organization.",
4001
+ "default": "66.0",
4002
+ "pattern": "^[0-9]+\\.[0-9]+$"
4003
+ },
4004
+ "objectName": {
4005
+ "type": "string",
4006
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
4007
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
4008
+ },
4009
+ "operation": {
4010
+ "type": "string",
4011
+ "enum": [
4012
+ "insert",
4013
+ "update",
4014
+ "upsert",
4015
+ "delete",
4016
+ "hardDelete"
4017
+ ],
4018
+ "description": "CRM ingest operation. hardDelete requires Bulk API Hard Delete permission."
4019
+ },
4020
+ "csvUrl": {
4021
+ "type": "string",
4022
+ "description": "Public HTTPS CSV URL. Uploads are bounded to Salesforce's recommended 100 MB source size.",
4023
+ "format": "uri"
4024
+ },
4025
+ "externalIdField": {
4026
+ "type": "string",
4027
+ "description": "Salesforce API name.",
4028
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
4029
+ },
4030
+ "assignmentRuleId": {
4031
+ "type": "string",
4032
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4033
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4034
+ },
4035
+ "columnDelimiter": {
4036
+ "type": "string",
4037
+ "enum": [
4038
+ "BACKQUOTE",
4039
+ "CARET",
4040
+ "COMMA",
4041
+ "PIPE",
4042
+ "SEMICOLON",
4043
+ "TAB"
4044
+ ],
4045
+ "description": "CSV delimiter; defaults to COMMA."
4046
+ },
4047
+ "lineEnding": {
4048
+ "type": "string",
4049
+ "enum": [
4050
+ "LF",
4051
+ "CRLF"
4052
+ ],
4053
+ "description": "CSV line ending; defaults to LF."
4054
+ }
4055
+ },
4056
+ "additionalProperties": false,
4057
+ "required": [
4058
+ "objectName",
4059
+ "operation",
4060
+ "csvUrl"
4061
+ ],
4062
+ "description": "Action input."
4063
+ },
4064
+ "outputSchema": {
4065
+ "type": "object",
4066
+ "properties": {
4067
+ "handle": {
4068
+ "type": "object",
4069
+ "properties": {
4070
+ "jobId": {
4071
+ "type": "string",
4072
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4073
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4074
+ },
4075
+ "kind": {
4076
+ "type": "string",
4077
+ "enum": [
4078
+ "query",
4079
+ "ingest"
4080
+ ],
4081
+ "description": "Bulk job kind."
4082
+ },
4083
+ "apiVersion": {
4084
+ "type": "string",
4085
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
4086
+ "pattern": "^[0-9]+\\.[0-9]+$"
4087
+ }
4088
+ },
4089
+ "additionalProperties": false,
4090
+ "required": [
4091
+ "jobId",
4092
+ "kind",
4093
+ "apiVersion"
4094
+ ],
4095
+ "description": "Bulk job handle; preserve the API version and job kind."
4096
+ },
4097
+ "state": {
4098
+ "type": "string",
4099
+ "description": "Salesforce job state."
4100
+ },
4101
+ "job": {
4102
+ "type": "object",
4103
+ "properties": {},
4104
+ "additionalProperties": true,
4105
+ "description": "Full Salesforce job information, including failure counts and errorMessage."
4106
+ },
4107
+ "result": {
4108
+ "type": "object",
4109
+ "properties": {
4110
+ "fileId": {
4111
+ "type": "string",
4112
+ "description": "Transit file identifier."
4113
+ },
4114
+ "downloadUrl": {
4115
+ "type": "string",
4116
+ "description": "URL for downloading the transit file."
4117
+ },
4118
+ "name": {
4119
+ "type": "string",
4120
+ "description": "File name."
4121
+ },
4122
+ "mimeType": {
4123
+ "type": "string",
4124
+ "description": "File media type."
4125
+ },
4126
+ "sizeBytes": {
4127
+ "type": "integer",
4128
+ "description": "Downloaded file size in bytes."
4129
+ }
4130
+ },
4131
+ "additionalProperties": false,
4132
+ "required": [
4133
+ "fileId",
4134
+ "downloadUrl",
4135
+ "name",
4136
+ "mimeType",
4137
+ "sizeBytes"
4138
+ ],
4139
+ "description": "Downloaded file stored in local file transit."
4140
+ },
4141
+ "nextLocator": {
4142
+ "anyOf": [
4143
+ {
4144
+ "type": "string",
4145
+ "description": "Locator for the next CSV page; null when finished."
4146
+ },
4147
+ {
4148
+ "type": "null"
4149
+ }
4150
+ ],
4151
+ "description": "Locator for the next CSV page; null when finished."
4152
+ },
4153
+ "numberOfRecords": {
4154
+ "type": "integer",
4155
+ "description": "Number of records in this CSV page."
4156
+ }
4157
+ },
4158
+ "additionalProperties": false,
4159
+ "required": [
4160
+ "handle",
4161
+ "state",
4162
+ "job"
4163
+ ],
4164
+ "description": "Bulk job state and optional result file."
4165
+ },
4166
+ "asyncLifecycle": {
4167
+ "startActionId": "salesforce.submit_bulk_ingest",
4168
+ "statusActionId": "salesforce.get_bulk_ingest_result",
4169
+ "cancelActionId": "salesforce.cancel_bulk_job"
4170
+ }
4171
+ },
4172
+ {
4173
+ "id": "salesforce.submit_bulk_query",
4174
+ "service": "salesforce",
4175
+ "name": "submit_bulk_query",
4176
+ "description": "Submit an asynchronous Bulk API 2.0 SOQL query and return a versioned handle.",
4177
+ "operationType": "write",
4178
+ "requiredScopes": [
4179
+ "api"
4180
+ ],
4181
+ "providerPermissions": [],
4182
+ "inputSchema": {
4183
+ "type": "object",
4184
+ "properties": {
4185
+ "apiVersion": {
4186
+ "type": "string",
4187
+ "description": "Salesforce REST API version supported by your organization.",
4188
+ "default": "66.0",
4189
+ "pattern": "^[0-9]+\\.[0-9]+$"
4190
+ },
4191
+ "soql": {
4192
+ "type": "string",
4193
+ "minLength": 1,
4194
+ "description": "Bulk-compatible SOQL; no GROUP BY, OFFSET, aggregate functions or parent-to-child subqueries."
4195
+ },
4196
+ "includeDeleted": {
4197
+ "type": "boolean",
4198
+ "description": "Use queryAll to include deleted and archived records."
4199
+ },
4200
+ "columnDelimiter": {
4201
+ "type": "string",
4202
+ "enum": [
4203
+ "BACKQUOTE",
4204
+ "CARET",
4205
+ "COMMA",
4206
+ "PIPE",
4207
+ "SEMICOLON",
4208
+ "TAB"
4209
+ ],
4210
+ "description": "CSV delimiter; defaults to COMMA."
4211
+ },
4212
+ "lineEnding": {
4213
+ "type": "string",
4214
+ "enum": [
4215
+ "LF",
4216
+ "CRLF"
4217
+ ],
4218
+ "description": "CSV line ending; defaults to LF."
4219
+ }
4220
+ },
4221
+ "additionalProperties": false,
4222
+ "required": [
4223
+ "soql"
4224
+ ],
4225
+ "description": "Action input."
4226
+ },
4227
+ "outputSchema": {
4228
+ "type": "object",
4229
+ "properties": {
4230
+ "handle": {
4231
+ "type": "object",
4232
+ "properties": {
4233
+ "jobId": {
4234
+ "type": "string",
4235
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4236
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4237
+ },
4238
+ "kind": {
4239
+ "type": "string",
4240
+ "enum": [
4241
+ "query",
4242
+ "ingest"
4243
+ ],
4244
+ "description": "Bulk job kind."
4245
+ },
4246
+ "apiVersion": {
4247
+ "type": "string",
4248
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
4249
+ "pattern": "^[0-9]+\\.[0-9]+$"
4250
+ }
4251
+ },
4252
+ "additionalProperties": false,
4253
+ "required": [
4254
+ "jobId",
4255
+ "kind",
4256
+ "apiVersion"
4257
+ ],
4258
+ "description": "Bulk job handle; preserve the API version and job kind."
4259
+ },
4260
+ "state": {
4261
+ "type": "string",
4262
+ "description": "Salesforce job state."
4263
+ },
4264
+ "job": {
4265
+ "type": "object",
4266
+ "properties": {},
4267
+ "additionalProperties": true,
4268
+ "description": "Full Salesforce job information, including failure counts and errorMessage."
4269
+ },
4270
+ "result": {
4271
+ "type": "object",
4272
+ "properties": {
4273
+ "fileId": {
4274
+ "type": "string",
4275
+ "description": "Transit file identifier."
4276
+ },
4277
+ "downloadUrl": {
4278
+ "type": "string",
4279
+ "description": "URL for downloading the transit file."
4280
+ },
4281
+ "name": {
4282
+ "type": "string",
4283
+ "description": "File name."
4284
+ },
4285
+ "mimeType": {
4286
+ "type": "string",
4287
+ "description": "File media type."
4288
+ },
4289
+ "sizeBytes": {
4290
+ "type": "integer",
4291
+ "description": "Downloaded file size in bytes."
4292
+ }
4293
+ },
4294
+ "additionalProperties": false,
4295
+ "required": [
4296
+ "fileId",
4297
+ "downloadUrl",
4298
+ "name",
4299
+ "mimeType",
4300
+ "sizeBytes"
4301
+ ],
4302
+ "description": "Downloaded file stored in local file transit."
4303
+ },
4304
+ "nextLocator": {
4305
+ "anyOf": [
4306
+ {
4307
+ "type": "string",
4308
+ "description": "Locator for the next CSV page; null when finished."
4309
+ },
4310
+ {
4311
+ "type": "null"
4312
+ }
4313
+ ],
4314
+ "description": "Locator for the next CSV page; null when finished."
4315
+ },
4316
+ "numberOfRecords": {
4317
+ "type": "integer",
4318
+ "description": "Number of records in this CSV page."
4319
+ }
4320
+ },
4321
+ "additionalProperties": false,
4322
+ "required": [
4323
+ "handle",
4324
+ "state",
4325
+ "job"
4326
+ ],
4327
+ "description": "Bulk job state and optional result file."
4328
+ },
4329
+ "asyncLifecycle": {
4330
+ "startActionId": "salesforce.submit_bulk_query",
4331
+ "statusActionId": "salesforce.get_bulk_query_result",
4332
+ "cancelActionId": "salesforce.cancel_bulk_job"
4333
+ }
4334
+ },
4335
+ {
4336
+ "id": "salesforce.submit_report",
4337
+ "service": "salesforce",
4338
+ "name": "submit_report",
4339
+ "description": "Start an asynchronous report run and return a handle for get_report_result.",
4340
+ "operationType": "write",
4341
+ "requiredScopes": [
4342
+ "api"
4343
+ ],
4344
+ "providerPermissions": [],
4345
+ "inputSchema": {
4346
+ "type": "object",
4347
+ "properties": {
4348
+ "apiVersion": {
4349
+ "type": "string",
4350
+ "description": "Salesforce REST API version supported by your organization.",
4351
+ "default": "66.0",
4352
+ "pattern": "^[0-9]+\\.[0-9]+$"
4353
+ },
4354
+ "reportId": {
4355
+ "type": "string",
4356
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4357
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4358
+ },
4359
+ "includeDetails": {
4360
+ "type": "boolean",
4361
+ "description": "Include detail rows as well as report summaries."
4362
+ },
4363
+ "metadata": {
4364
+ "type": "object",
4365
+ "properties": {},
4366
+ "additionalProperties": true,
4367
+ "description": "Official reportMetadata overrides, including filters, groupings, aggregates and date filters; does not save the report."
4368
+ }
4369
+ },
4370
+ "additionalProperties": false,
4371
+ "required": [
4372
+ "reportId"
4373
+ ],
4374
+ "description": "Action input."
4375
+ },
4376
+ "outputSchema": {
4377
+ "type": "object",
4378
+ "properties": {
4379
+ "handle": {
4380
+ "type": "object",
4381
+ "properties": {
4382
+ "reportId": {
4383
+ "type": "string",
4384
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4385
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4386
+ },
4387
+ "instanceId": {
4388
+ "type": "string",
4389
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4390
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4391
+ },
4392
+ "apiVersion": {
4393
+ "type": "string",
4394
+ "description": "API version returned by the submit action; preserve it when reusing a handle.",
4395
+ "pattern": "^[0-9]+\\.[0-9]+$"
4396
+ }
4397
+ },
4398
+ "additionalProperties": false,
4399
+ "required": [
4400
+ "reportId",
4401
+ "instanceId",
4402
+ "apiVersion"
4403
+ ],
4404
+ "description": "Report run handle; preserve all fields for polling."
4405
+ },
4406
+ "state": {
4407
+ "type": "string",
4408
+ "description": "Salesforce run state: New, Running, Success or Error."
4409
+ },
4410
+ "report": {
4411
+ "type": "object",
4412
+ "properties": {
4413
+ "factMap": {
4414
+ "type": "object",
4415
+ "properties": {},
4416
+ "additionalProperties": true,
4417
+ "description": "Report facts keyed by grouping coordinates."
4418
+ },
4419
+ "allData": {
4420
+ "type": "boolean",
4421
+ "description": "Whether all report results are included."
4422
+ },
4423
+ "reportMetadata": {
4424
+ "type": "object",
4425
+ "properties": {},
4426
+ "additionalProperties": true,
4427
+ "description": "Report metadata."
4428
+ },
4429
+ "reportExtendedMetadata": {
4430
+ "type": "object",
4431
+ "properties": {},
4432
+ "additionalProperties": true,
4433
+ "description": "Column and aggregate metadata."
4434
+ }
4435
+ },
4436
+ "additionalProperties": true,
4437
+ "description": "Report results preserving factMap, groupings, detail columns and metadata."
4438
+ }
4439
+ },
4440
+ "additionalProperties": false,
4441
+ "required": [
4442
+ "handle",
4443
+ "state"
4444
+ ],
4445
+ "description": "Asynchronous report run."
4446
+ },
4447
+ "asyncLifecycle": {
4448
+ "startActionId": "salesforce.submit_report",
4449
+ "statusActionId": "salesforce.get_report_result"
4450
+ }
4451
+ },
4452
+ {
4453
+ "id": "salesforce.unlink_file",
4454
+ "service": "salesforce",
4455
+ "name": "unlink_file",
4456
+ "description": "Delete one ContentDocumentLink without deleting the underlying file.",
4457
+ "operationType": "destructive",
4458
+ "requiredScopes": [
4459
+ "api"
4460
+ ],
4461
+ "providerPermissions": [],
4462
+ "inputSchema": {
4463
+ "type": "object",
4464
+ "properties": {
4465
+ "apiVersion": {
4466
+ "type": "string",
4467
+ "description": "Salesforce REST API version supported by your organization.",
4468
+ "default": "66.0",
4469
+ "pattern": "^[0-9]+\\.[0-9]+$"
4470
+ },
4471
+ "linkId": {
4472
+ "type": "string",
4473
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4474
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4475
+ }
4476
+ },
4477
+ "additionalProperties": false,
4478
+ "required": [
4479
+ "linkId"
4480
+ ],
4481
+ "description": "Action input."
4482
+ },
4483
+ "outputSchema": {
4484
+ "type": "object",
4485
+ "properties": {
4486
+ "success": {
4487
+ "type": "boolean",
4488
+ "description": "Whether the request succeeded."
4489
+ }
4490
+ },
4491
+ "additionalProperties": false,
4492
+ "required": [
4493
+ "success"
4494
+ ],
4495
+ "description": "Operation acknowledgement."
4496
+ }
4497
+ },
4498
+ {
4499
+ "id": "salesforce.update_record",
4500
+ "service": "salesforce",
4501
+ "name": "update_record",
4502
+ "description": "Update supplied fields on a Salesforce record; omitted fields remain unchanged.",
4503
+ "operationType": "write",
4504
+ "requiredScopes": [
4505
+ "api"
4506
+ ],
4507
+ "providerPermissions": [],
4508
+ "inputSchema": {
4509
+ "type": "object",
4510
+ "properties": {
4511
+ "apiVersion": {
4512
+ "type": "string",
4513
+ "description": "Salesforce REST API version supported by your organization.",
4514
+ "default": "66.0",
4515
+ "pattern": "^[0-9]+\\.[0-9]+$"
4516
+ },
4517
+ "objectName": {
4518
+ "type": "string",
4519
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
4520
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
4521
+ },
4522
+ "recordId": {
4523
+ "type": "string",
4524
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4525
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4526
+ },
4527
+ "fields": {
4528
+ "type": "object",
4529
+ "properties": {},
4530
+ "additionalProperties": true,
4531
+ "description": "Field API names and JSON values to write. Use describe_object to discover writable fields; null clears a field."
4532
+ }
4533
+ },
4534
+ "additionalProperties": false,
4535
+ "required": [
4536
+ "objectName",
4537
+ "recordId",
4538
+ "fields"
4539
+ ],
4540
+ "description": "Action input."
4541
+ },
4542
+ "outputSchema": {
4543
+ "type": "object",
4544
+ "properties": {
4545
+ "id": {
4546
+ "type": "string",
4547
+ "description": "ID of the affected record, when returned by Salesforce."
4548
+ },
4549
+ "success": {
4550
+ "type": "boolean",
4551
+ "description": "Whether the mutation succeeded."
4552
+ },
4553
+ "created": {
4554
+ "type": "boolean",
4555
+ "description": "Whether an upsert created a new record."
4556
+ },
4557
+ "errors": {
4558
+ "type": "array",
4559
+ "items": {
4560
+ "description": "Salesforce error details."
4561
+ },
4562
+ "description": "Errors returned by Salesforce."
4563
+ }
4564
+ },
4565
+ "additionalProperties": true,
4566
+ "required": [
4567
+ "success"
4568
+ ],
4569
+ "description": "Result of a successful record mutation."
4570
+ }
4571
+ },
4572
+ {
4573
+ "id": "salesforce.update_records",
4574
+ "service": "salesforce",
4575
+ "name": "update_records",
4576
+ "description": "Update up to 200 records, preserving per-record success and errors.",
4577
+ "operationType": "write",
4578
+ "requiredScopes": [
4579
+ "api"
4580
+ ],
4581
+ "providerPermissions": [],
4582
+ "inputSchema": {
4583
+ "type": "object",
4584
+ "properties": {
4585
+ "apiVersion": {
4586
+ "type": "string",
4587
+ "description": "Salesforce REST API version supported by your organization.",
4588
+ "default": "66.0",
4589
+ "pattern": "^[0-9]+\\.[0-9]+$"
4590
+ },
4591
+ "records": {
4592
+ "type": "array",
4593
+ "items": {
4594
+ "type": "object",
4595
+ "properties": {
4596
+ "objectName": {
4597
+ "type": "string",
4598
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
4599
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
4600
+ },
4601
+ "recordId": {
4602
+ "type": "string",
4603
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4604
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4605
+ },
4606
+ "fields": {
4607
+ "type": "object",
4608
+ "properties": {},
4609
+ "additionalProperties": true,
4610
+ "description": "Field API names and JSON values to write. Use describe_object to discover writable fields; null clears a field."
4611
+ }
4612
+ },
4613
+ "additionalProperties": false,
4614
+ "required": [
4615
+ "objectName",
4616
+ "recordId",
4617
+ "fields"
4618
+ ],
4619
+ "description": "Record to update."
4620
+ },
4621
+ "description": "Records to update.",
4622
+ "minItems": 1,
4623
+ "maxItems": 200
4624
+ },
4625
+ "allOrNone": {
4626
+ "type": "boolean",
4627
+ "description": "Roll back the entire collection if any item fails. Defaults to false."
4628
+ }
4629
+ },
4630
+ "additionalProperties": false,
4631
+ "required": [
4632
+ "records"
4633
+ ],
4634
+ "description": "Action input."
4635
+ },
4636
+ "outputSchema": {
4637
+ "type": "object",
4638
+ "properties": {
4639
+ "results": {
4640
+ "type": "array",
4641
+ "items": {
4642
+ "description": "Upstream item result."
4643
+ },
4644
+ "description": "One result per item; inspect individual success flags."
4645
+ }
4646
+ },
4647
+ "additionalProperties": false,
4648
+ "required": [
4649
+ "results"
4650
+ ],
4651
+ "description": "Ordered upstream results; individual items can contain errors or null."
4652
+ }
4653
+ },
4654
+ {
4655
+ "id": "salesforce.upload_file",
4656
+ "service": "salesforce",
4657
+ "name": "upload_file",
4658
+ "description": "Upload a file URL as a new Salesforce ContentVersion using streaming multipart data (up to 2 GB). Can add a version to an existing file.",
4659
+ "operationType": "write",
4660
+ "requiredScopes": [
4661
+ "api"
4662
+ ],
4663
+ "providerPermissions": [],
4664
+ "inputSchema": {
4665
+ "type": "object",
4666
+ "properties": {
4667
+ "apiVersion": {
4668
+ "type": "string",
4669
+ "description": "Salesforce REST API version supported by your organization.",
4670
+ "default": "66.0",
4671
+ "pattern": "^[0-9]+\\.[0-9]+$"
4672
+ },
4673
+ "fileUrl": {
4674
+ "type": "string",
4675
+ "description": "Public HTTPS file URL to download; credentials are not forwarded to this URL.",
4676
+ "format": "uri"
4677
+ },
4678
+ "filename": {
4679
+ "type": "string",
4680
+ "minLength": 1,
4681
+ "description": "File name including its extension."
4682
+ },
4683
+ "metadata": {
4684
+ "type": "object",
4685
+ "properties": {
4686
+ "Title": {
4687
+ "type": "string",
4688
+ "description": "File title."
4689
+ },
4690
+ "Description": {
4691
+ "type": "string",
4692
+ "description": "File description."
4693
+ },
4694
+ "FirstPublishLocationId": {
4695
+ "type": "string",
4696
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4697
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4698
+ },
4699
+ "ContentDocumentId": {
4700
+ "type": "string",
4701
+ "description": "Salesforce record ID (15 or 18 alphanumeric characters).",
4702
+ "pattern": "^[A-Za-z0-9]{15}([A-Za-z0-9]{3})?$"
4703
+ },
4704
+ "ReasonForChange": {
4705
+ "type": "string",
4706
+ "description": "Reason for creating this file version."
4707
+ }
4708
+ },
4709
+ "additionalProperties": true,
4710
+ "description": "ContentVersion fields such as Title, Description, FirstPublishLocationId, ContentDocumentId or ReasonForChange; PathOnClient defaults to filename. VersionData cannot be supplied here."
4711
+ }
4712
+ },
4713
+ "additionalProperties": false,
4714
+ "required": [
4715
+ "fileUrl",
4716
+ "filename"
4717
+ ],
4718
+ "description": "Action input."
4719
+ },
4720
+ "outputSchema": {
4721
+ "type": "object",
4722
+ "properties": {
4723
+ "id": {
4724
+ "type": "string",
4725
+ "description": "ID of the affected record, when returned by Salesforce."
4726
+ },
4727
+ "success": {
4728
+ "type": "boolean",
4729
+ "description": "Whether the mutation succeeded."
4730
+ },
4731
+ "created": {
4732
+ "type": "boolean",
4733
+ "description": "Whether an upsert created a new record."
4734
+ },
4735
+ "errors": {
4736
+ "type": "array",
4737
+ "items": {
4738
+ "description": "Salesforce error details."
4739
+ },
4740
+ "description": "Errors returned by Salesforce."
4741
+ }
4742
+ },
4743
+ "additionalProperties": true,
4744
+ "required": [
4745
+ "success"
4746
+ ],
4747
+ "description": "Result of a successful record mutation."
4748
+ }
4749
+ },
4750
+ {
4751
+ "id": "salesforce.upsert_record",
4752
+ "service": "salesforce",
4753
+ "name": "upsert_record",
4754
+ "description": "Create or update one Salesforce record by an external ID field. Use updateOnly to prevent creation.",
4755
+ "operationType": "write",
4756
+ "requiredScopes": [
4757
+ "api"
4758
+ ],
4759
+ "providerPermissions": [],
4760
+ "inputSchema": {
4761
+ "type": "object",
4762
+ "properties": {
4763
+ "apiVersion": {
4764
+ "type": "string",
4765
+ "description": "Salesforce REST API version supported by your organization.",
4766
+ "default": "66.0",
4767
+ "pattern": "^[0-9]+\\.[0-9]+$"
4768
+ },
4769
+ "objectName": {
4770
+ "type": "string",
4771
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
4772
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
4773
+ },
4774
+ "externalIdField": {
4775
+ "type": "string",
4776
+ "description": "External ID field API name.",
4777
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
4778
+ },
4779
+ "externalId": {
4780
+ "type": "string",
4781
+ "minLength": 1,
4782
+ "description": "External ID value to match."
4783
+ },
4784
+ "fields": {
4785
+ "type": "object",
4786
+ "properties": {},
4787
+ "additionalProperties": true,
4788
+ "description": "Field API names and JSON values to write. Use describe_object to discover writable fields; null clears a field."
4789
+ },
4790
+ "updateOnly": {
4791
+ "type": "boolean",
4792
+ "description": "Fail if no matching record exists instead of inserting a record (API 61.0 or later)."
4793
+ }
4794
+ },
4795
+ "additionalProperties": false,
4796
+ "required": [
4797
+ "objectName",
4798
+ "externalIdField",
4799
+ "externalId",
4800
+ "fields"
4801
+ ],
4802
+ "description": "Action input."
4803
+ },
4804
+ "outputSchema": {
4805
+ "type": "object",
4806
+ "properties": {
4807
+ "id": {
4808
+ "type": "string",
4809
+ "description": "ID of the affected record, when returned by Salesforce."
4810
+ },
4811
+ "success": {
4812
+ "type": "boolean",
4813
+ "description": "Whether the mutation succeeded."
4814
+ },
4815
+ "created": {
4816
+ "type": "boolean",
4817
+ "description": "Whether an upsert created a new record."
4818
+ },
4819
+ "errors": {
4820
+ "type": "array",
4821
+ "items": {
4822
+ "description": "Salesforce error details."
4823
+ },
4824
+ "description": "Errors returned by Salesforce."
4825
+ }
4826
+ },
4827
+ "additionalProperties": true,
4828
+ "required": [
4829
+ "success"
4830
+ ],
4831
+ "description": "Result of a successful record mutation."
4832
+ }
4833
+ },
4834
+ {
4835
+ "id": "salesforce.upsert_records",
4836
+ "service": "salesforce",
4837
+ "name": "upsert_records",
4838
+ "description": "Upsert up to 200 records of one object using an external ID field.",
4839
+ "operationType": "write",
4840
+ "requiredScopes": [
4841
+ "api"
4842
+ ],
4843
+ "providerPermissions": [],
4844
+ "inputSchema": {
4845
+ "type": "object",
4846
+ "properties": {
4847
+ "apiVersion": {
4848
+ "type": "string",
4849
+ "description": "Salesforce REST API version supported by your organization.",
4850
+ "default": "66.0",
4851
+ "pattern": "^[0-9]+\\.[0-9]+$"
4852
+ },
4853
+ "objectName": {
4854
+ "type": "string",
4855
+ "description": "Standard or custom sObject API name, for example Account or Invoice__c.",
4856
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
4857
+ },
4858
+ "externalIdField": {
4859
+ "type": "string",
4860
+ "description": "External ID field API name.",
4861
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
4862
+ },
4863
+ "records": {
4864
+ "type": "array",
4865
+ "items": {
4866
+ "type": "object",
4867
+ "properties": {},
4868
+ "additionalProperties": true,
4869
+ "description": "Field API names and JSON values to write. Use describe_object to discover writable fields; null clears a field."
4870
+ },
4871
+ "description": "Field maps, each containing the external ID field; do not include Id or attributes.",
4872
+ "minItems": 1,
4873
+ "maxItems": 200
4874
+ },
4875
+ "allOrNone": {
4876
+ "type": "boolean",
4877
+ "description": "Roll back the entire collection if any item fails. Defaults to false."
4878
+ }
4879
+ },
4880
+ "additionalProperties": false,
4881
+ "required": [
4882
+ "objectName",
4883
+ "externalIdField",
4884
+ "records"
4885
+ ],
4886
+ "description": "Action input."
4887
+ },
4888
+ "outputSchema": {
4889
+ "type": "object",
4890
+ "properties": {
4891
+ "results": {
4892
+ "type": "array",
4893
+ "items": {
4894
+ "description": "Upstream item result."
4895
+ },
4896
+ "description": "One result per item; inspect individual success flags."
4897
+ }
4898
+ },
4899
+ "additionalProperties": false,
4900
+ "required": [
4901
+ "results"
4902
+ ],
4903
+ "description": "Ordered upstream results; individual items can contain errors or null."
4904
+ }
4905
+ }
4906
+ ]
4907
+ }