gm-mcp 1.1.14 → 1.1.16
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/dist/index.js +3 -0
- package/package.json +1 -1
- package/src/index.ts +4 -0
package/dist/index.js
CHANGED
|
@@ -75,6 +75,9 @@ exports.server.tool("debt_collection", "The company's debt collection informatio
|
|
|
75
75
|
.optional()
|
|
76
76
|
.describe("Month (optional) ,if year is not provided, please use current year (in Vietnam timezone) instead of, month is represented with format MM/yyyy"),
|
|
77
77
|
company_name: zod_1.default.string({ description: "Company name to get data" }),
|
|
78
|
+
}, {
|
|
79
|
+
// ONLY 'title' is mandatory
|
|
80
|
+
required: ["company_name"],
|
|
78
81
|
}, (args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
79
82
|
const { month, company_name } = args;
|
|
80
83
|
return (0, lark_tool_1.debtCollectionRateTool)({
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -101,6 +101,10 @@ server.tool(
|
|
|
101
101
|
),
|
|
102
102
|
company_name: z.string({ description: "Company name to get data" }),
|
|
103
103
|
},
|
|
104
|
+
{
|
|
105
|
+
// ONLY 'title' is mandatory
|
|
106
|
+
required: ["company_name"],
|
|
107
|
+
},
|
|
104
108
|
async (args) => {
|
|
105
109
|
const { month, company_name } = args;
|
|
106
110
|
return debtCollectionRateTool({
|