ebay-mcp 1.4.3

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 (205) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +586 -0
  3. package/build/api/account-management/account.d.ts +216 -0
  4. package/build/api/account-management/account.js +305 -0
  5. package/build/api/analytics-and-report/analytics.d.ts +33 -0
  6. package/build/api/analytics-and-report/analytics.js +102 -0
  7. package/build/api/client.d.ts +89 -0
  8. package/build/api/client.js +343 -0
  9. package/build/api/communication/feedback.d.ts +45 -0
  10. package/build/api/communication/feedback.js +119 -0
  11. package/build/api/communication/message.d.ts +55 -0
  12. package/build/api/communication/message.js +131 -0
  13. package/build/api/communication/negotiation.d.ts +39 -0
  14. package/build/api/communication/negotiation.js +97 -0
  15. package/build/api/communication/notification.d.ts +128 -0
  16. package/build/api/communication/notification.js +373 -0
  17. package/build/api/index.d.ts +96 -0
  18. package/build/api/index.js +121 -0
  19. package/build/api/listing-management/inventory.d.ts +216 -0
  20. package/build/api/listing-management/inventory.js +633 -0
  21. package/build/api/listing-metadata/metadata.d.ts +154 -0
  22. package/build/api/listing-metadata/metadata.js +485 -0
  23. package/build/api/listing-metadata/taxonomy.d.ts +38 -0
  24. package/build/api/listing-metadata/taxonomy.js +58 -0
  25. package/build/api/marketing-and-promotions/marketing.d.ts +395 -0
  26. package/build/api/marketing-and-promotions/marketing.js +565 -0
  27. package/build/api/marketing-and-promotions/recommendation.d.ts +20 -0
  28. package/build/api/marketing-and-promotions/recommendation.js +32 -0
  29. package/build/api/order-management/dispute.d.ts +65 -0
  30. package/build/api/order-management/dispute.js +69 -0
  31. package/build/api/order-management/fulfillment.d.ts +80 -0
  32. package/build/api/order-management/fulfillment.js +89 -0
  33. package/build/api/other/compliance.d.ts +26 -0
  34. package/build/api/other/compliance.js +47 -0
  35. package/build/api/other/edelivery.d.ts +153 -0
  36. package/build/api/other/edelivery.js +219 -0
  37. package/build/api/other/identity.d.ts +17 -0
  38. package/build/api/other/identity.js +24 -0
  39. package/build/api/other/translation.d.ts +14 -0
  40. package/build/api/other/translation.js +22 -0
  41. package/build/api/other/vero.d.ts +30 -0
  42. package/build/api/other/vero.js +48 -0
  43. package/build/auth/oauth-metadata.d.ts +46 -0
  44. package/build/auth/oauth-metadata.js +59 -0
  45. package/build/auth/oauth-middleware.d.ts +35 -0
  46. package/build/auth/oauth-middleware.js +99 -0
  47. package/build/auth/oauth-types.d.ts +66 -0
  48. package/build/auth/oauth-types.js +4 -0
  49. package/build/auth/oauth.d.ts +93 -0
  50. package/build/auth/oauth.js +383 -0
  51. package/build/auth/scope-utils.d.ts +70 -0
  52. package/build/auth/scope-utils.js +304 -0
  53. package/build/auth/token-verifier.d.ts +57 -0
  54. package/build/auth/token-verifier.js +172 -0
  55. package/build/config/environment.d.ts +61 -0
  56. package/build/config/environment.js +260 -0
  57. package/build/index.d.ts +1 -0
  58. package/build/index.js +98 -0
  59. package/build/schemas/account-management/account.d.ts +5324 -0
  60. package/build/schemas/account-management/account.js +366 -0
  61. package/build/schemas/analytics/analytics.d.ts +167 -0
  62. package/build/schemas/analytics/analytics.js +191 -0
  63. package/build/schemas/communication/messages.d.ts +1872 -0
  64. package/build/schemas/communication/messages.js +348 -0
  65. package/build/schemas/fulfillment/orders.d.ts +4655 -0
  66. package/build/schemas/fulfillment/orders.js +317 -0
  67. package/build/schemas/index.d.ts +2100 -0
  68. package/build/schemas/index.js +68 -0
  69. package/build/schemas/inventory-management/inventory.d.ts +6419 -0
  70. package/build/schemas/inventory-management/inventory.js +450 -0
  71. package/build/schemas/marketing/marketing.d.ts +14181 -0
  72. package/build/schemas/marketing/marketing.js +1088 -0
  73. package/build/schemas/metadata/metadata.d.ts +5259 -0
  74. package/build/schemas/metadata/metadata.js +614 -0
  75. package/build/schemas/other/other-apis.d.ts +257 -0
  76. package/build/schemas/other/other-apis.js +372 -0
  77. package/build/schemas/taxonomy/taxonomy.d.ts +215 -0
  78. package/build/schemas/taxonomy/taxonomy.js +571 -0
  79. package/build/scripts/auto-setup.d.ts +12 -0
  80. package/build/scripts/auto-setup.js +277 -0
  81. package/build/scripts/diagnostics.d.ts +8 -0
  82. package/build/scripts/diagnostics.js +299 -0
  83. package/build/scripts/download-specs.d.ts +1 -0
  84. package/build/scripts/download-specs.js +116 -0
  85. package/build/scripts/interactive-setup.d.ts +21 -0
  86. package/build/scripts/interactive-setup.js +723 -0
  87. package/build/server-http.d.ts +11 -0
  88. package/build/server-http.js +361 -0
  89. package/build/tools/definitions/account-with-schemas.d.ts +39 -0
  90. package/build/tools/definitions/account-with-schemas.js +170 -0
  91. package/build/tools/definitions/account.d.ts +12 -0
  92. package/build/tools/definitions/account.js +428 -0
  93. package/build/tools/definitions/analytics.d.ts +25 -0
  94. package/build/tools/definitions/analytics.js +66 -0
  95. package/build/tools/definitions/communication.d.ts +12 -0
  96. package/build/tools/definitions/communication.js +151 -0
  97. package/build/tools/definitions/fulfillment.d.ts +12 -0
  98. package/build/tools/definitions/fulfillment.js +326 -0
  99. package/build/tools/definitions/index.d.ts +25 -0
  100. package/build/tools/definitions/index.js +37 -0
  101. package/build/tools/definitions/inventory.d.ts +12 -0
  102. package/build/tools/definitions/inventory.js +429 -0
  103. package/build/tools/definitions/marketing.d.ts +12 -0
  104. package/build/tools/definitions/marketing.js +1095 -0
  105. package/build/tools/definitions/metadata.d.ts +12 -0
  106. package/build/tools/definitions/metadata.js +188 -0
  107. package/build/tools/definitions/other.d.ts +13 -0
  108. package/build/tools/definitions/other.js +309 -0
  109. package/build/tools/definitions/taxonomy.d.ts +25 -0
  110. package/build/tools/definitions/taxonomy.js +64 -0
  111. package/build/tools/definitions/token-management.d.ts +35 -0
  112. package/build/tools/definitions/token-management.js +103 -0
  113. package/build/tools/index.d.ts +11 -0
  114. package/build/tools/index.js +1003 -0
  115. package/build/tools/schemas.d.ts +14764 -0
  116. package/build/tools/schemas.js +667 -0
  117. package/build/tools/tool-definitions.d.ts +35 -0
  118. package/build/tools/tool-definitions.js +3534 -0
  119. package/build/types/application-settings/developerAnalyticsV1BetaOas3.d.ts +197 -0
  120. package/build/types/application-settings/developerAnalyticsV1BetaOas3.js +5 -0
  121. package/build/types/application-settings/developerClientRegistrationV1Oas3.d.ts +155 -0
  122. package/build/types/application-settings/developerClientRegistrationV1Oas3.js +5 -0
  123. package/build/types/application-settings/developerKeyManagementV1Oas3.d.ts +246 -0
  124. package/build/types/application-settings/developerKeyManagementV1Oas3.js +5 -0
  125. package/build/types/ebay-enums.d.ts +1204 -0
  126. package/build/types/ebay-enums.js +1330 -0
  127. package/build/types/ebay.d.ts +143 -0
  128. package/build/types/ebay.js +123 -0
  129. package/build/types/index.d.ts +6 -0
  130. package/build/types/index.js +10 -0
  131. package/build/types/sell-apps/account-management/sellAccountV1Oas3.d.ts +2579 -0
  132. package/build/types/sell-apps/account-management/sellAccountV1Oas3.js +5 -0
  133. package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.d.ts +446 -0
  134. package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.js +5 -0
  135. package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.d.ts +705 -0
  136. package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.js +5 -0
  137. package/build/types/sell-apps/communication/commerceMessageV1Oas3.d.ts +590 -0
  138. package/build/types/sell-apps/communication/commerceMessageV1Oas3.js +5 -0
  139. package/build/types/sell-apps/communication/commerceNotificationV1Oas3.d.ts +1276 -0
  140. package/build/types/sell-apps/communication/commerceNotificationV1Oas3.js +5 -0
  141. package/build/types/sell-apps/communication/sellNegotiationV1Oas3.d.ts +277 -0
  142. package/build/types/sell-apps/communication/sellNegotiationV1Oas3.js +5 -0
  143. package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.d.ts +3133 -0
  144. package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.js +5 -0
  145. package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.d.ts +2289 -0
  146. package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.js +5 -0
  147. package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.d.ts +6650 -0
  148. package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.js +5 -0
  149. package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.d.ts +172 -0
  150. package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.js +5 -0
  151. package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.d.ts +1869 -0
  152. package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.js +5 -0
  153. package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.d.ts +178 -0
  154. package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.js +5 -0
  155. package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.d.ts +128 -0
  156. package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.js +5 -0
  157. package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.d.ts +417 -0
  158. package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.js +5 -0
  159. package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.d.ts +273 -0
  160. package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.js +5 -0
  161. package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.d.ts +2537 -0
  162. package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.js +5 -0
  163. package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.d.ts +6650 -0
  164. package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.js +5 -0
  165. package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.d.ts +172 -0
  166. package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.js +5 -0
  167. package/build/utils/account-management/account.d.ts +1094 -0
  168. package/build/utils/account-management/account.js +831 -0
  169. package/build/utils/communication/feedback.d.ts +152 -0
  170. package/build/utils/communication/feedback.js +216 -0
  171. package/build/utils/communication/message.d.ts +174 -0
  172. package/build/utils/communication/message.js +242 -0
  173. package/build/utils/communication/negotiation.d.ts +123 -0
  174. package/build/utils/communication/negotiation.js +150 -0
  175. package/build/utils/communication/notification.d.ts +370 -0
  176. package/build/utils/communication/notification.js +369 -0
  177. package/build/utils/date-converter.d.ts +59 -0
  178. package/build/utils/date-converter.js +160 -0
  179. package/build/utils/llm-client-detector.d.ts +54 -0
  180. package/build/utils/llm-client-detector.js +318 -0
  181. package/build/utils/oauth-helper.d.ts +37 -0
  182. package/build/utils/oauth-helper.js +315 -0
  183. package/build/utils/order-management/dispute.d.ts +346 -0
  184. package/build/utils/order-management/dispute.js +369 -0
  185. package/build/utils/order-management/fulfillment.d.ts +200 -0
  186. package/build/utils/order-management/fulfillment.js +205 -0
  187. package/build/utils/other/compliance.d.ts +49 -0
  188. package/build/utils/other/compliance.js +76 -0
  189. package/build/utils/other/edelivery.d.ts +310 -0
  190. package/build/utils/other/edelivery.js +241 -0
  191. package/build/utils/other/identity.d.ts +13 -0
  192. package/build/utils/other/identity.js +13 -0
  193. package/build/utils/other/translation.d.ts +28 -0
  194. package/build/utils/other/translation.js +41 -0
  195. package/build/utils/other/vero.d.ts +61 -0
  196. package/build/utils/other/vero.js +90 -0
  197. package/build/utils/scope-helper.d.ts +49 -0
  198. package/build/utils/scope-helper.js +207 -0
  199. package/build/utils/security-checker.d.ts +46 -0
  200. package/build/utils/security-checker.js +248 -0
  201. package/build/utils/setup-validator.d.ts +25 -0
  202. package/build/utils/setup-validator.js +305 -0
  203. package/build/utils/token-utils.d.ts +40 -0
  204. package/build/utils/token-utils.js +40 -0
  205. package/package.json +115 -0
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ import { OutputArgs, ToolAnnotations } from '../tool-definitions.js';
3
+ export interface ToolDefinition {
4
+ name: string;
5
+ description: string;
6
+ inputSchema: Record<string, z.ZodTypeAny>;
7
+ title?: string;
8
+ outputSchema?: OutputArgs;
9
+ annotations?: ToolAnnotations;
10
+ _meta?: Record<string, unknown>;
11
+ }
12
+ export declare const metadataTools: ToolDefinition[];
@@ -0,0 +1,188 @@
1
+ import { MarketplaceId } from '../../types/ebay-enums.js';
2
+ import { z } from 'zod';
3
+ import { compatibilityDataSchema, compatibilitySpecificationSchema } from '../schemas.js';
4
+ export const metadataTools = [
5
+ {
6
+ name: 'ebay_get_automotive_parts_compatibility_policies',
7
+ description: 'Get automotive parts compatibility policies for a marketplace',
8
+ inputSchema: {
9
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
10
+ filter: z.string().optional().describe('Filter criteria'),
11
+ },
12
+ },
13
+ {
14
+ name: 'ebay_get_category_policies',
15
+ description: 'Get category policies for a marketplace',
16
+ inputSchema: {
17
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
18
+ filter: z.string().optional().describe('Filter criteria'),
19
+ },
20
+ },
21
+ {
22
+ name: 'ebay_get_extended_producer_responsibility_policies',
23
+ description: 'Get extended producer responsibility policies for a marketplace',
24
+ inputSchema: {
25
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
26
+ filter: z.string().optional().describe('Filter criteria'),
27
+ },
28
+ },
29
+ {
30
+ name: 'ebay_get_hazardous_materials_labels',
31
+ description: 'Get hazardous materials labels for a marketplace',
32
+ inputSchema: {
33
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
34
+ },
35
+ },
36
+ {
37
+ name: 'ebay_get_item_condition_policies',
38
+ description: 'Get item condition policies for a marketplace',
39
+ inputSchema: {
40
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
41
+ filter: z.string().optional().describe('Filter criteria'),
42
+ },
43
+ },
44
+ {
45
+ name: 'ebay_get_listing_structure_policies',
46
+ description: 'Get listing structure policies for a marketplace',
47
+ inputSchema: {
48
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
49
+ filter: z.string().optional().describe('Filter criteria'),
50
+ },
51
+ },
52
+ {
53
+ name: 'ebay_get_negotiated_price_policies',
54
+ description: 'Get negotiated price policies for a marketplace',
55
+ inputSchema: {
56
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
57
+ filter: z.string().optional().describe('Filter criteria'),
58
+ },
59
+ },
60
+ {
61
+ name: 'ebay_get_product_safety_labels',
62
+ description: 'Get product safety labels for a marketplace',
63
+ inputSchema: {
64
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
65
+ },
66
+ },
67
+ {
68
+ name: 'ebay_get_regulatory_policies',
69
+ description: 'Get regulatory policies for a marketplace',
70
+ inputSchema: {
71
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
72
+ filter: z.string().optional().describe('Filter criteria'),
73
+ },
74
+ },
75
+ {
76
+ name: 'ebay_get_return_policy_metadata',
77
+ description: 'Get marketplace return policy requirements and guidelines. Returns eBay policies that define whether return policies are required for categories and the guidelines for creating domestic and international return policies.',
78
+ inputSchema: {
79
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
80
+ filter: z
81
+ .string()
82
+ .optional()
83
+ .describe('Filter criteria to limit results to specific category IDs'),
84
+ },
85
+ },
86
+ {
87
+ name: 'ebay_get_shipping_cost_type_policies',
88
+ description: 'Get shipping cost type policies for a marketplace',
89
+ inputSchema: {
90
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
91
+ filter: z.string().optional().describe('Filter criteria'),
92
+ },
93
+ },
94
+ {
95
+ name: 'ebay_get_classified_ad_policies',
96
+ description: 'Get classified ad policies for a marketplace',
97
+ inputSchema: {
98
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
99
+ filter: z.string().optional().describe('Filter criteria'),
100
+ },
101
+ },
102
+ {
103
+ name: 'ebay_get_currencies',
104
+ description: 'Get currencies for a marketplace',
105
+ inputSchema: {
106
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
107
+ },
108
+ },
109
+ {
110
+ name: 'ebay_get_listing_type_policies',
111
+ description: 'Get listing type policies for a marketplace',
112
+ inputSchema: {
113
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
114
+ filter: z.string().optional().describe('Filter criteria'),
115
+ },
116
+ },
117
+ {
118
+ name: 'ebay_get_motors_listing_policies',
119
+ description: 'Get motors listing policies for a marketplace',
120
+ inputSchema: {
121
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
122
+ filter: z.string().optional().describe('Filter criteria'),
123
+ },
124
+ },
125
+ {
126
+ name: 'ebay_get_shipping_policies',
127
+ description: 'Get shipping policies for a marketplace',
128
+ inputSchema: {
129
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
130
+ filter: z.string().optional().describe('Filter criteria'),
131
+ },
132
+ },
133
+ {
134
+ name: 'ebay_get_site_visibility_policies',
135
+ description: 'Get site visibility policies for a marketplace',
136
+ inputSchema: {
137
+ marketplaceId: z.nativeEnum(MarketplaceId).describe('Marketplace ID'),
138
+ filter: z.string().optional().describe('Filter criteria'),
139
+ },
140
+ },
141
+ {
142
+ name: 'ebay_get_compatibilities_by_specification',
143
+ description: 'Get compatibilities by specification',
144
+ inputSchema: {
145
+ specification: compatibilitySpecificationSchema.describe('Compatibility specification object'),
146
+ },
147
+ },
148
+ {
149
+ name: 'ebay_get_compatibility_property_names',
150
+ description: 'Get compatibility property names',
151
+ inputSchema: {
152
+ data: compatibilityDataSchema.describe('Request data for getting compatibility property names'),
153
+ },
154
+ },
155
+ {
156
+ name: 'ebay_get_compatibility_property_values',
157
+ description: 'Get compatibility property values',
158
+ inputSchema: {
159
+ data: compatibilityDataSchema.describe('Request data for getting compatibility property values'),
160
+ },
161
+ },
162
+ {
163
+ name: 'ebay_get_multi_compatibility_property_values',
164
+ description: 'Get multiple compatibility property values',
165
+ inputSchema: {
166
+ data: compatibilityDataSchema.describe('Request data for getting multi compatibility property values'),
167
+ },
168
+ },
169
+ {
170
+ name: 'ebay_get_product_compatibilities',
171
+ description: 'Get product compatibilities',
172
+ inputSchema: {
173
+ data: compatibilityDataSchema.describe('Request data for getting product compatibilities'),
174
+ },
175
+ },
176
+ {
177
+ name: 'ebay_get_sales_tax_jurisdictions',
178
+ description: 'Get sales tax jurisdictions for a country',
179
+ inputSchema: {
180
+ countryCode: z.string().describe('Country code (e.g., US)'),
181
+ },
182
+ outputSchema: {
183
+ type: 'object',
184
+ properties: {},
185
+ description: 'Success response',
186
+ },
187
+ },
188
+ ];
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { OutputArgs, ToolAnnotations } from '../tool-definitions.js';
3
+ export interface ToolDefinition {
4
+ name: string;
5
+ description: string;
6
+ inputSchema: Record<string, z.ZodTypeAny>;
7
+ title?: string;
8
+ outputSchema?: OutputArgs;
9
+ annotations?: ToolAnnotations;
10
+ _meta?: Record<string, unknown>;
11
+ }
12
+ export declare const otherApiTools: ToolDefinition[];
13
+ export declare const claudeTools: ToolDefinition[];
@@ -0,0 +1,309 @@
1
+ import { z } from 'zod';
2
+ import { shippingQuoteRequestSchema, veroReportDataSchema } from '../schemas.js';
3
+ export const otherApiTools = [
4
+ // Identity API
5
+ {
6
+ name: 'ebay_get_user',
7
+ description: 'Get user identity information',
8
+ inputSchema: {},
9
+ },
10
+ // Compliance API
11
+ {
12
+ name: 'ebay_get_listing_violations',
13
+ description: 'Get listing violations for the seller',
14
+ inputSchema: {
15
+ complianceType: z.string().optional().describe('Type of compliance violation'),
16
+ offset: z.number().optional().describe('Number of violations to skip'),
17
+ limit: z.number().optional().describe('Number of violations to return'),
18
+ },
19
+ },
20
+ {
21
+ name: 'ebay_get_listing_violations_summary',
22
+ description: 'Get summary of listing violations',
23
+ inputSchema: {
24
+ complianceType: z.string().optional().describe('Type of compliance violation'),
25
+ },
26
+ },
27
+ {
28
+ name: 'ebay_suppress_violation',
29
+ description: 'Suppress a listing violation',
30
+ inputSchema: {
31
+ listingViolationId: z.string().describe('The violation ID to suppress'),
32
+ },
33
+ },
34
+ // VERO API
35
+ {
36
+ name: 'ebay_create_vero_report',
37
+ description: 'Create a VERO report to report intellectual property infringement. This endpoint is part of the Verified Rights Owner (VeRO) Program and allows rights owners to report listings that infringe on their intellectual property.',
38
+ inputSchema: {
39
+ reportData: veroReportDataSchema.describe('VERO report data containing item details and intellectual property violation information'),
40
+ },
41
+ },
42
+ {
43
+ name: 'ebay_get_vero_report',
44
+ description: 'Get a specific VERO report by ID',
45
+ inputSchema: {
46
+ veroReportId: z.string().min(1).describe('The unique identifier of the VERO report'),
47
+ },
48
+ },
49
+ {
50
+ name: 'ebay_get_vero_report_items',
51
+ description: 'Get VERO report items (listings reported for intellectual property infringement). Supports filtering, pagination via limit and offset parameters.',
52
+ inputSchema: {
53
+ filter: z.string().optional().describe('Filter criteria for the query (e.g., date range)'),
54
+ limit: z.number().optional().describe('Maximum number of items to return'),
55
+ offset: z.number().optional().describe('Number of items to skip for pagination'),
56
+ },
57
+ },
58
+ {
59
+ name: 'ebay_get_vero_reason_code',
60
+ description: 'Get a specific VERO reason code by ID. Reason codes categorize the types of intellectual property violations.',
61
+ inputSchema: {
62
+ veroReasonCodeId: z.string().min(1).describe('The unique identifier of the VERO reason code'),
63
+ },
64
+ },
65
+ {
66
+ name: 'ebay_get_vero_reason_codes',
67
+ description: 'Get all available VERO reason codes. These codes are used when creating VERO reports to specify the type of intellectual property violation.',
68
+ inputSchema: {},
69
+ },
70
+ // Translation API
71
+ {
72
+ name: 'ebay_translate',
73
+ description: 'Translate listing text',
74
+ inputSchema: {
75
+ from: z.string().describe('Source language code'),
76
+ to: z.string().describe('Target language code'),
77
+ translationContext: z
78
+ .string()
79
+ .describe('Translation context (e.g., ITEM_TITLE, ITEM_DESCRIPTION)'),
80
+ text: z.array(z.string()).describe('Array of text to translate'),
81
+ },
82
+ },
83
+ // eDelivery API
84
+ {
85
+ name: 'ebay_create_shipping_quote',
86
+ description: 'Create a shipping quote for international shipping',
87
+ inputSchema: {
88
+ shippingQuoteRequest: shippingQuoteRequestSchema.describe('Shipping quote request details'),
89
+ },
90
+ },
91
+ {
92
+ name: 'ebay_get_shipping_quote',
93
+ description: 'Get a shipping quote by ID',
94
+ inputSchema: {
95
+ shippingQuoteId: z.string().describe('The shipping quote ID'),
96
+ },
97
+ },
98
+ // eDelivery API - Cost & Preferences
99
+ {
100
+ name: 'ebay_get_actual_costs',
101
+ description: 'Get actual costs for shipped packages',
102
+ inputSchema: {
103
+ params: z.record(z.string()).optional().describe('Query parameters (e.g., package_id)'),
104
+ },
105
+ },
106
+ {
107
+ name: 'ebay_get_address_preferences',
108
+ description: 'Get address preferences for international shipping',
109
+ inputSchema: {},
110
+ },
111
+ {
112
+ name: 'ebay_create_address_preference',
113
+ description: 'Create an address preference for international shipping',
114
+ inputSchema: {
115
+ addressPreference: z.record(z.unknown()).describe('Address preference data'),
116
+ },
117
+ },
118
+ {
119
+ name: 'ebay_get_consign_preferences',
120
+ description: 'Get consign preferences for international shipping',
121
+ inputSchema: {},
122
+ },
123
+ {
124
+ name: 'ebay_create_consign_preference',
125
+ description: 'Create a consign preference for international shipping',
126
+ inputSchema: {
127
+ consignPreference: z.record(z.unknown()).describe('Consign preference data'),
128
+ },
129
+ },
130
+ // eDelivery API - Agents & Services
131
+ {
132
+ name: 'ebay_get_agents',
133
+ description: 'Get available shipping agents for international shipping',
134
+ inputSchema: {
135
+ params: z.record(z.string()).optional().describe('Query parameters (e.g., country)'),
136
+ },
137
+ },
138
+ {
139
+ name: 'ebay_get_battery_qualifications',
140
+ description: 'Get battery qualifications for international shipping',
141
+ inputSchema: {
142
+ params: z.record(z.string()).optional().describe('Query parameters (e.g., battery_type)'),
143
+ },
144
+ },
145
+ {
146
+ name: 'ebay_get_dropoff_sites',
147
+ description: 'Get available dropoff sites for international shipping',
148
+ inputSchema: {
149
+ params: z.record(z.string()).describe('Query parameters (postal_code, country required)'),
150
+ },
151
+ },
152
+ {
153
+ name: 'ebay_get_shipping_services',
154
+ description: 'Get available shipping services for international shipping',
155
+ inputSchema: {
156
+ params: z.record(z.string()).optional().describe('Query parameters (e.g., country)'),
157
+ },
158
+ },
159
+ // eDelivery API - Bundles
160
+ {
161
+ name: 'ebay_create_bundle',
162
+ description: 'Create a bundle of packages for international shipping',
163
+ inputSchema: {
164
+ bundleRequest: z.record(z.unknown()).describe('Bundle creation data'),
165
+ },
166
+ },
167
+ {
168
+ name: 'ebay_get_bundle',
169
+ description: 'Get bundle details by ID',
170
+ inputSchema: {
171
+ bundleId: z.string().describe('The bundle ID'),
172
+ },
173
+ },
174
+ {
175
+ name: 'ebay_cancel_bundle',
176
+ description: 'Cancel a bundle by ID',
177
+ inputSchema: {
178
+ bundleId: z.string().describe('The bundle ID to cancel'),
179
+ },
180
+ },
181
+ {
182
+ name: 'ebay_get_bundle_label',
183
+ description: 'Get shipping label for a bundle',
184
+ inputSchema: {
185
+ bundleId: z.string().describe('The bundle ID'),
186
+ },
187
+ },
188
+ // eDelivery API - Packages (Single)
189
+ {
190
+ name: 'ebay_create_package',
191
+ description: 'Create a package for international shipping',
192
+ inputSchema: {
193
+ packageRequest: z.record(z.unknown()).describe('Package creation data'),
194
+ },
195
+ },
196
+ {
197
+ name: 'ebay_get_package',
198
+ description: 'Get package details by ID',
199
+ inputSchema: {
200
+ packageId: z.string().describe('The package ID'),
201
+ },
202
+ },
203
+ {
204
+ name: 'ebay_delete_package',
205
+ description: 'Delete a package by ID',
206
+ inputSchema: {
207
+ packageId: z.string().describe('The package ID to delete'),
208
+ },
209
+ },
210
+ {
211
+ name: 'ebay_get_package_by_order_line_item',
212
+ description: 'Get package details by order line item ID',
213
+ inputSchema: {
214
+ orderLineItemId: z.string().describe('The order line item ID'),
215
+ },
216
+ },
217
+ {
218
+ name: 'ebay_cancel_package',
219
+ description: 'Cancel a package by ID',
220
+ inputSchema: {
221
+ packageId: z.string().describe('The package ID to cancel'),
222
+ },
223
+ },
224
+ {
225
+ name: 'ebay_clone_package',
226
+ description: 'Clone a package to create a duplicate',
227
+ inputSchema: {
228
+ packageId: z.string().describe('The package ID to clone'),
229
+ },
230
+ },
231
+ {
232
+ name: 'ebay_confirm_package',
233
+ description: 'Confirm a package for shipping',
234
+ inputSchema: {
235
+ packageId: z.string().describe('The package ID to confirm'),
236
+ },
237
+ },
238
+ // eDelivery API - Packages (Bulk)
239
+ {
240
+ name: 'ebay_bulk_cancel_packages',
241
+ description: 'Cancel multiple packages in one request',
242
+ inputSchema: {
243
+ bulkCancelRequest: z.record(z.unknown()).describe('Bulk cancel request data'),
244
+ },
245
+ },
246
+ {
247
+ name: 'ebay_bulk_confirm_packages',
248
+ description: 'Confirm multiple packages in one request',
249
+ inputSchema: {
250
+ bulkConfirmRequest: z.record(z.unknown()).describe('Bulk confirm request data'),
251
+ },
252
+ },
253
+ {
254
+ name: 'ebay_bulk_delete_packages',
255
+ description: 'Delete multiple packages in one request',
256
+ inputSchema: {
257
+ bulkDeleteRequest: z.record(z.unknown()).describe('Bulk delete request data'),
258
+ },
259
+ },
260
+ // eDelivery API - Labels & Tracking
261
+ {
262
+ name: 'ebay_get_labels',
263
+ description: 'Get shipping labels for packages',
264
+ inputSchema: {
265
+ params: z.record(z.string()).optional().describe('Query parameters (e.g., package_id)'),
266
+ },
267
+ },
268
+ {
269
+ name: 'ebay_get_handover_sheet',
270
+ description: 'Get handover sheet for packages',
271
+ inputSchema: {
272
+ params: z.record(z.string()).optional().describe('Query parameters (e.g., bundle_id)'),
273
+ },
274
+ },
275
+ {
276
+ name: 'ebay_get_tracking',
277
+ description: 'Get tracking information for packages',
278
+ inputSchema: {
279
+ params: z.record(z.string()).describe('Query parameters (tracking_number required)'),
280
+ },
281
+ },
282
+ // eDelivery API - Other
283
+ {
284
+ name: 'ebay_create_complaint',
285
+ description: 'Create a complaint for international shipping issues',
286
+ inputSchema: {
287
+ complaintRequest: z.record(z.unknown()).describe('Complaint request data'),
288
+ },
289
+ outputSchema: {
290
+ type: 'object',
291
+ properties: {},
292
+ description: 'Success response',
293
+ },
294
+ },
295
+ ];
296
+ export const claudeTools = [
297
+ {
298
+ name: 'SearchClaudeCodeDocs',
299
+ description: 'Search across the Claude Code Docs knowledge base to find relevant information, code examples, API references, and guides. Use this tool when you need to answer questions about Claude Code Docs, find specific documentation, understand how features work, or locate implementation details. The search returns contextual content with titles and direct links to the documentation pages.',
300
+ inputSchema: {
301
+ query: z.string().describe('A query to search the content with.'),
302
+ },
303
+ outputSchema: {
304
+ type: 'object',
305
+ properties: {},
306
+ description: 'Success response',
307
+ },
308
+ },
309
+ ];
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ export interface OutputArgs {
3
+ [x: string]: unknown;
4
+ type: 'object';
5
+ properties?: Record<string, object>;
6
+ required?: string[];
7
+ }
8
+ export interface ToolAnnotations {
9
+ [x: string]: unknown;
10
+ title?: string;
11
+ readOnlyHint?: boolean;
12
+ destructiveHint?: boolean;
13
+ idempotentHint?: boolean;
14
+ openWorldHint?: boolean;
15
+ }
16
+ export interface ToolDefinition {
17
+ name: string;
18
+ description: string;
19
+ inputSchema: Record<string, z.ZodTypeAny>;
20
+ title?: string;
21
+ outputSchema?: OutputArgs;
22
+ annotations?: ToolAnnotations;
23
+ _meta?: Record<string, unknown>;
24
+ }
25
+ export declare const taxonomyTools: ToolDefinition[];
@@ -0,0 +1,64 @@
1
+ import { z } from 'zod';
2
+ export const taxonomyTools = [
3
+ {
4
+ name: 'ebay_get_default_category_tree_id',
5
+ description: 'Get the default category tree ID for a marketplace',
6
+ inputSchema: {
7
+ marketplaceId: z.string().describe('Marketplace ID (e.g., EBAY_US)'),
8
+ },
9
+ outputSchema: {
10
+ type: 'object',
11
+ properties: {
12
+ categoryTreeId: { type: 'string' },
13
+ categoryTreeVersion: { type: 'string' },
14
+ },
15
+ description: 'Default category tree ID response',
16
+ },
17
+ },
18
+ {
19
+ name: 'ebay_get_category_tree',
20
+ description: 'Get category tree by ID',
21
+ inputSchema: {
22
+ categoryTreeId: z.string().describe('Category tree ID'),
23
+ },
24
+ outputSchema: {
25
+ type: 'object',
26
+ properties: {
27
+ categoryTreeId: { type: 'string' },
28
+ categoryTreeVersion: { type: 'string' },
29
+ rootCategoryNode: { type: 'object' },
30
+ },
31
+ description: 'Category tree details',
32
+ },
33
+ },
34
+ {
35
+ name: 'ebay_get_category_suggestions',
36
+ description: 'Get category suggestions based on query',
37
+ inputSchema: {
38
+ categoryTreeId: z.string().describe('Category tree ID'),
39
+ query: z.string().describe('Search query for category suggestions'),
40
+ },
41
+ outputSchema: {
42
+ type: 'object',
43
+ properties: {
44
+ categorySuggestions: { type: 'array' },
45
+ },
46
+ description: 'Category suggestions response',
47
+ },
48
+ },
49
+ {
50
+ name: 'ebay_get_item_aspects_for_category',
51
+ description: 'Get item aspects for a specific category',
52
+ inputSchema: {
53
+ categoryTreeId: z.string().describe('Category tree ID'),
54
+ categoryId: z.string().describe('Category ID'),
55
+ },
56
+ outputSchema: {
57
+ type: 'object',
58
+ properties: {
59
+ aspects: { type: 'array' },
60
+ },
61
+ description: 'Item aspects for category',
62
+ },
63
+ },
64
+ ];
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ export interface OutputArgs {
3
+ [x: string]: unknown;
4
+ type: 'object';
5
+ properties?: Record<string, object>;
6
+ required?: string[];
7
+ }
8
+ export interface ToolAnnotations {
9
+ [x: string]: unknown;
10
+ title?: string;
11
+ readOnlyHint?: boolean;
12
+ destructiveHint?: boolean;
13
+ idempotentHint?: boolean;
14
+ openWorldHint?: boolean;
15
+ }
16
+ export interface ToolDefinition {
17
+ name: string;
18
+ description: string;
19
+ inputSchema: Record<string, z.ZodTypeAny>;
20
+ title?: string;
21
+ outputSchema?: OutputArgs;
22
+ annotations?: ToolAnnotations;
23
+ _meta?: Record<string, unknown>;
24
+ }
25
+ /**
26
+ * Token Management & Authentication Tools
27
+ *
28
+ * These tools handle OAuth token management, including:
29
+ * - Generating OAuth authorization URLs
30
+ * - Setting and clearing user tokens
31
+ * - Token status monitoring
32
+ * - Token expiry validation
33
+ * - Date/timestamp conversion utilities
34
+ */
35
+ export declare const tokenManagementTools: ToolDefinition[];