@henrylabs/mcp 0.2.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -37
- package/code-tool.d.mts.map +1 -1
- package/code-tool.d.ts.map +1 -1
- package/code-tool.js +0 -1
- package/code-tool.js.map +1 -1
- package/code-tool.mjs +0 -1
- package/code-tool.mjs.map +1 -1
- package/headers.d.mts.map +1 -1
- package/headers.d.ts.map +1 -1
- package/headers.js +1 -4
- package/headers.js.map +1 -1
- package/headers.mjs +1 -4
- package/headers.mjs.map +1 -1
- package/package.json +2 -2
- package/server.js +1 -1
- package/server.mjs +1 -1
- package/src/code-tool.ts +0 -1
- package/src/headers.ts +1 -5
- package/src/server.ts +1 -1
- package/src/tools/cart/{create-checkout-cart.ts → create-cart-checkout.ts} +2 -2
- package/src/tools/cart/items/add-cart-items.ts +1 -1
- package/src/tools/cart/items/clear-cart-items.ts +1 -1
- package/src/tools/cart/items/list-cart-items.ts +1 -1
- package/src/tools/cart/items/remove-cart-items.ts +1 -1
- package/src/tools/checkout/session/confirm-checkout-session.ts +101 -0
- package/src/tools/checkout/session/{create-quote-checkout-session.ts → create-checkout-session.ts} +3 -3
- package/src/tools/index.ts +10 -24
- package/src/tools/orders/retrieve-status-orders.ts +1 -1
- package/src/tools/products/retrieve-product-details.ts +48 -0
- package/src/tools/products/search-products.ts +2 -2
- package/src/tools/wallet/{create-card-collection-wallet.ts → collect-payment-details.ts} +3 -3
- package/tools/cart/{create-checkout-cart.d.mts → create-cart-checkout.d.mts} +1 -1
- package/tools/cart/{create-checkout-cart.d.mts.map → create-cart-checkout.d.mts.map} +1 -1
- package/tools/cart/{create-checkout-cart.d.ts → create-cart-checkout.d.ts} +1 -1
- package/tools/cart/{create-checkout-cart.d.ts.map → create-cart-checkout.d.ts.map} +1 -1
- package/tools/cart/{create-checkout-cart.js → create-cart-checkout.js} +3 -3
- package/tools/cart/{create-checkout-cart.js.map → create-cart-checkout.js.map} +1 -1
- package/tools/cart/{create-checkout-cart.mjs → create-cart-checkout.mjs} +3 -3
- package/tools/cart/{create-checkout-cart.mjs.map → create-cart-checkout.mjs.map} +1 -1
- package/tools/cart/items/add-cart-items.js +1 -1
- package/tools/cart/items/add-cart-items.js.map +1 -1
- package/tools/cart/items/add-cart-items.mjs +1 -1
- package/tools/cart/items/add-cart-items.mjs.map +1 -1
- package/tools/cart/items/clear-cart-items.js +1 -1
- package/tools/cart/items/clear-cart-items.js.map +1 -1
- package/tools/cart/items/clear-cart-items.mjs +1 -1
- package/tools/cart/items/clear-cart-items.mjs.map +1 -1
- package/tools/cart/items/list-cart-items.js +1 -1
- package/tools/cart/items/list-cart-items.js.map +1 -1
- package/tools/cart/items/list-cart-items.mjs +1 -1
- package/tools/cart/items/list-cart-items.mjs.map +1 -1
- package/tools/cart/items/remove-cart-items.js +1 -1
- package/tools/cart/items/remove-cart-items.js.map +1 -1
- package/tools/cart/items/remove-cart-items.mjs +1 -1
- package/tools/cart/items/remove-cart-items.mjs.map +1 -1
- package/tools/checkout/session/confirm-checkout-session.d.mts +45 -0
- package/tools/checkout/session/confirm-checkout-session.d.mts.map +1 -0
- package/tools/checkout/session/confirm-checkout-session.d.ts +45 -0
- package/tools/checkout/session/confirm-checkout-session.d.ts.map +1 -0
- package/tools/checkout/session/confirm-checkout-session.js +94 -0
- package/tools/checkout/session/confirm-checkout-session.js.map +1 -0
- package/tools/checkout/session/confirm-checkout-session.mjs +90 -0
- package/tools/checkout/session/confirm-checkout-session.mjs.map +1 -0
- package/tools/checkout/session/create-checkout-session.d.mts +45 -0
- package/tools/checkout/session/create-checkout-session.d.mts.map +1 -0
- package/tools/{merchants/check-status-merchants.d.mts → checkout/session/create-checkout-session.d.ts} +1 -1
- package/tools/checkout/session/create-checkout-session.d.ts.map +1 -0
- package/tools/checkout/session/{create-quote-checkout-session.js → create-checkout-session.js} +4 -4
- package/tools/checkout/session/create-checkout-session.js.map +1 -0
- package/tools/checkout/session/{create-quote-checkout-session.mjs → create-checkout-session.mjs} +4 -4
- package/tools/checkout/session/create-checkout-session.mjs.map +1 -0
- package/tools/index.d.mts.map +1 -1
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +10 -24
- package/tools/index.js.map +1 -1
- package/tools/index.mjs +10 -24
- package/tools/index.mjs.map +1 -1
- package/tools/orders/retrieve-status-orders.js +1 -1
- package/tools/orders/retrieve-status-orders.js.map +1 -1
- package/tools/orders/retrieve-status-orders.mjs +1 -1
- package/tools/orders/retrieve-status-orders.mjs.map +1 -1
- package/tools/products/retrieve-product-details.d.mts +45 -0
- package/tools/products/retrieve-product-details.d.mts.map +1 -0
- package/tools/products/retrieve-product-details.d.ts +45 -0
- package/tools/products/retrieve-product-details.d.ts.map +1 -0
- package/tools/products/retrieve-product-details.js +43 -0
- package/tools/products/retrieve-product-details.js.map +1 -0
- package/tools/products/retrieve-product-details.mjs +39 -0
- package/tools/products/retrieve-product-details.mjs.map +1 -0
- package/tools/products/search-products.js +2 -2
- package/tools/products/search-products.js.map +1 -1
- package/tools/products/search-products.mjs +2 -2
- package/tools/products/search-products.mjs.map +1 -1
- package/tools/wallet/collect-payment-details.d.mts +45 -0
- package/tools/wallet/collect-payment-details.d.mts.map +1 -0
- package/tools/{merchants/check-status-merchants.d.ts → wallet/collect-payment-details.d.ts} +1 -1
- package/tools/wallet/collect-payment-details.d.ts.map +1 -0
- package/tools/wallet/{create-card-collection-wallet.js → collect-payment-details.js} +4 -4
- package/tools/wallet/collect-payment-details.js.map +1 -0
- package/tools/wallet/{create-card-collection-wallet.mjs → collect-payment-details.mjs} +4 -4
- package/tools/wallet/collect-payment-details.mjs.map +1 -0
- package/src/tools/checkout/session/confirm-checkout-checkout-session.ts +0 -101
- package/src/tools/checkout/session/list-products-checkout-session.ts +0 -47
- package/src/tools/checkout/session/retrieve-shipping-info-checkout-session.ts +0 -49
- package/src/tools/merchants/check-status-merchants.ts +0 -56
- package/src/tools/merchants/get-shipping-info-merchants.ts +0 -60
- package/src/tools/merchants/list-supported-merchants.ts +0 -52
- package/src/tools/products/retrieve-details-products.ts +0 -48
- package/src/tools/products/variant-check/create-products-variant-check.ts +0 -85
- package/src/tools/products/variant-check/retrieve-status-products-variant-check.ts +0 -50
- package/tools/checkout/session/confirm-checkout-checkout-session.d.mts +0 -45
- package/tools/checkout/session/confirm-checkout-checkout-session.d.mts.map +0 -1
- package/tools/checkout/session/confirm-checkout-checkout-session.d.ts +0 -45
- package/tools/checkout/session/confirm-checkout-checkout-session.d.ts.map +0 -1
- package/tools/checkout/session/confirm-checkout-checkout-session.js +0 -94
- package/tools/checkout/session/confirm-checkout-checkout-session.js.map +0 -1
- package/tools/checkout/session/confirm-checkout-checkout-session.mjs +0 -90
- package/tools/checkout/session/confirm-checkout-checkout-session.mjs.map +0 -1
- package/tools/checkout/session/create-quote-checkout-session.d.mts +0 -45
- package/tools/checkout/session/create-quote-checkout-session.d.mts.map +0 -1
- package/tools/checkout/session/create-quote-checkout-session.d.ts +0 -45
- package/tools/checkout/session/create-quote-checkout-session.d.ts.map +0 -1
- package/tools/checkout/session/create-quote-checkout-session.js.map +0 -1
- package/tools/checkout/session/create-quote-checkout-session.mjs.map +0 -1
- package/tools/checkout/session/list-products-checkout-session.d.mts +0 -45
- package/tools/checkout/session/list-products-checkout-session.d.mts.map +0 -1
- package/tools/checkout/session/list-products-checkout-session.d.ts +0 -45
- package/tools/checkout/session/list-products-checkout-session.d.ts.map +0 -1
- package/tools/checkout/session/list-products-checkout-session.js +0 -42
- package/tools/checkout/session/list-products-checkout-session.js.map +0 -1
- package/tools/checkout/session/list-products-checkout-session.mjs +0 -38
- package/tools/checkout/session/list-products-checkout-session.mjs.map +0 -1
- package/tools/checkout/session/retrieve-shipping-info-checkout-session.d.mts +0 -45
- package/tools/checkout/session/retrieve-shipping-info-checkout-session.d.mts.map +0 -1
- package/tools/checkout/session/retrieve-shipping-info-checkout-session.d.ts +0 -45
- package/tools/checkout/session/retrieve-shipping-info-checkout-session.d.ts.map +0 -1
- package/tools/checkout/session/retrieve-shipping-info-checkout-session.js +0 -42
- package/tools/checkout/session/retrieve-shipping-info-checkout-session.js.map +0 -1
- package/tools/checkout/session/retrieve-shipping-info-checkout-session.mjs +0 -38
- package/tools/checkout/session/retrieve-shipping-info-checkout-session.mjs.map +0 -1
- package/tools/merchants/check-status-merchants.d.mts.map +0 -1
- package/tools/merchants/check-status-merchants.d.ts.map +0 -1
- package/tools/merchants/check-status-merchants.js +0 -48
- package/tools/merchants/check-status-merchants.js.map +0 -1
- package/tools/merchants/check-status-merchants.mjs +0 -44
- package/tools/merchants/check-status-merchants.mjs.map +0 -1
- package/tools/merchants/get-shipping-info-merchants.d.mts +0 -45
- package/tools/merchants/get-shipping-info-merchants.d.mts.map +0 -1
- package/tools/merchants/get-shipping-info-merchants.d.ts +0 -45
- package/tools/merchants/get-shipping-info-merchants.d.ts.map +0 -1
- package/tools/merchants/get-shipping-info-merchants.js +0 -55
- package/tools/merchants/get-shipping-info-merchants.js.map +0 -1
- package/tools/merchants/get-shipping-info-merchants.mjs +0 -51
- package/tools/merchants/get-shipping-info-merchants.mjs.map +0 -1
- package/tools/merchants/list-supported-merchants.d.mts +0 -45
- package/tools/merchants/list-supported-merchants.d.mts.map +0 -1
- package/tools/merchants/list-supported-merchants.d.ts +0 -45
- package/tools/merchants/list-supported-merchants.d.ts.map +0 -1
- package/tools/merchants/list-supported-merchants.js +0 -47
- package/tools/merchants/list-supported-merchants.js.map +0 -1
- package/tools/merchants/list-supported-merchants.mjs +0 -43
- package/tools/merchants/list-supported-merchants.mjs.map +0 -1
- package/tools/products/retrieve-details-products.d.mts +0 -45
- package/tools/products/retrieve-details-products.d.mts.map +0 -1
- package/tools/products/retrieve-details-products.d.ts +0 -45
- package/tools/products/retrieve-details-products.d.ts.map +0 -1
- package/tools/products/retrieve-details-products.js +0 -43
- package/tools/products/retrieve-details-products.js.map +0 -1
- package/tools/products/retrieve-details-products.mjs +0 -39
- package/tools/products/retrieve-details-products.mjs.map +0 -1
- package/tools/products/variant-check/create-products-variant-check.d.mts +0 -45
- package/tools/products/variant-check/create-products-variant-check.d.mts.map +0 -1
- package/tools/products/variant-check/create-products-variant-check.d.ts +0 -45
- package/tools/products/variant-check/create-products-variant-check.d.ts.map +0 -1
- package/tools/products/variant-check/create-products-variant-check.js +0 -79
- package/tools/products/variant-check/create-products-variant-check.js.map +0 -1
- package/tools/products/variant-check/create-products-variant-check.mjs +0 -75
- package/tools/products/variant-check/create-products-variant-check.mjs.map +0 -1
- package/tools/products/variant-check/retrieve-status-products-variant-check.d.mts +0 -45
- package/tools/products/variant-check/retrieve-status-products-variant-check.d.mts.map +0 -1
- package/tools/products/variant-check/retrieve-status-products-variant-check.d.ts +0 -45
- package/tools/products/variant-check/retrieve-status-products-variant-check.d.ts.map +0 -1
- package/tools/products/variant-check/retrieve-status-products-variant-check.js +0 -43
- package/tools/products/variant-check/retrieve-status-products-variant-check.js.map +0 -1
- package/tools/products/variant-check/retrieve-status-products-variant-check.mjs +0 -39
- package/tools/products/variant-check/retrieve-status-products-variant-check.mjs.map +0 -1
- package/tools/wallet/create-card-collection-wallet.d.mts +0 -45
- package/tools/wallet/create-card-collection-wallet.d.mts.map +0 -1
- package/tools/wallet/create-card-collection-wallet.d.ts +0 -45
- package/tools/wallet/create-card-collection-wallet.d.ts.map +0 -1
- package/tools/wallet/create-card-collection-wallet.js.map +0 -1
- package/tools/wallet/create-card-collection-wallet.mjs.map +0 -1
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
-
const filtering_1 = require("@henrylabs/mcp/filtering");
|
|
6
|
-
const types_1 = require("@henrylabs/mcp/tools/types");
|
|
7
|
-
exports.metadata = {
|
|
8
|
-
resource: 'merchants',
|
|
9
|
-
operation: 'read',
|
|
10
|
-
tags: [],
|
|
11
|
-
httpMethod: 'get',
|
|
12
|
-
httpPath: '/merchants/shipping-info',
|
|
13
|
-
operationId: 'getMerchantShippingInfo',
|
|
14
|
-
};
|
|
15
|
-
exports.tool = {
|
|
16
|
-
name: 'get_shipping_info_merchants',
|
|
17
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRetrieve shipping information including shipping tiers and free shipping thresholds for merchants\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/merchant_get_shipping_info_response',\n $defs: {\n merchant_get_shipping_info_response: {\n type: 'object',\n properties: {\n message: {\n type: 'string'\n },\n status: {\n type: 'string'\n },\n success: {\n type: 'boolean'\n },\n data: {\n type: 'object',\n properties: {\n hasMore: {\n type: 'boolean'\n },\n merchants: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n displayName: {\n type: 'string'\n },\n domain: {\n type: 'string'\n },\n freeShippingThreshold: {\n type: 'number'\n },\n name: {\n type: 'string'\n },\n shippingNotes: {\n type: 'string'\n },\n shippingTiers: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n cost: {\n type: 'number'\n },\n estimatedDeliveryMaxDays: {\n type: 'number'\n },\n estimatedDeliveryMinDays: {\n type: 'number'\n },\n tierName: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'cost',\n 'estimatedDeliveryMaxDays',\n 'estimatedDeliveryMinDays',\n 'tierName'\n ]\n }\n }\n },\n required: [ 'id',\n 'displayName',\n 'domain',\n 'freeShippingThreshold',\n 'name',\n 'shippingNotes',\n 'shippingTiers'\n ]\n }\n },\n totalCount: {\n type: 'number'\n }\n },\n required: [ 'hasMore',\n 'merchants',\n 'totalCount'\n ]\n }\n },\n required: [ 'message',\n 'status',\n 'success'\n ]\n }\n }\n}\n```",
|
|
18
|
-
inputSchema: {
|
|
19
|
-
type: 'object',
|
|
20
|
-
properties: {
|
|
21
|
-
domain: {
|
|
22
|
-
type: 'string',
|
|
23
|
-
description: 'Merchant domain to filter by',
|
|
24
|
-
},
|
|
25
|
-
limit: {
|
|
26
|
-
type: 'integer',
|
|
27
|
-
description: 'Number of items per page (1-100)',
|
|
28
|
-
},
|
|
29
|
-
merchantId: {
|
|
30
|
-
type: 'string',
|
|
31
|
-
description: 'Merchant ID to filter by',
|
|
32
|
-
},
|
|
33
|
-
offset: {
|
|
34
|
-
type: 'integer',
|
|
35
|
-
description: 'Number of items to skip',
|
|
36
|
-
},
|
|
37
|
-
jq_filter: {
|
|
38
|
-
type: 'string',
|
|
39
|
-
title: 'jq Filter',
|
|
40
|
-
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
required: [],
|
|
44
|
-
},
|
|
45
|
-
annotations: {
|
|
46
|
-
readOnlyHint: true,
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
const handler = async (client, args) => {
|
|
50
|
-
const { jq_filter, ...body } = args;
|
|
51
|
-
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.merchants.getShippingInfo(body)));
|
|
52
|
-
};
|
|
53
|
-
exports.handler = handler;
|
|
54
|
-
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
55
|
-
//# sourceMappingURL=get-shipping-info-merchants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-shipping-info-merchants.js","sourceRoot":"","sources":["../../src/tools/merchants/get-shipping-info-merchants.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,0BAA0B;IACpC,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,6BAA6B;IACnC,WAAW,EACT,umGAAumG;IACzmG,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8BAA8B;aAC5C;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,kCAAkC;aAChD;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;aACxC;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,yBAAyB;aACvC;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzG,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@henrylabs/mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@henrylabs/mcp/tools/types';
|
|
4
|
-
export const metadata = {
|
|
5
|
-
resource: 'merchants',
|
|
6
|
-
operation: 'read',
|
|
7
|
-
tags: [],
|
|
8
|
-
httpMethod: 'get',
|
|
9
|
-
httpPath: '/merchants/shipping-info',
|
|
10
|
-
operationId: 'getMerchantShippingInfo',
|
|
11
|
-
};
|
|
12
|
-
export const tool = {
|
|
13
|
-
name: 'get_shipping_info_merchants',
|
|
14
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRetrieve shipping information including shipping tiers and free shipping thresholds for merchants\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/merchant_get_shipping_info_response',\n $defs: {\n merchant_get_shipping_info_response: {\n type: 'object',\n properties: {\n message: {\n type: 'string'\n },\n status: {\n type: 'string'\n },\n success: {\n type: 'boolean'\n },\n data: {\n type: 'object',\n properties: {\n hasMore: {\n type: 'boolean'\n },\n merchants: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n displayName: {\n type: 'string'\n },\n domain: {\n type: 'string'\n },\n freeShippingThreshold: {\n type: 'number'\n },\n name: {\n type: 'string'\n },\n shippingNotes: {\n type: 'string'\n },\n shippingTiers: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n cost: {\n type: 'number'\n },\n estimatedDeliveryMaxDays: {\n type: 'number'\n },\n estimatedDeliveryMinDays: {\n type: 'number'\n },\n tierName: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'cost',\n 'estimatedDeliveryMaxDays',\n 'estimatedDeliveryMinDays',\n 'tierName'\n ]\n }\n }\n },\n required: [ 'id',\n 'displayName',\n 'domain',\n 'freeShippingThreshold',\n 'name',\n 'shippingNotes',\n 'shippingTiers'\n ]\n }\n },\n totalCount: {\n type: 'number'\n }\n },\n required: [ 'hasMore',\n 'merchants',\n 'totalCount'\n ]\n }\n },\n required: [ 'message',\n 'status',\n 'success'\n ]\n }\n }\n}\n```",
|
|
15
|
-
inputSchema: {
|
|
16
|
-
type: 'object',
|
|
17
|
-
properties: {
|
|
18
|
-
domain: {
|
|
19
|
-
type: 'string',
|
|
20
|
-
description: 'Merchant domain to filter by',
|
|
21
|
-
},
|
|
22
|
-
limit: {
|
|
23
|
-
type: 'integer',
|
|
24
|
-
description: 'Number of items per page (1-100)',
|
|
25
|
-
},
|
|
26
|
-
merchantId: {
|
|
27
|
-
type: 'string',
|
|
28
|
-
description: 'Merchant ID to filter by',
|
|
29
|
-
},
|
|
30
|
-
offset: {
|
|
31
|
-
type: 'integer',
|
|
32
|
-
description: 'Number of items to skip',
|
|
33
|
-
},
|
|
34
|
-
jq_filter: {
|
|
35
|
-
type: 'string',
|
|
36
|
-
title: 'jq Filter',
|
|
37
|
-
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
required: [],
|
|
41
|
-
},
|
|
42
|
-
annotations: {
|
|
43
|
-
readOnlyHint: true,
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
export const handler = async (client, args) => {
|
|
47
|
-
const { jq_filter, ...body } = args;
|
|
48
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.merchants.getShippingInfo(body)));
|
|
49
|
-
};
|
|
50
|
-
export default { metadata, tool, handler };
|
|
51
|
-
//# sourceMappingURL=get-shipping-info-merchants.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-shipping-info-merchants.mjs","sourceRoot":"","sources":["../../src/tools/merchants/get-shipping-info-merchants.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,0BAA0B;IACpC,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,6BAA6B;IACnC,WAAW,EACT,umGAAumG;IACzmG,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8BAA8B;aAC5C;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,kCAAkC;aAChD;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;aACxC;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,yBAAyB;aACvC;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Metadata } from '@henrylabs/mcp/tools/types';
|
|
2
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
-
import HenrySDK from '@henrylabs/sdk';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: HenrySDK, args: Record<string, unknown> | undefined) => Promise<import("@henrylabs/mcp/tools/types").ToolCallResult>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
name: string;
|
|
12
|
-
inputSchema: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
type: "object";
|
|
15
|
-
properties?: {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
} | undefined;
|
|
18
|
-
required?: string[] | undefined;
|
|
19
|
-
};
|
|
20
|
-
title?: string | undefined;
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
outputSchema?: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
type: "object";
|
|
25
|
-
properties?: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
} | undefined;
|
|
28
|
-
required?: string[] | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
annotations?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
title?: string | undefined;
|
|
33
|
-
readOnlyHint?: boolean | undefined;
|
|
34
|
-
destructiveHint?: boolean | undefined;
|
|
35
|
-
idempotentHint?: boolean | undefined;
|
|
36
|
-
openWorldHint?: boolean | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
_meta?: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
} | undefined;
|
|
41
|
-
};
|
|
42
|
-
handler: (client: HenrySDK, args: Record<string, unknown> | undefined) => Promise<import("@henrylabs/mcp/tools/types").ToolCallResult>;
|
|
43
|
-
};
|
|
44
|
-
export default _default;
|
|
45
|
-
//# sourceMappingURL=list-supported-merchants.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-supported-merchants.d.mts","sourceRoot":"","sources":["../../src/tools/merchants/list-supported-merchants.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,gBAAgB;AAErC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Metadata } from '@henrylabs/mcp/tools/types';
|
|
2
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
-
import HenrySDK from '@henrylabs/sdk';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: HenrySDK, args: Record<string, unknown> | undefined) => Promise<import("@henrylabs/mcp/tools/types").ToolCallResult>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
name: string;
|
|
12
|
-
inputSchema: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
type: "object";
|
|
15
|
-
properties?: {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
} | undefined;
|
|
18
|
-
required?: string[] | undefined;
|
|
19
|
-
};
|
|
20
|
-
title?: string | undefined;
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
outputSchema?: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
type: "object";
|
|
25
|
-
properties?: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
} | undefined;
|
|
28
|
-
required?: string[] | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
annotations?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
title?: string | undefined;
|
|
33
|
-
readOnlyHint?: boolean | undefined;
|
|
34
|
-
destructiveHint?: boolean | undefined;
|
|
35
|
-
idempotentHint?: boolean | undefined;
|
|
36
|
-
openWorldHint?: boolean | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
_meta?: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
} | undefined;
|
|
41
|
-
};
|
|
42
|
-
handler: (client: HenrySDK, args: Record<string, unknown> | undefined) => Promise<import("@henrylabs/mcp/tools/types").ToolCallResult>;
|
|
43
|
-
};
|
|
44
|
-
export default _default;
|
|
45
|
-
//# sourceMappingURL=list-supported-merchants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-supported-merchants.d.ts","sourceRoot":"","sources":["../../src/tools/merchants/list-supported-merchants.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,gBAAgB;AAErC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
-
const filtering_1 = require("@henrylabs/mcp/filtering");
|
|
6
|
-
const types_1 = require("@henrylabs/mcp/tools/types");
|
|
7
|
-
exports.metadata = {
|
|
8
|
-
resource: 'merchants',
|
|
9
|
-
operation: 'read',
|
|
10
|
-
tags: [],
|
|
11
|
-
httpMethod: 'get',
|
|
12
|
-
httpPath: '/merchants/list',
|
|
13
|
-
operationId: 'getSupportedMerchants',
|
|
14
|
-
};
|
|
15
|
-
exports.tool = {
|
|
16
|
-
name: 'list_supported_merchants',
|
|
17
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nReturns a list of allowlist supported merchants\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/merchant_list_supported_response',\n $defs: {\n merchant_list_supported_response: {\n type: 'object',\n properties: {\n message: {\n type: 'string'\n },\n status: {\n type: 'string'\n },\n success: {\n type: 'boolean'\n },\n data: {\n type: 'object',\n properties: {\n merchants: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n domain: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n website: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'domain',\n 'name'\n ]\n }\n },\n pagination: {\n type: 'object',\n properties: {\n currentPage: {\n type: 'number'\n },\n hasNextPage: {\n type: 'boolean'\n },\n hasPreviousPage: {\n type: 'boolean'\n },\n limit: {\n type: 'number'\n },\n totalCount: {\n type: 'number'\n },\n totalPages: {\n type: 'number'\n }\n },\n required: [ 'currentPage',\n 'hasNextPage',\n 'hasPreviousPage',\n 'limit',\n 'totalCount',\n 'totalPages'\n ]\n }\n },\n required: [ 'merchants',\n 'pagination'\n ]\n }\n },\n required: [ 'message',\n 'status',\n 'success'\n ]\n }\n }\n}\n```",
|
|
18
|
-
inputSchema: {
|
|
19
|
-
type: 'object',
|
|
20
|
-
properties: {
|
|
21
|
-
limit: {
|
|
22
|
-
type: 'integer',
|
|
23
|
-
description: 'Number of items per page (1-100)',
|
|
24
|
-
},
|
|
25
|
-
page: {
|
|
26
|
-
type: 'integer',
|
|
27
|
-
description: 'Page number (starts from 1)',
|
|
28
|
-
},
|
|
29
|
-
jq_filter: {
|
|
30
|
-
type: 'string',
|
|
31
|
-
title: 'jq Filter',
|
|
32
|
-
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
required: [],
|
|
36
|
-
},
|
|
37
|
-
annotations: {
|
|
38
|
-
readOnlyHint: true,
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const handler = async (client, args) => {
|
|
42
|
-
const { jq_filter, ...body } = args;
|
|
43
|
-
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.merchants.listSupported(body)));
|
|
44
|
-
};
|
|
45
|
-
exports.handler = handler;
|
|
46
|
-
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
47
|
-
//# sourceMappingURL=list-supported-merchants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-supported-merchants.js","sourceRoot":"","sources":["../../src/tools/merchants/list-supported-merchants.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,uBAAuB;CACrC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,21EAA21E;IAC71E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,kCAAkC;aAChD;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,6BAA6B;aAC3C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACvG,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@henrylabs/mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@henrylabs/mcp/tools/types';
|
|
4
|
-
export const metadata = {
|
|
5
|
-
resource: 'merchants',
|
|
6
|
-
operation: 'read',
|
|
7
|
-
tags: [],
|
|
8
|
-
httpMethod: 'get',
|
|
9
|
-
httpPath: '/merchants/list',
|
|
10
|
-
operationId: 'getSupportedMerchants',
|
|
11
|
-
};
|
|
12
|
-
export const tool = {
|
|
13
|
-
name: 'list_supported_merchants',
|
|
14
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nReturns a list of allowlist supported merchants\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/merchant_list_supported_response',\n $defs: {\n merchant_list_supported_response: {\n type: 'object',\n properties: {\n message: {\n type: 'string'\n },\n status: {\n type: 'string'\n },\n success: {\n type: 'boolean'\n },\n data: {\n type: 'object',\n properties: {\n merchants: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n id: {\n type: 'string'\n },\n domain: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n website: {\n type: 'string'\n }\n },\n required: [ 'id',\n 'domain',\n 'name'\n ]\n }\n },\n pagination: {\n type: 'object',\n properties: {\n currentPage: {\n type: 'number'\n },\n hasNextPage: {\n type: 'boolean'\n },\n hasPreviousPage: {\n type: 'boolean'\n },\n limit: {\n type: 'number'\n },\n totalCount: {\n type: 'number'\n },\n totalPages: {\n type: 'number'\n }\n },\n required: [ 'currentPage',\n 'hasNextPage',\n 'hasPreviousPage',\n 'limit',\n 'totalCount',\n 'totalPages'\n ]\n }\n },\n required: [ 'merchants',\n 'pagination'\n ]\n }\n },\n required: [ 'message',\n 'status',\n 'success'\n ]\n }\n }\n}\n```",
|
|
15
|
-
inputSchema: {
|
|
16
|
-
type: 'object',
|
|
17
|
-
properties: {
|
|
18
|
-
limit: {
|
|
19
|
-
type: 'integer',
|
|
20
|
-
description: 'Number of items per page (1-100)',
|
|
21
|
-
},
|
|
22
|
-
page: {
|
|
23
|
-
type: 'integer',
|
|
24
|
-
description: 'Page number (starts from 1)',
|
|
25
|
-
},
|
|
26
|
-
jq_filter: {
|
|
27
|
-
type: 'string',
|
|
28
|
-
title: 'jq Filter',
|
|
29
|
-
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
required: [],
|
|
33
|
-
},
|
|
34
|
-
annotations: {
|
|
35
|
-
readOnlyHint: true,
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
export const handler = async (client, args) => {
|
|
39
|
-
const { jq_filter, ...body } = args;
|
|
40
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.merchants.listSupported(body)));
|
|
41
|
-
};
|
|
42
|
-
export default { metadata, tool, handler };
|
|
43
|
-
//# sourceMappingURL=list-supported-merchants.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-supported-merchants.mjs","sourceRoot":"","sources":["../../src/tools/merchants/list-supported-merchants.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,uBAAuB;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,21EAA21E;IAC71E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,kCAAkC;aAChD;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,6BAA6B;aAC3C;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACvG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Metadata } from '@henrylabs/mcp/tools/types';
|
|
2
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
-
import HenrySDK from '@henrylabs/sdk';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: HenrySDK, args: Record<string, unknown> | undefined) => Promise<import("@henrylabs/mcp/tools/types").ToolCallResult>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
name: string;
|
|
12
|
-
inputSchema: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
type: "object";
|
|
15
|
-
properties?: {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
} | undefined;
|
|
18
|
-
required?: string[] | undefined;
|
|
19
|
-
};
|
|
20
|
-
title?: string | undefined;
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
outputSchema?: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
type: "object";
|
|
25
|
-
properties?: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
} | undefined;
|
|
28
|
-
required?: string[] | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
annotations?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
title?: string | undefined;
|
|
33
|
-
readOnlyHint?: boolean | undefined;
|
|
34
|
-
destructiveHint?: boolean | undefined;
|
|
35
|
-
idempotentHint?: boolean | undefined;
|
|
36
|
-
openWorldHint?: boolean | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
_meta?: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
} | undefined;
|
|
41
|
-
};
|
|
42
|
-
handler: (client: HenrySDK, args: Record<string, unknown> | undefined) => Promise<import("@henrylabs/mcp/tools/types").ToolCallResult>;
|
|
43
|
-
};
|
|
44
|
-
export default _default;
|
|
45
|
-
//# sourceMappingURL=retrieve-details-products.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-details-products.d.mts","sourceRoot":"","sources":["../../src/tools/products/retrieve-details-products.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,gBAAgB;AAErC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAuBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Metadata } from '@henrylabs/mcp/tools/types';
|
|
2
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
-
import HenrySDK from '@henrylabs/sdk';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: HenrySDK, args: Record<string, unknown> | undefined) => Promise<import("@henrylabs/mcp/tools/types").ToolCallResult>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
name: string;
|
|
12
|
-
inputSchema: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
type: "object";
|
|
15
|
-
properties?: {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
} | undefined;
|
|
18
|
-
required?: string[] | undefined;
|
|
19
|
-
};
|
|
20
|
-
title?: string | undefined;
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
outputSchema?: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
type: "object";
|
|
25
|
-
properties?: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
} | undefined;
|
|
28
|
-
required?: string[] | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
annotations?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
title?: string | undefined;
|
|
33
|
-
readOnlyHint?: boolean | undefined;
|
|
34
|
-
destructiveHint?: boolean | undefined;
|
|
35
|
-
idempotentHint?: boolean | undefined;
|
|
36
|
-
openWorldHint?: boolean | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
_meta?: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
} | undefined;
|
|
41
|
-
};
|
|
42
|
-
handler: (client: HenrySDK, args: Record<string, unknown> | undefined) => Promise<import("@henrylabs/mcp/tools/types").ToolCallResult>;
|
|
43
|
-
};
|
|
44
|
-
export default _default;
|
|
45
|
-
//# sourceMappingURL=retrieve-details-products.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-details-products.d.ts","sourceRoot":"","sources":["../../src/tools/products/retrieve-details-products.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,gBAAgB;AAErC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAuBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
-
const filtering_1 = require("@henrylabs/mcp/filtering");
|
|
6
|
-
const types_1 = require("@henrylabs/mcp/tools/types");
|
|
7
|
-
exports.metadata = {
|
|
8
|
-
resource: 'products',
|
|
9
|
-
operation: 'read',
|
|
10
|
-
tags: [],
|
|
11
|
-
httpMethod: 'get',
|
|
12
|
-
httpPath: '/products/details',
|
|
13
|
-
operationId: 'getProductDetails',
|
|
14
|
-
};
|
|
15
|
-
exports.tool = {
|
|
16
|
-
name: 'retrieve_details_products',
|
|
17
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRetrieve detailed information about a specific product given product ID\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/product_retrieve_details_response',\n $defs: {\n product_retrieve_details_response: {\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n productResults: {\n type: 'object',\n properties: {\n brand: {\n type: 'string'\n },\n rating: {\n type: 'number'\n },\n reviews: {\n type: 'number'\n },\n stores: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n link: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n price: {\n type: 'string'\n },\n shipping: {\n type: 'string'\n },\n total: {\n type: 'string'\n }\n },\n required: [ 'link',\n 'name',\n 'price',\n 'shipping',\n 'total'\n ]\n }\n },\n thumbnails: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n title: {\n type: 'string'\n },\n userReviews: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n rating: {\n type: 'number'\n },\n source: {\n type: 'string'\n },\n text: {\n type: 'string'\n },\n title: {\n type: 'string'\n },\n userName: {\n type: 'string'\n }\n },\n required: [ 'rating',\n 'source',\n 'text',\n 'title',\n 'userName'\n ]\n }\n },\n variants: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n name: {\n type: 'string'\n },\n available: {\n type: 'boolean'\n },\n selected: {\n type: 'boolean'\n }\n },\n required: [ 'name'\n ]\n }\n },\n title: {\n type: 'string'\n }\n },\n required: [ 'items',\n 'title'\n ]\n }\n }\n },\n required: [ 'brand',\n 'rating',\n 'reviews',\n 'stores',\n 'thumbnails',\n 'title',\n 'userReviews',\n 'variants'\n ]\n },\n relatedSearches: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n link: {\n type: 'string'\n },\n query: {\n type: 'string'\n },\n image: {\n type: 'string'\n }\n },\n required: [ 'link',\n 'query'\n ]\n }\n }\n },\n required: [ 'productResults',\n 'relatedSearches'\n ]\n },\n message: {\n type: 'string'\n },\n status: {\n type: 'string'\n },\n success: {\n type: 'boolean'\n }\n },\n required: [ 'data',\n 'message',\n 'status',\n 'success'\n ]\n }\n }\n}\n```",
|
|
18
|
-
inputSchema: {
|
|
19
|
-
type: 'object',
|
|
20
|
-
properties: {
|
|
21
|
-
productId: {
|
|
22
|
-
type: 'string',
|
|
23
|
-
description: 'Product ID',
|
|
24
|
-
},
|
|
25
|
-
jq_filter: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
title: 'jq Filter',
|
|
28
|
-
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
required: ['productId'],
|
|
32
|
-
},
|
|
33
|
-
annotations: {
|
|
34
|
-
readOnlyHint: true,
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const handler = async (client, args) => {
|
|
38
|
-
const { jq_filter, ...body } = args;
|
|
39
|
-
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.products.retrieveDetails(body)));
|
|
40
|
-
};
|
|
41
|
-
exports.handler = handler;
|
|
42
|
-
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
43
|
-
//# sourceMappingURL=retrieve-details-products.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-details-products.js","sourceRoot":"","sources":["../../src/tools/products/retrieve-details-products.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,mBAAmB;CACjC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,2BAA2B;IACjC,WAAW,EACT,8xKAA8xK;IAChyK,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,YAAY;aAC1B;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,CAAC;KACxB;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACxG,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@henrylabs/mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@henrylabs/mcp/tools/types';
|
|
4
|
-
export const metadata = {
|
|
5
|
-
resource: 'products',
|
|
6
|
-
operation: 'read',
|
|
7
|
-
tags: [],
|
|
8
|
-
httpMethod: 'get',
|
|
9
|
-
httpPath: '/products/details',
|
|
10
|
-
operationId: 'getProductDetails',
|
|
11
|
-
};
|
|
12
|
-
export const tool = {
|
|
13
|
-
name: 'retrieve_details_products',
|
|
14
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRetrieve detailed information about a specific product given product ID\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/product_retrieve_details_response',\n $defs: {\n product_retrieve_details_response: {\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n productResults: {\n type: 'object',\n properties: {\n brand: {\n type: 'string'\n },\n rating: {\n type: 'number'\n },\n reviews: {\n type: 'number'\n },\n stores: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n link: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n price: {\n type: 'string'\n },\n shipping: {\n type: 'string'\n },\n total: {\n type: 'string'\n }\n },\n required: [ 'link',\n 'name',\n 'price',\n 'shipping',\n 'total'\n ]\n }\n },\n thumbnails: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n title: {\n type: 'string'\n },\n userReviews: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n rating: {\n type: 'number'\n },\n source: {\n type: 'string'\n },\n text: {\n type: 'string'\n },\n title: {\n type: 'string'\n },\n userName: {\n type: 'string'\n }\n },\n required: [ 'rating',\n 'source',\n 'text',\n 'title',\n 'userName'\n ]\n }\n },\n variants: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n name: {\n type: 'string'\n },\n available: {\n type: 'boolean'\n },\n selected: {\n type: 'boolean'\n }\n },\n required: [ 'name'\n ]\n }\n },\n title: {\n type: 'string'\n }\n },\n required: [ 'items',\n 'title'\n ]\n }\n }\n },\n required: [ 'brand',\n 'rating',\n 'reviews',\n 'stores',\n 'thumbnails',\n 'title',\n 'userReviews',\n 'variants'\n ]\n },\n relatedSearches: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n link: {\n type: 'string'\n },\n query: {\n type: 'string'\n },\n image: {\n type: 'string'\n }\n },\n required: [ 'link',\n 'query'\n ]\n }\n }\n },\n required: [ 'productResults',\n 'relatedSearches'\n ]\n },\n message: {\n type: 'string'\n },\n status: {\n type: 'string'\n },\n success: {\n type: 'boolean'\n }\n },\n required: [ 'data',\n 'message',\n 'status',\n 'success'\n ]\n }\n }\n}\n```",
|
|
15
|
-
inputSchema: {
|
|
16
|
-
type: 'object',
|
|
17
|
-
properties: {
|
|
18
|
-
productId: {
|
|
19
|
-
type: 'string',
|
|
20
|
-
description: 'Product ID',
|
|
21
|
-
},
|
|
22
|
-
jq_filter: {
|
|
23
|
-
type: 'string',
|
|
24
|
-
title: 'jq Filter',
|
|
25
|
-
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
required: ['productId'],
|
|
29
|
-
},
|
|
30
|
-
annotations: {
|
|
31
|
-
readOnlyHint: true,
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
export const handler = async (client, args) => {
|
|
35
|
-
const { jq_filter, ...body } = args;
|
|
36
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.products.retrieveDetails(body)));
|
|
37
|
-
};
|
|
38
|
-
export default { metadata, tool, handler };
|
|
39
|
-
//# sourceMappingURL=retrieve-details-products.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-details-products.mjs","sourceRoot":"","sources":["../../src/tools/products/retrieve-details-products.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,mBAAmB;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,2BAA2B;IACjC,WAAW,EACT,8xKAA8xK;IAChyK,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,YAAY;aAC1B;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,CAAC;KACxB;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACxG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Metadata } from '@henrylabs/mcp/tools/types';
|
|
2
|
-
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
-
import HenrySDK from '@henrylabs/sdk';
|
|
4
|
-
export declare const metadata: Metadata;
|
|
5
|
-
export declare const tool: Tool;
|
|
6
|
-
export declare const handler: (client: HenrySDK, args: Record<string, unknown> | undefined) => Promise<import("@henrylabs/mcp/tools/types").ToolCallResult>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
metadata: Metadata;
|
|
9
|
-
tool: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
name: string;
|
|
12
|
-
inputSchema: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
type: "object";
|
|
15
|
-
properties?: {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
} | undefined;
|
|
18
|
-
required?: string[] | undefined;
|
|
19
|
-
};
|
|
20
|
-
title?: string | undefined;
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
outputSchema?: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
type: "object";
|
|
25
|
-
properties?: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
} | undefined;
|
|
28
|
-
required?: string[] | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
annotations?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
title?: string | undefined;
|
|
33
|
-
readOnlyHint?: boolean | undefined;
|
|
34
|
-
destructiveHint?: boolean | undefined;
|
|
35
|
-
idempotentHint?: boolean | undefined;
|
|
36
|
-
openWorldHint?: boolean | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
_meta?: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
} | undefined;
|
|
41
|
-
};
|
|
42
|
-
handler: (client: HenrySDK, args: Record<string, unknown> | undefined) => Promise<import("@henrylabs/mcp/tools/types").ToolCallResult>;
|
|
43
|
-
};
|
|
44
|
-
export default _default;
|
|
45
|
-
//# sourceMappingURL=create-products-variant-check.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-products-variant-check.d.mts","sourceRoot":"","sources":["../../../src/tools/products/variant-check/create-products-variant-check.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,gBAAgB;AAErC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA4DlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
|