You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Tool listTaskMarket\n\nMoney amounts are returned in minor units (such as cents). Use the response currency field when interpreting them. Points and other non-money counters stay in raw values."
"Tool getAffiliateSettlement\n\nMoney amounts are returned in minor units (such as cents). Use the response currency field when interpreting them. Points and other non-money counters stay in raw values."
Copy file name to clipboardExpand all lines: index.ts
+31-4Lines changed: 31 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,20 @@ import {
22
22
}from"./src/tool-discovery.js";
23
23
importtype{ToolDefinition}from"./src/tools.js";
24
24
25
+
constMONEY_RELATED_TOOL_NAMES=newSet([
26
+
"acceptTask",
27
+
"getAffiliateOverview",
28
+
"getAffiliateSettlement",
29
+
"getMySampleOrderDetail",
30
+
"getTaskDetail",
31
+
"listAffiliateCommissions",
32
+
"listMySampleOrders",
33
+
"listTaskMarket",
34
+
]);
35
+
36
+
constMONEY_UNITS_NOTE=
37
+
"Money amounts are returned in minor units (such as cents). Use the response currency field when interpreting them. Points and other non-money counters stay in raw values.";
0 commit comments