@apteva/integrations 0.2.3 → 0.3.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 (236) hide show
  1. package/package.json +1 -1
  2. package/src/apps/activecampaign.json +209 -0
  3. package/src/apps/activecollab.json +417 -0
  4. package/src/apps/airtable.json +235 -0
  5. package/src/apps/alpaca-trading.json +1554 -0
  6. package/src/apps/amadeus.json +225 -0
  7. package/src/apps/anthropic-api.json +96 -0
  8. package/src/apps/apify.json +203 -0
  9. package/src/apps/apollo.json +748 -0
  10. package/src/apps/apple-podcasts.json +116 -0
  11. package/src/apps/archive-api.json +104 -0
  12. package/src/apps/archive.json +151 -0
  13. package/src/apps/arduino-cloud.json +301 -0
  14. package/src/apps/arest.json +492 -0
  15. package/src/apps/asana.json +184 -0
  16. package/src/apps/ashby.json +176 -0
  17. package/src/apps/assemblyai.json +163 -0
  18. package/src/apps/attio.json +243 -0
  19. package/src/apps/aws-cloudfront.json +132 -0
  20. package/src/apps/aws-dynamodb.json +295 -0
  21. package/src/apps/aws-ec2.json +184 -0
  22. package/src/apps/aws-lambda.json +361 -0
  23. package/src/apps/aws-route53.json +110 -0
  24. package/src/apps/aws-s3.json +303 -0
  25. package/src/apps/aws-ses.json +556 -0
  26. package/src/apps/aws-sns.json +217 -0
  27. package/src/apps/aws-sqs.json +234 -0
  28. package/src/apps/axiom.json +123 -0
  29. package/src/apps/beehiiv.json +252 -0
  30. package/src/apps/binance-trading.json +555 -0
  31. package/src/apps/bitly.json +175 -0
  32. package/src/apps/bloobirds.json +246 -0
  33. package/src/apps/bluesky.json +201 -0
  34. package/src/apps/blynk.json +316 -0
  35. package/src/apps/booking-com.json +144 -0
  36. package/src/apps/box.json +289 -0
  37. package/src/apps/brevo.json +1423 -0
  38. package/src/apps/browse-ai.json +148 -0
  39. package/src/apps/bunny-cdn.json +330 -0
  40. package/src/apps/bunny-stream.json +387 -0
  41. package/src/apps/cal-com.json +240 -0
  42. package/src/apps/calendly.json +578 -0
  43. package/src/apps/calflow-calendar.json +706 -0
  44. package/src/apps/callrail.json +190 -0
  45. package/src/apps/canva.json +197 -0
  46. package/src/apps/cartesia.json +201 -0
  47. package/src/apps/castbase.json +753 -0
  48. package/src/apps/chargebee.json +226 -0
  49. package/src/apps/cleanster.json +359 -0
  50. package/src/apps/clicksend.json +278 -0
  51. package/src/apps/clickup.json +266 -0
  52. package/src/apps/clipkit.json +517 -0
  53. package/src/apps/close.json +359 -0
  54. package/src/apps/cloudflare.json +329 -0
  55. package/src/apps/cloudinary.json +164 -0
  56. package/src/apps/coda.json +288 -0
  57. package/src/apps/cohere.json +158 -0
  58. package/src/apps/coinbase.json +268 -0
  59. package/src/apps/composio.json +146 -0
  60. package/src/apps/confluence.json +270 -0
  61. package/src/apps/consensus.json +879 -0
  62. package/src/apps/contabo.json +733 -0
  63. package/src/apps/convertkit.json +211 -0
  64. package/src/apps/core-image.json +426 -0
  65. package/src/apps/core-video.json +1246 -0
  66. package/src/apps/craftcloud.json +298 -0
  67. package/src/apps/datadog.json +401 -0
  68. package/src/apps/dataforseo.json +1273 -0
  69. package/src/apps/deepseek.json +150 -0
  70. package/src/apps/dialpad.json +229 -0
  71. package/src/apps/discord.json +239 -0
  72. package/src/apps/dnsimple.json +405 -0
  73. package/src/apps/docusign.json +214 -0
  74. package/src/apps/docx.json +282 -0
  75. package/src/apps/dropbox.json +185 -0
  76. package/src/apps/duffel.json +231 -0
  77. package/src/apps/dux-soup.json +694 -0
  78. package/src/apps/dynadot.json +250 -0
  79. package/src/apps/elevenlabs.json +327 -0
  80. package/src/apps/eventbrite-events.json +598 -0
  81. package/src/apps/facebook-ads.json +1399 -0
  82. package/src/apps/facebook-api.json +282 -0
  83. package/src/apps/fal-ai.json +400 -0
  84. package/src/apps/fathom.json +86 -0
  85. package/src/apps/figma.json +162 -0
  86. package/src/apps/filestack.json +159 -0
  87. package/src/apps/firebase.json +271 -0
  88. package/src/apps/firecrawl.json +278 -0
  89. package/src/apps/folk.json +564 -0
  90. package/src/apps/forecast-app.json +377 -0
  91. package/src/apps/freshdesk.json +283 -0
  92. package/src/apps/gemini.json +528 -0
  93. package/src/apps/ghost.json +439 -0
  94. package/src/apps/gigs-marketplace.json +1442 -0
  95. package/src/apps/github.json +1479 -47
  96. package/src/apps/gitlab.json +448 -0
  97. package/src/apps/gmail.json +839 -28
  98. package/src/apps/gohighlevel.json +596 -0
  99. package/src/apps/google-ads.json +270 -0
  100. package/src/apps/google-calendar.json +996 -36
  101. package/src/apps/google-docs.json +278 -0
  102. package/src/apps/google-drive.json +360 -0
  103. package/src/apps/google-maps.json +473 -0
  104. package/src/apps/google-sheets.json +330 -0
  105. package/src/apps/gooten.json +411 -0
  106. package/src/apps/gravity-forms.json +385 -0
  107. package/src/apps/gusto.json +171 -0
  108. package/src/apps/hackernews.json +221 -0
  109. package/src/apps/harmonic.json +86 -0
  110. package/src/apps/helpscout.json +664 -0
  111. package/src/apps/hetzner.json +658 -0
  112. package/src/apps/heygen.json +184 -0
  113. package/src/apps/heyreach.json +388 -0
  114. package/src/apps/hospitable.json +340 -0
  115. package/src/apps/hostinger.json +374 -0
  116. package/src/apps/hubspot.json +682 -0
  117. package/src/apps/huggingface.json +97 -0
  118. package/src/apps/hunter.json +504 -0
  119. package/src/apps/ig-trading.json +849 -0
  120. package/src/apps/imaterialise.json +349 -0
  121. package/src/apps/instagram-api.json +538 -0
  122. package/src/apps/intercom.json +648 -0
  123. package/src/apps/jira.json +226 -0
  124. package/src/apps/klaviyo.json +199 -0
  125. package/src/apps/kling-ai.json +206 -0
  126. package/src/apps/kraken.json +870 -0
  127. package/src/apps/late.json +1056 -0
  128. package/src/apps/leadpages.json +243 -0
  129. package/src/apps/learning-platform.json +2244 -0
  130. package/src/apps/linear.json +184 -57
  131. package/src/apps/linkedin.json +179 -0
  132. package/src/apps/listen-notes.json +136 -0
  133. package/src/apps/lnk-bio.json +125 -0
  134. package/src/apps/loom.json +188 -0
  135. package/src/apps/luma.json +280 -0
  136. package/src/apps/mailchimp.json +238 -0
  137. package/src/apps/mailgun.json +310 -0
  138. package/src/apps/manychat.json +312 -0
  139. package/src/apps/marin-software.json +843 -0
  140. package/src/apps/media-downloader.json +157 -0
  141. package/src/apps/meetup-events.json +361 -0
  142. package/src/apps/meshy.json +248 -0
  143. package/src/apps/microsoft-teams.json +162 -0
  144. package/src/apps/monday.json +213 -0
  145. package/src/apps/mongodb-atlas.json +467 -0
  146. package/src/apps/namecheap.json +252 -0
  147. package/src/apps/nexar.json +289 -0
  148. package/src/apps/notion.json +530 -50
  149. package/src/apps/omnikit-analytics.json +374 -0
  150. package/src/apps/omnikit-api-gateway.json +660 -0
  151. package/src/apps/omnikit-billing.json +1781 -0
  152. package/src/apps/omnikit-cms.json +899 -0
  153. package/src/apps/omnikit-functions.json +329 -0
  154. package/src/apps/omnikit-intelligence.json +650 -0
  155. package/src/apps/omnikit-management.json +214 -0
  156. package/src/apps/omnikit-media.json +646 -0
  157. package/src/apps/omnikit-messaging.json +1826 -0
  158. package/src/apps/omnikit-redirects.json +209 -0
  159. package/src/apps/omnikit-webhooks.json +269 -0
  160. package/src/apps/omnikit-workflows.json +323 -0
  161. package/src/apps/openai-api.json +462 -0
  162. package/src/apps/openmeteo-weather.json +75 -0
  163. package/src/apps/optinmonster.json +244 -0
  164. package/src/apps/paidkit.json +1218 -0
  165. package/src/apps/paypal.json +254 -0
  166. package/src/apps/pdf.json +366 -0
  167. package/src/apps/pipedrive.json +255 -0
  168. package/src/apps/polymarket.json +653 -0
  169. package/src/apps/porkbun.json +417 -0
  170. package/src/apps/portfolio.json +501 -0
  171. package/src/apps/postmark.json +257 -0
  172. package/src/apps/printful.json +273 -0
  173. package/src/apps/printify.json +295 -0
  174. package/src/apps/producthunt.json +346 -0
  175. package/src/apps/pushover-notifications.json +113 -0
  176. package/src/apps/qonto.json +366 -0
  177. package/src/apps/quickbooks.json +234 -0
  178. package/src/apps/replicate.json +106 -0
  179. package/src/apps/rss.json +281 -0
  180. package/src/apps/salesflow.json +538 -0
  181. package/src/apps/salesforce-crm.json +216 -0
  182. package/src/apps/sap.json +256 -0
  183. package/src/apps/scaleway.json +911 -0
  184. package/src/apps/sculpteo.json +234 -0
  185. package/src/apps/sendgrid-email.json +233 -0
  186. package/src/apps/sendgrid.json +160 -35
  187. package/src/apps/shapeways.json +188 -0
  188. package/src/apps/shopify.json +1217 -0
  189. package/src/apps/skai.json +779 -0
  190. package/src/apps/slack.json +228 -38
  191. package/src/apps/slant3d.json +231 -0
  192. package/src/apps/slides.json +760 -0
  193. package/src/apps/smartly.json +504 -0
  194. package/src/apps/snov.json +467 -0
  195. package/src/apps/socialcast.json +553 -63
  196. package/src/apps/square.json +274 -0
  197. package/src/apps/storage-management.json +788 -0
  198. package/src/apps/storylane.json +180 -0
  199. package/src/apps/strapi.json +338 -0
  200. package/src/apps/stripe-payments.json +847 -0
  201. package/src/apps/stripe.json +472 -35
  202. package/src/apps/supabase.json +169 -0
  203. package/src/apps/supademo.json +115 -0
  204. package/src/apps/taskflow.json +714 -0
  205. package/src/apps/teamwork.json +457 -0
  206. package/src/apps/telegram.json +444 -0
  207. package/src/apps/thinger.json +458 -0
  208. package/src/apps/ticktick.json +169 -0
  209. package/src/apps/tiktok-api.json +406 -0
  210. package/src/apps/todoist.json +151 -0
  211. package/src/apps/together.json +123 -0
  212. package/src/apps/torrent.json +267 -0
  213. package/src/apps/trading.json +1012 -0
  214. package/src/apps/trading212.json +383 -0
  215. package/src/apps/trello.json +205 -0
  216. package/src/apps/tripo.json +157 -0
  217. package/src/apps/twilio.json +1008 -0
  218. package/src/apps/twitter-ads.json +875 -0
  219. package/src/apps/twitter-api.json +1151 -0
  220. package/src/apps/twitterapiio.json +548 -0
  221. package/src/apps/typeform.json +210 -0
  222. package/src/apps/vidforge.json +1020 -0
  223. package/src/apps/vonage.json +394 -0
  224. package/src/apps/vultr.json +225 -0
  225. package/src/apps/webflow.json +223 -0
  226. package/src/apps/wise.json +273 -0
  227. package/src/apps/wistia.json +283 -0
  228. package/src/apps/woocommerce.json +288 -0
  229. package/src/apps/wordpress.json +1675 -0
  230. package/src/apps/xero.json +257 -0
  231. package/src/apps/youtube-api.json +861 -0
  232. package/src/apps/zendesk.json +295 -0
  233. package/src/apps/zite.json +173 -0
  234. package/src/apps/zoho-crm.json +386 -0
  235. package/src/apps/zoo.json +193 -0
  236. package/src/apps/zoom.json +334 -0
@@ -0,0 +1,254 @@
1
+ {
2
+ "slug": "paypal",
3
+ "name": "PayPal",
4
+ "description": "MCP server for PayPal operations - orders, payments, transactions, payouts, and subscriptions",
5
+ "logo": "https://www.google.com/s2/favicons?domain=paypal.com&sz=128",
6
+ "categories": [
7
+ "payments",
8
+ "paypal",
9
+ "checkout",
10
+ "transactions",
11
+ "commerce"
12
+ ],
13
+ "base_url": "https://api-m.paypal.com",
14
+ "auth": {
15
+ "types": [
16
+ "bearer"
17
+ ],
18
+ "headers": {
19
+ "Authorization": "Bearer {{token}}"
20
+ },
21
+ "credential_fields": [
22
+ {
23
+ "name": "token",
24
+ "label": "API Key"
25
+ }
26
+ ]
27
+ },
28
+ "tools": [
29
+ {
30
+ "name": "create_order",
31
+ "description": "Create a PayPal order",
32
+ "method": "POST",
33
+ "path": "/create-order",
34
+ "input_schema": {
35
+ "type": "object",
36
+ "properties": {
37
+ "intent": {
38
+ "type": "string",
39
+ "description": "Order intent (CAPTURE or AUTHORIZE)",
40
+ "default": "CAPTURE"
41
+ },
42
+ "purchase_units": {
43
+ "type": "array",
44
+ "description": "Purchase units with amounts"
45
+ },
46
+ "application_context": {
47
+ "type": "object",
48
+ "description": "Application context for checkout"
49
+ },
50
+ "sandbox": {
51
+ "type": "boolean",
52
+ "description": "Use sandbox environment",
53
+ "default": false
54
+ }
55
+ },
56
+ "required": [
57
+ "purchase_units"
58
+ ]
59
+ }
60
+ },
61
+ {
62
+ "name": "capture_order",
63
+ "description": "Capture payment for an order",
64
+ "method": "GET",
65
+ "path": "/capture-order",
66
+ "input_schema": {
67
+ "type": "object",
68
+ "properties": {
69
+ "order_id": {
70
+ "type": "string",
71
+ "description": "ID of the order to capture"
72
+ },
73
+ "sandbox": {
74
+ "type": "boolean",
75
+ "description": "Use sandbox environment",
76
+ "default": false
77
+ }
78
+ },
79
+ "required": [
80
+ "order_id"
81
+ ]
82
+ }
83
+ },
84
+ {
85
+ "name": "get_order",
86
+ "description": "Get order details",
87
+ "method": "GET",
88
+ "path": "/get-order",
89
+ "input_schema": {
90
+ "type": "object",
91
+ "properties": {
92
+ "order_id": {
93
+ "type": "string",
94
+ "description": "ID of the order"
95
+ },
96
+ "sandbox": {
97
+ "type": "boolean",
98
+ "description": "Use sandbox environment",
99
+ "default": false
100
+ }
101
+ },
102
+ "required": [
103
+ "order_id"
104
+ ]
105
+ }
106
+ },
107
+ {
108
+ "name": "list_transactions",
109
+ "description": "List transactions within a date range",
110
+ "method": "GET",
111
+ "path": "/list-transactions",
112
+ "input_schema": {
113
+ "type": "object",
114
+ "properties": {
115
+ "start_date": {
116
+ "type": "string",
117
+ "description": "Start date (ISO 8601)"
118
+ },
119
+ "end_date": {
120
+ "type": "string",
121
+ "description": "End date (ISO 8601)"
122
+ },
123
+ "transaction_id": {
124
+ "type": "string",
125
+ "description": "Filter by transaction ID"
126
+ },
127
+ "transaction_type": {
128
+ "type": "string",
129
+ "description": "Filter by type"
130
+ },
131
+ "transaction_status": {
132
+ "type": "string",
133
+ "description": "Filter by status"
134
+ },
135
+ "page_size": {
136
+ "type": "number",
137
+ "description": "Results per page",
138
+ "default": 100
139
+ },
140
+ "page": {
141
+ "type": "number",
142
+ "description": "Page number",
143
+ "default": 1
144
+ },
145
+ "sandbox": {
146
+ "type": "boolean",
147
+ "description": "Use sandbox environment",
148
+ "default": false
149
+ }
150
+ },
151
+ "required": [
152
+ "start_date",
153
+ "end_date"
154
+ ]
155
+ }
156
+ },
157
+ {
158
+ "name": "create_payout",
159
+ "description": "Create a batch payout",
160
+ "method": "POST",
161
+ "path": "/create-payout",
162
+ "input_schema": {
163
+ "type": "object",
164
+ "properties": {
165
+ "sender_batch_header": {
166
+ "type": "object",
167
+ "description": "Batch header information"
168
+ },
169
+ "items": {
170
+ "type": "array",
171
+ "description": "Payout items"
172
+ },
173
+ "sandbox": {
174
+ "type": "boolean",
175
+ "description": "Use sandbox environment",
176
+ "default": false
177
+ }
178
+ },
179
+ "required": [
180
+ "sender_batch_header",
181
+ "items"
182
+ ]
183
+ }
184
+ },
185
+ {
186
+ "name": "get_payout",
187
+ "description": "Get payout batch details",
188
+ "method": "GET",
189
+ "path": "/get-payout",
190
+ "input_schema": {
191
+ "type": "object",
192
+ "properties": {
193
+ "payout_batch_id": {
194
+ "type": "string",
195
+ "description": "ID of the payout batch"
196
+ },
197
+ "page": {
198
+ "type": "number",
199
+ "description": "Page number",
200
+ "default": 1
201
+ },
202
+ "page_size": {
203
+ "type": "number",
204
+ "description": "Results per page",
205
+ "default": 100
206
+ },
207
+ "sandbox": {
208
+ "type": "boolean",
209
+ "description": "Use sandbox environment",
210
+ "default": false
211
+ }
212
+ },
213
+ "required": [
214
+ "payout_batch_id"
215
+ ]
216
+ }
217
+ },
218
+ {
219
+ "name": "list_subscriptions",
220
+ "description": "List subscriptions for a plan",
221
+ "method": "GET",
222
+ "path": "/list-subscriptions",
223
+ "input_schema": {
224
+ "type": "object",
225
+ "properties": {
226
+ "plan_id": {
227
+ "type": "string",
228
+ "description": "ID of the subscription plan"
229
+ },
230
+ "status": {
231
+ "type": "string",
232
+ "description": "Filter by status"
233
+ },
234
+ "start_time": {
235
+ "type": "string",
236
+ "description": "Start time filter"
237
+ },
238
+ "end_time": {
239
+ "type": "string",
240
+ "description": "End time filter"
241
+ },
242
+ "sandbox": {
243
+ "type": "boolean",
244
+ "description": "Use sandbox environment",
245
+ "default": false
246
+ }
247
+ },
248
+ "required": [
249
+ "plan_id"
250
+ ]
251
+ }
252
+ }
253
+ ]
254
+ }
@@ -0,0 +1,366 @@
1
+ {
2
+ "slug": "pdf",
3
+ "name": "PDF Tools",
4
+ "description": "PDF manipulation tools - edit PDFs, fill forms, add text/images, merge, generate from templates, and more",
5
+ "logo": "https://www.google.com/s2/favicons?domain=adobe.com&sz=128",
6
+ "categories": [
7
+ "pdf",
8
+ "documents",
9
+ "forms",
10
+ "editing",
11
+ "generation"
12
+ ],
13
+ "base_url": "",
14
+ "auth": {
15
+ "types": [
16
+ "bearer"
17
+ ],
18
+ "headers": {
19
+ "Authorization": "Bearer {{token}}"
20
+ },
21
+ "credential_fields": [
22
+ {
23
+ "name": "token",
24
+ "label": "API Key"
25
+ }
26
+ ]
27
+ },
28
+ "tools": [
29
+ {
30
+ "name": "edit",
31
+ "description": "Edit PDF documents - fill forms, add text, add images/signatures, rotate pages, delete pages, merge pages from other PDFs",
32
+ "method": "PUT",
33
+ "path": "/edit",
34
+ "input_schema": {
35
+ "type": "object",
36
+ "properties": {
37
+ "file_url": {
38
+ "type": "string",
39
+ "description": "URL of the PDF file to edit"
40
+ },
41
+ "file_data": {
42
+ "type": "string",
43
+ "description": "Base64 encoded PDF data (alternative to file_url)"
44
+ },
45
+ "operations": {
46
+ "type": "array",
47
+ "description": "Array of operations to perform",
48
+ "items": {
49
+ "type": "object",
50
+ "properties": {
51
+ "type": {
52
+ "type": "string",
53
+ "enum": [
54
+ "fill_fields",
55
+ "add_text",
56
+ "add_image",
57
+ "rotate_pages",
58
+ "delete_pages",
59
+ "add_pages"
60
+ ],
61
+ "description": "Operation type"
62
+ },
63
+ "fields": {
64
+ "type": "object",
65
+ "description": "For fill_fields: field name to value mapping"
66
+ },
67
+ "page": {
68
+ "type": [
69
+ "integer",
70
+ "string",
71
+ "array"
72
+ ],
73
+ "description": "Page number(s) or 'all'"
74
+ },
75
+ "x": {
76
+ "type": "number",
77
+ "description": "X position"
78
+ },
79
+ "y": {
80
+ "type": "number",
81
+ "description": "Y position"
82
+ },
83
+ "text": {
84
+ "type": "string",
85
+ "description": "Text to add"
86
+ },
87
+ "url": {
88
+ "type": "string",
89
+ "description": "Image URL"
90
+ },
91
+ "width": {
92
+ "type": "number",
93
+ "description": "Width"
94
+ },
95
+ "height": {
96
+ "type": "number",
97
+ "description": "Height"
98
+ },
99
+ "fontSize": {
100
+ "type": "number",
101
+ "description": "Font size"
102
+ },
103
+ "color": {
104
+ "type": "string",
105
+ "description": "Color in hex format"
106
+ },
107
+ "opacity": {
108
+ "type": "number",
109
+ "description": "Opacity 0-1"
110
+ },
111
+ "rotation": {
112
+ "type": "number",
113
+ "description": "Rotation in degrees"
114
+ },
115
+ "pages": {
116
+ "type": "array",
117
+ "description": "Page numbers for rotate/delete"
118
+ }
119
+ }
120
+ }
121
+ },
122
+ "flatten": {
123
+ "type": "boolean",
124
+ "description": "Flatten form fields after filling",
125
+ "default": false
126
+ },
127
+ "output_name": {
128
+ "type": "string",
129
+ "description": "Output filename",
130
+ "default": "edited.pdf"
131
+ },
132
+ "project_id": {
133
+ "type": "integer",
134
+ "description": "Project ID for storage"
135
+ }
136
+ },
137
+ "required": [
138
+ "operations"
139
+ ]
140
+ }
141
+ },
142
+ {
143
+ "name": "fill_form",
144
+ "description": "Fill form fields in a PDF document. Can also list available form fields.",
145
+ "method": "GET",
146
+ "path": "/fill-form",
147
+ "input_schema": {
148
+ "type": "object",
149
+ "properties": {
150
+ "file_url": {
151
+ "type": "string",
152
+ "description": "URL of the PDF form to fill"
153
+ },
154
+ "file_data": {
155
+ "type": "string",
156
+ "description": "Base64 encoded PDF data (alternative to file_url)"
157
+ },
158
+ "fields": {
159
+ "type": "object",
160
+ "description": "Object mapping field names to values"
161
+ },
162
+ "flatten": {
163
+ "type": "boolean",
164
+ "description": "Flatten form fields after filling (makes non-editable)",
165
+ "default": true
166
+ },
167
+ "list_fields": {
168
+ "type": "boolean",
169
+ "description": "If true, returns list of available form fields instead of filling",
170
+ "default": false
171
+ },
172
+ "output_name": {
173
+ "type": "string",
174
+ "description": "Output filename",
175
+ "default": "filled-form.pdf"
176
+ },
177
+ "project_id": {
178
+ "type": "integer",
179
+ "description": "Project ID for storage"
180
+ }
181
+ }
182
+ }
183
+ },
184
+ {
185
+ "name": "merge",
186
+ "description": "Merge multiple PDF documents into a single PDF",
187
+ "method": "GET",
188
+ "path": "/merge",
189
+ "input_schema": {
190
+ "type": "object",
191
+ "properties": {
192
+ "files": {
193
+ "type": "array",
194
+ "description": "Array of PDF files to merge (URLs or base64 data)",
195
+ "items": {
196
+ "type": "object",
197
+ "properties": {
198
+ "url": {
199
+ "type": "string",
200
+ "description": "PDF URL"
201
+ },
202
+ "data": {
203
+ "type": "string",
204
+ "description": "Base64 PDF data"
205
+ },
206
+ "pages": {
207
+ "type": "array",
208
+ "description": "Specific pages to include"
209
+ }
210
+ }
211
+ }
212
+ },
213
+ "output_name": {
214
+ "type": "string",
215
+ "description": "Output filename",
216
+ "default": "merged.pdf"
217
+ },
218
+ "project_id": {
219
+ "type": "integer",
220
+ "description": "Project ID for storage"
221
+ }
222
+ },
223
+ "required": [
224
+ "files"
225
+ ]
226
+ }
227
+ },
228
+ {
229
+ "name": "add_watermark",
230
+ "description": "Add a text or image watermark to PDF pages",
231
+ "method": "GET",
232
+ "path": "/add-watermark",
233
+ "input_schema": {
234
+ "type": "object",
235
+ "properties": {
236
+ "file_url": {
237
+ "type": "string",
238
+ "description": "URL of the PDF"
239
+ },
240
+ "file_data": {
241
+ "type": "string",
242
+ "description": "Base64 encoded PDF data"
243
+ },
244
+ "text": {
245
+ "type": "string",
246
+ "description": "Watermark text"
247
+ },
248
+ "image_url": {
249
+ "type": "string",
250
+ "description": "Watermark image URL"
251
+ },
252
+ "opacity": {
253
+ "type": "number",
254
+ "description": "Watermark opacity 0-1",
255
+ "default": 0.3
256
+ },
257
+ "rotation": {
258
+ "type": "number",
259
+ "description": "Rotation in degrees",
260
+ "default": 45
261
+ },
262
+ "pages": {
263
+ "type": [
264
+ "string",
265
+ "array"
266
+ ],
267
+ "description": "Pages to watermark ('all' or array of page numbers)",
268
+ "default": "all"
269
+ },
270
+ "project_id": {
271
+ "type": "integer",
272
+ "description": "Project ID for storage"
273
+ }
274
+ }
275
+ }
276
+ },
277
+ {
278
+ "name": "generate",
279
+ "description": "Generate a PDF from a template with dynamic data",
280
+ "method": "GET",
281
+ "path": "/generate",
282
+ "input_schema": {
283
+ "type": "object",
284
+ "properties": {
285
+ "project_id": {
286
+ "type": "integer",
287
+ "description": "Project ID",
288
+ "required": true
289
+ },
290
+ "template_id": {
291
+ "type": "integer",
292
+ "description": "Template ID to use"
293
+ },
294
+ "template_slug": {
295
+ "type": "string",
296
+ "description": "Template slug (alternative to template_id)"
297
+ },
298
+ "data": {
299
+ "type": "object",
300
+ "description": "Data to populate the template",
301
+ "required": true
302
+ },
303
+ "output_name": {
304
+ "type": "string",
305
+ "description": "Output filename",
306
+ "default": "document.pdf"
307
+ }
308
+ },
309
+ "required": [
310
+ "project_id",
311
+ "data"
312
+ ]
313
+ }
314
+ },
315
+ {
316
+ "name": "generate_html",
317
+ "description": "Generate a PDF from HTML content",
318
+ "method": "GET",
319
+ "path": "/generate-html",
320
+ "input_schema": {
321
+ "type": "object",
322
+ "properties": {
323
+ "html": {
324
+ "type": "string",
325
+ "description": "HTML content to convert to PDF",
326
+ "required": true
327
+ },
328
+ "options": {
329
+ "type": "object",
330
+ "description": "PDF generation options",
331
+ "properties": {
332
+ "format": {
333
+ "type": "string",
334
+ "enum": [
335
+ "A4",
336
+ "Letter",
337
+ "Legal"
338
+ ],
339
+ "default": "A4"
340
+ },
341
+ "landscape": {
342
+ "type": "boolean",
343
+ "default": false
344
+ },
345
+ "margin": {
346
+ "type": "object"
347
+ }
348
+ }
349
+ },
350
+ "output_name": {
351
+ "type": "string",
352
+ "description": "Output filename",
353
+ "default": "document.pdf"
354
+ },
355
+ "project_id": {
356
+ "type": "integer",
357
+ "description": "Project ID for storage"
358
+ }
359
+ },
360
+ "required": [
361
+ "html"
362
+ ]
363
+ }
364
+ }
365
+ ]
366
+ }