@langwatch/mcp-server 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/{archive-project-HZBRPR2S.js → archive-project-KAZFHR4A.js} +3 -3
- package/dist/{archive-scenario-P5RRITRM.js → archive-scenario-6M2IB7Y2.js} +3 -3
- package/dist/{archive-suite-NUUFD2EM.js → archive-suite-NXZ3YDS3.js} +3 -3
- package/dist/{assign-prompt-tag-FKCCZPML.js → assign-prompt-tag-WPUJO55U.js} +2 -2
- package/dist/{chunk-X2SEURT2.js → chunk-AGGE6NPR.js} +2 -2
- package/dist/{chunk-ADSJ2FDA.js → chunk-B6UV3JVI.js} +2 -2
- package/dist/{chunk-42ZHHHIJ.js → chunk-CAY57CKF.js} +3 -1
- package/dist/{chunk-BBJ5WAJB.js → chunk-COCNCXVJ.js} +2 -2
- package/dist/{chunk-BYWYM2RP.js → chunk-ESGZVPPC.js} +2 -2
- package/dist/{chunk-R7C7OUVG.js → chunk-GWEW5XON.js} +2 -2
- package/dist/{chunk-FVDAZ4XG.js → chunk-HRFQAFPR.js} +84 -89
- package/dist/{chunk-TROIWSEQ.js → chunk-ITN2QGHF.js} +2 -2
- package/dist/{chunk-XC62KJIT.js → chunk-IUP5IHBD.js} +3 -3
- package/dist/{chunk-CCM4ZFGF.js → chunk-LTEJDL4V.js} +2 -2
- package/dist/{chunk-BB7EOKHR.js → chunk-RDUXCCFR.js} +2 -2
- package/dist/{chunk-JHOSVOHT.js → chunk-U2QIW2SW.js} +2 -2
- package/dist/{chunk-CHKCEZBP.js → chunk-UKRCZJJC.js} +2 -2
- package/dist/{chunk-HKY3GW45.js → chunk-XRQNXN2Z.js} +2 -2
- package/dist/{create-agent-K5Q7BFGZ.js → create-agent-BI7UTJ6A.js} +3 -3
- package/dist/{create-annotation-KN3GE3DK.js → create-annotation-SNM2J6S4.js} +3 -3
- package/dist/{create-api-key-OQI5PUNQ.js → create-api-key-23MXYC2L.js} +3 -3
- package/dist/{create-dashboard-G4QA5AXP.js → create-dashboard-CPOOOIKK.js} +3 -3
- package/dist/{create-dataset-WQSC37N7.js → create-dataset-BVXPVVY2.js} +3 -3
- package/dist/{create-dataset-records-B4RL3FLC.js → create-dataset-records-S7VFIIMR.js} +3 -3
- package/dist/{create-evaluator-YFFQIR7E.js → create-evaluator-WJAAQOUE.js} +3 -3
- package/dist/create-mcp-server.js +2 -2
- package/dist/{create-project-CUVQ67VN.js → create-project-BF7LMZH5.js} +3 -3
- package/dist/{create-prompt-NGXKSP4X.js → create-prompt-LZ3QHSU4.js} +2 -2
- package/dist/{create-prompt-tag-IUKYPVHH.js → create-prompt-tag-IF4J24QM.js} +2 -2
- package/dist/{create-scenario-FNBXALH3.js → create-scenario-BK4E5DEU.js} +3 -3
- package/dist/{create-suite-DJEPD4ZB.js → create-suite-HEQPNLND.js} +3 -3
- package/dist/{delete-agent-TJI5XBBM.js → delete-agent-Y4T2G5PT.js} +3 -3
- package/dist/{delete-annotation-KRP53TUU.js → delete-annotation-KYDMQTZG.js} +3 -3
- package/dist/{delete-dashboard-N5SZJIR3.js → delete-dashboard-3RW647WJ.js} +3 -3
- package/dist/{delete-dataset-KDUOHL2P.js → delete-dataset-SZAHFHHS.js} +3 -3
- package/dist/{delete-dataset-records-DM4W3PAW.js → delete-dataset-records-ISHKGEBH.js} +3 -3
- package/dist/{delete-evaluator-7ZATLJOA.js → delete-evaluator-VKIG5I3S.js} +3 -3
- package/dist/{delete-prompt-tag-I6HNMSVJ.js → delete-prompt-tag-VYYL4GTF.js} +2 -2
- package/dist/{delete-workflow-QEO74JQR.js → delete-workflow-SHNPYSWQ.js} +3 -3
- package/dist/{get-agent-3KDWCP5N.js → get-agent-IZSP7AR5.js} +3 -3
- package/dist/{get-analytics-GPVJX7SF.js → get-analytics-EDFAYYIQ.js} +2 -2
- package/dist/{get-dashboard-YPTIE5YY.js → get-dashboard-WSAO6IQ4.js} +3 -3
- package/dist/{get-dataset-6DQFYITM.js → get-dataset-BEVNXQNF.js} +3 -3
- package/dist/{get-evaluator-PCM6XQAU.js → get-evaluator-HCVXNPZR.js} +3 -3
- package/dist/{get-project-JCMWXVLU.js → get-project-H4V3GYRQ.js} +3 -3
- package/dist/{get-prompt-5XAGWWBG.js → get-prompt-EWRJVVGB.js} +2 -2
- package/dist/{get-scenario-7XBCDZWX.js → get-scenario-24YUJS5W.js} +3 -3
- package/dist/{get-simulation-run-AV24FJWI.js → get-simulation-run-UX2W6F6I.js} +3 -3
- package/dist/{get-suite-4DBVHFEM.js → get-suite-B65ZKZJA.js} +3 -3
- package/dist/{get-trace-MRBDS3HJ.js → get-trace-ZR7MIITH.js} +2 -2
- package/dist/{get-workflow-UR4Y6UFX.js → get-workflow-YROHUQJW.js} +3 -3
- package/dist/{http-server-XUQLIFE7.js → http-server-GXVEDA7G.js} +3 -3
- package/dist/index.js +2538 -1488
- package/dist/{langwatch-api-annotations-ZJDRB4JH.js → langwatch-api-annotations-OPEXNTPF.js} +3 -3
- package/dist/{langwatch-api-dashboards-WARLI6NF.js → langwatch-api-dashboards-NPQM6QJI.js} +3 -3
- package/dist/{langwatch-api-monitors-4XKXHYCG.js → langwatch-api-monitors-3L25OOOS.js} +2 -2
- package/dist/{langwatch-api-secrets-6SHK5G7Q.js → langwatch-api-secrets-ZFURUA62.js} +2 -2
- package/dist/{langwatch-api-triggers-5SX6R2WU.js → langwatch-api-triggers-XGXXT7DD.js} +2 -2
- package/dist/{langwatch-api-workflows-NLJENNXE.js → langwatch-api-workflows-CXCTTCXT.js} +3 -3
- package/dist/{list-agents-NECO7MPI.js → list-agents-6ZNOV7FK.js} +3 -3
- package/dist/{list-annotations-3OJEO774.js → list-annotations-6P3IWILH.js} +3 -3
- package/dist/{list-api-keys-AWW7ROLB.js → list-api-keys-JJI62KD2.js} +3 -3
- package/dist/{list-dashboards-DVPVVVKW.js → list-dashboards-G2WJOXWB.js} +3 -3
- package/dist/{list-dataset-records-I4BYORF5.js → list-dataset-records-GWWVOCII.js} +3 -3
- package/dist/{list-datasets-WUAE5HGX.js → list-datasets-HBTH33X4.js} +3 -3
- package/dist/{list-evaluators-B6OSVAM2.js → list-evaluators-K5OGB6TX.js} +3 -3
- package/dist/{list-model-providers-NL6IP4UZ.js → list-model-providers-JMOGZLSO.js} +3 -3
- package/dist/{list-projects-5FHMJ4PQ.js → list-projects-OXJC2NW5.js} +3 -3
- package/dist/{list-prompt-tags-Z2DD6FLQ.js → list-prompt-tags-J2HPHVAZ.js} +2 -2
- package/dist/{list-prompts-VNXKHK7T.js → list-prompts-C7GR72XL.js} +2 -2
- package/dist/{list-scenarios-CFZHXL76.js → list-scenarios-JEPGIIDO.js} +3 -3
- package/dist/{list-simulation-runs-AM2BXLBW.js → list-simulation-runs-DRSAGPEC.js} +3 -3
- package/dist/{list-suites-ZDOHAAXF.js → list-suites-POTZ3ZT6.js} +3 -3
- package/dist/{list-workflows-WBRBKLIT.js → list-workflows-QQZQIOHB.js} +3 -3
- package/dist/{rename-prompt-tag-A4RJUK7Z.js → rename-prompt-tag-4AAV2BS4.js} +2 -2
- package/dist/{revoke-api-key-ZSPSPF5G.js → revoke-api-key-TONB4ADQ.js} +3 -3
- package/dist/{run-agent-JFNDY7MR.js → run-agent-7QE3YEH7.js} +3 -3
- package/dist/{run-suite-TH7LO5TJ.js → run-suite-Q66OSPO4.js} +3 -3
- package/dist/{run-workflow-CK3JP5U2.js → run-workflow-RWX2D752.js} +3 -3
- package/dist/{search-traces-3BBVYPC3.js → search-traces-M5E5VB4X.js} +2 -2
- package/dist/{set-model-provider-WOC5FNMV.js → set-model-provider-XENT5D2P.js} +3 -3
- package/dist/{update-agent-YMEV5MTL.js → update-agent-GML25EE3.js} +3 -3
- package/dist/{update-dataset-EYT5POFM.js → update-dataset-R4MM6NNY.js} +3 -3
- package/dist/{update-dataset-record-VFF5JTX4.js → update-dataset-record-FN4BL5P4.js} +3 -3
- package/dist/{update-evaluator-6IJHFG2E.js → update-evaluator-LH2RDDB5.js} +3 -3
- package/dist/{update-project-OIT4WPFI.js → update-project-H53IHRBB.js} +3 -3
- package/dist/{update-prompt-ZU2DD6KM.js → update-prompt-M33OTTAJ.js} +2 -2
- package/dist/{update-scenario-3VUTPDRU.js → update-scenario-FKTQRAFQ.js} +3 -3
- package/dist/{update-suite-C6JFDQHL.js → update-suite-JJTNOTXN.js} +3 -3
- package/package.json +1 -1
- package/pnpm-workspace.yaml +9 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LangWatchApiError,
|
|
3
3
|
makeRequest
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CAY57CKF.js";
|
|
5
5
|
import {
|
|
6
6
|
requireApiKey
|
|
7
7
|
} from "./chunk-KOO5733S.js";
|
|
@@ -13,7 +13,7 @@ import { z as z2 } from "zod";
|
|
|
13
13
|
// package.json
|
|
14
14
|
var package_default = {
|
|
15
15
|
name: "@langwatch/mcp-server",
|
|
16
|
-
version: "0.10.
|
|
16
|
+
version: "0.10.1",
|
|
17
17
|
description: "An MCP server for Langwatch.",
|
|
18
18
|
type: "module",
|
|
19
19
|
main: "./dist/index.js",
|
|
@@ -88,11 +88,6 @@ var package_default = {
|
|
|
88
88
|
},
|
|
89
89
|
bin: {
|
|
90
90
|
"langwatch-mcp-server": "./dist/index.js"
|
|
91
|
-
},
|
|
92
|
-
pnpm: {
|
|
93
|
-
overrides: {
|
|
94
|
-
liquidjs: ">=10.26.0"
|
|
95
|
-
}
|
|
96
91
|
}
|
|
97
92
|
};
|
|
98
93
|
|
|
@@ -738,7 +733,7 @@ function registerTools(server) {
|
|
|
738
733
|
},
|
|
739
734
|
withToolLogging("search_traces", async (params) => {
|
|
740
735
|
requireApiKey();
|
|
741
|
-
const { handleSearchTraces } = await import("./search-traces-
|
|
736
|
+
const { handleSearchTraces } = await import("./search-traces-M5E5VB4X.js");
|
|
742
737
|
return {
|
|
743
738
|
content: [{ type: "text", text: await handleSearchTraces(params) }]
|
|
744
739
|
};
|
|
@@ -755,7 +750,7 @@ function registerTools(server) {
|
|
|
755
750
|
},
|
|
756
751
|
withToolLogging("get_trace", async (params) => {
|
|
757
752
|
requireApiKey();
|
|
758
|
-
const { handleGetTrace } = await import("./get-trace-
|
|
753
|
+
const { handleGetTrace } = await import("./get-trace-ZR7MIITH.js");
|
|
759
754
|
return {
|
|
760
755
|
content: [{ type: "text", text: await handleGetTrace(params) }]
|
|
761
756
|
};
|
|
@@ -781,7 +776,7 @@ function registerTools(server) {
|
|
|
781
776
|
},
|
|
782
777
|
withToolLogging("get_analytics", async (params) => {
|
|
783
778
|
requireApiKey();
|
|
784
|
-
const { handleGetAnalytics } = await import("./get-analytics-
|
|
779
|
+
const { handleGetAnalytics } = await import("./get-analytics-EDFAYYIQ.js");
|
|
785
780
|
return {
|
|
786
781
|
content: [{ type: "text", text: await handleGetAnalytics(params) }]
|
|
787
782
|
};
|
|
@@ -815,7 +810,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
|
|
|
815
810
|
},
|
|
816
811
|
withToolLogging("platform_create_prompt", async (params) => {
|
|
817
812
|
requireApiKey();
|
|
818
|
-
const { handleCreatePrompt } = await import("./create-prompt-
|
|
813
|
+
const { handleCreatePrompt } = await import("./create-prompt-LZ3QHSU4.js");
|
|
819
814
|
return {
|
|
820
815
|
content: [{ type: "text", text: await handleCreatePrompt(params) }]
|
|
821
816
|
};
|
|
@@ -827,7 +822,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
|
|
|
827
822
|
{},
|
|
828
823
|
withToolLogging("platform_list_prompts", async () => {
|
|
829
824
|
requireApiKey();
|
|
830
|
-
const { handleListPrompts } = await import("./list-prompts-
|
|
825
|
+
const { handleListPrompts } = await import("./list-prompts-C7GR72XL.js");
|
|
831
826
|
return {
|
|
832
827
|
content: [{ type: "text", text: await handleListPrompts() }]
|
|
833
828
|
};
|
|
@@ -851,7 +846,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
|
|
|
851
846
|
};
|
|
852
847
|
}
|
|
853
848
|
requireApiKey();
|
|
854
|
-
const { handleGetPrompt } = await import("./get-prompt-
|
|
849
|
+
const { handleGetPrompt } = await import("./get-prompt-EWRJVVGB.js");
|
|
855
850
|
return {
|
|
856
851
|
content: [{ type: "text", text: await handleGetPrompt(params) }]
|
|
857
852
|
};
|
|
@@ -876,7 +871,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
|
|
|
876
871
|
},
|
|
877
872
|
withToolLogging("platform_update_prompt", async (params) => {
|
|
878
873
|
requireApiKey();
|
|
879
|
-
const { handleUpdatePrompt } = await import("./update-prompt-
|
|
874
|
+
const { handleUpdatePrompt } = await import("./update-prompt-M33OTTAJ.js");
|
|
880
875
|
return {
|
|
881
876
|
content: [{ type: "text", text: await handleUpdatePrompt(params) }]
|
|
882
877
|
};
|
|
@@ -892,7 +887,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
|
|
|
892
887
|
},
|
|
893
888
|
withToolLogging("platform_assign_prompt_tag", async (params) => {
|
|
894
889
|
requireApiKey();
|
|
895
|
-
const { handleAssignPromptTag } = await import("./assign-prompt-tag-
|
|
890
|
+
const { handleAssignPromptTag } = await import("./assign-prompt-tag-WPUJO55U.js");
|
|
896
891
|
return {
|
|
897
892
|
content: [{ type: "text", text: await handleAssignPromptTag(params) }]
|
|
898
893
|
};
|
|
@@ -904,7 +899,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
|
|
|
904
899
|
{},
|
|
905
900
|
withToolLogging("platform_list_prompt_tags", async () => {
|
|
906
901
|
requireApiKey();
|
|
907
|
-
const { handleListPromptTags } = await import("./list-prompt-tags-
|
|
902
|
+
const { handleListPromptTags } = await import("./list-prompt-tags-J2HPHVAZ.js");
|
|
908
903
|
return {
|
|
909
904
|
content: [{ type: "text", text: await handleListPromptTags() }]
|
|
910
905
|
};
|
|
@@ -918,7 +913,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
|
|
|
918
913
|
},
|
|
919
914
|
withToolLogging("platform_create_prompt_tag", async (params) => {
|
|
920
915
|
requireApiKey();
|
|
921
|
-
const { handleCreatePromptTag } = await import("./create-prompt-tag-
|
|
916
|
+
const { handleCreatePromptTag } = await import("./create-prompt-tag-IF4J24QM.js");
|
|
922
917
|
return {
|
|
923
918
|
content: [{ type: "text", text: await handleCreatePromptTag(params) }]
|
|
924
919
|
};
|
|
@@ -933,7 +928,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
|
|
|
933
928
|
},
|
|
934
929
|
withToolLogging("platform_rename_prompt_tag", async (params) => {
|
|
935
930
|
requireApiKey();
|
|
936
|
-
const { handleRenamePromptTag } = await import("./rename-prompt-tag-
|
|
931
|
+
const { handleRenamePromptTag } = await import("./rename-prompt-tag-4AAV2BS4.js");
|
|
937
932
|
return {
|
|
938
933
|
content: [{ type: "text", text: await handleRenamePromptTag(params) }]
|
|
939
934
|
};
|
|
@@ -947,7 +942,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
|
|
|
947
942
|
},
|
|
948
943
|
withToolLogging("platform_delete_prompt_tag", async (params) => {
|
|
949
944
|
requireApiKey();
|
|
950
|
-
const { handleDeletePromptTag } = await import("./delete-prompt-tag-
|
|
945
|
+
const { handleDeletePromptTag } = await import("./delete-prompt-tag-VYYL4GTF.js");
|
|
951
946
|
return {
|
|
952
947
|
content: [{ type: "text", text: await handleDeletePromptTag(params) }]
|
|
953
948
|
};
|
|
@@ -975,7 +970,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
975
970
|
},
|
|
976
971
|
withToolLogging("platform_create_scenario", async (params) => {
|
|
977
972
|
requireApiKey();
|
|
978
|
-
const { handleCreateScenario } = await import("./create-scenario-
|
|
973
|
+
const { handleCreateScenario } = await import("./create-scenario-BK4E5DEU.js");
|
|
979
974
|
return {
|
|
980
975
|
content: [
|
|
981
976
|
{ type: "text", text: await handleCreateScenario(params) }
|
|
@@ -993,7 +988,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
993
988
|
},
|
|
994
989
|
withToolLogging("platform_list_scenarios", async (params) => {
|
|
995
990
|
requireApiKey();
|
|
996
|
-
const { handleListScenarios } = await import("./list-scenarios-
|
|
991
|
+
const { handleListScenarios } = await import("./list-scenarios-JEPGIIDO.js");
|
|
997
992
|
return {
|
|
998
993
|
content: [
|
|
999
994
|
{ type: "text", text: await handleListScenarios(params) }
|
|
@@ -1012,7 +1007,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1012
1007
|
},
|
|
1013
1008
|
withToolLogging("platform_get_scenario", async (params) => {
|
|
1014
1009
|
requireApiKey();
|
|
1015
|
-
const { handleGetScenario } = await import("./get-scenario-
|
|
1010
|
+
const { handleGetScenario } = await import("./get-scenario-24YUJS5W.js");
|
|
1016
1011
|
return {
|
|
1017
1012
|
content: [{ type: "text", text: await handleGetScenario(params) }]
|
|
1018
1013
|
};
|
|
@@ -1030,7 +1025,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1030
1025
|
},
|
|
1031
1026
|
withToolLogging("platform_update_scenario", async (params) => {
|
|
1032
1027
|
requireApiKey();
|
|
1033
|
-
const { handleUpdateScenario } = await import("./update-scenario-
|
|
1028
|
+
const { handleUpdateScenario } = await import("./update-scenario-FKTQRAFQ.js");
|
|
1034
1029
|
return {
|
|
1035
1030
|
content: [
|
|
1036
1031
|
{ type: "text", text: await handleUpdateScenario(params) }
|
|
@@ -1046,7 +1041,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1046
1041
|
},
|
|
1047
1042
|
withToolLogging("platform_archive_scenario", async (params) => {
|
|
1048
1043
|
requireApiKey();
|
|
1049
|
-
const { handleArchiveScenario } = await import("./archive-scenario-
|
|
1044
|
+
const { handleArchiveScenario } = await import("./archive-scenario-6M2IB7Y2.js");
|
|
1050
1045
|
return {
|
|
1051
1046
|
content: [
|
|
1052
1047
|
{ type: "text", text: await handleArchiveScenario(params) }
|
|
@@ -1062,7 +1057,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1062
1057
|
},
|
|
1063
1058
|
withToolLogging("platform_list_suites", async (params) => {
|
|
1064
1059
|
requireApiKey();
|
|
1065
|
-
const { handleListSuites } = await import("./list-suites-
|
|
1060
|
+
const { handleListSuites } = await import("./list-suites-POTZ3ZT6.js");
|
|
1066
1061
|
return {
|
|
1067
1062
|
content: [{ type: "text", text: await handleListSuites(params) }]
|
|
1068
1063
|
};
|
|
@@ -1077,7 +1072,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1077
1072
|
},
|
|
1078
1073
|
withToolLogging("platform_get_suite", async (params) => {
|
|
1079
1074
|
requireApiKey();
|
|
1080
|
-
const { handleGetSuite } = await import("./get-suite-
|
|
1075
|
+
const { handleGetSuite } = await import("./get-suite-B65ZKZJA.js");
|
|
1081
1076
|
return {
|
|
1082
1077
|
content: [{ type: "text", text: await handleGetSuite(params) }]
|
|
1083
1078
|
};
|
|
@@ -1096,7 +1091,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1096
1091
|
},
|
|
1097
1092
|
withToolLogging("platform_create_suite", async (params) => {
|
|
1098
1093
|
requireApiKey();
|
|
1099
|
-
const { handleCreateSuite } = await import("./create-suite-
|
|
1094
|
+
const { handleCreateSuite } = await import("./create-suite-HEQPNLND.js");
|
|
1100
1095
|
return {
|
|
1101
1096
|
content: [{ type: "text", text: await handleCreateSuite(params) }]
|
|
1102
1097
|
};
|
|
@@ -1116,7 +1111,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1116
1111
|
},
|
|
1117
1112
|
withToolLogging("platform_update_suite", async (params) => {
|
|
1118
1113
|
requireApiKey();
|
|
1119
|
-
const { handleUpdateSuite } = await import("./update-suite-
|
|
1114
|
+
const { handleUpdateSuite } = await import("./update-suite-JJTNOTXN.js");
|
|
1120
1115
|
return {
|
|
1121
1116
|
content: [{ type: "text", text: await handleUpdateSuite(params) }]
|
|
1122
1117
|
};
|
|
@@ -1130,7 +1125,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1130
1125
|
},
|
|
1131
1126
|
withToolLogging("platform_run_suite", async (params) => {
|
|
1132
1127
|
requireApiKey();
|
|
1133
|
-
const { handleRunSuite } = await import("./run-suite-
|
|
1128
|
+
const { handleRunSuite } = await import("./run-suite-Q66OSPO4.js");
|
|
1134
1129
|
return {
|
|
1135
1130
|
content: [{ type: "text", text: await handleRunSuite(params) }]
|
|
1136
1131
|
};
|
|
@@ -1144,7 +1139,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1144
1139
|
},
|
|
1145
1140
|
withToolLogging("platform_archive_suite", async (params) => {
|
|
1146
1141
|
requireApiKey();
|
|
1147
|
-
const { handleArchiveSuite } = await import("./archive-suite-
|
|
1142
|
+
const { handleArchiveSuite } = await import("./archive-suite-NXZ3YDS3.js");
|
|
1148
1143
|
return {
|
|
1149
1144
|
content: [{ type: "text", text: await handleArchiveSuite(params) }]
|
|
1150
1145
|
};
|
|
@@ -1161,7 +1156,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1161
1156
|
},
|
|
1162
1157
|
withToolLogging("platform_list_simulation_runs", async (params) => {
|
|
1163
1158
|
requireApiKey();
|
|
1164
|
-
const { handleListSimulationRuns } = await import("./list-simulation-runs-
|
|
1159
|
+
const { handleListSimulationRuns } = await import("./list-simulation-runs-DRSAGPEC.js");
|
|
1165
1160
|
return {
|
|
1166
1161
|
content: [{ type: "text", text: await handleListSimulationRuns(params) }]
|
|
1167
1162
|
};
|
|
@@ -1176,7 +1171,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1176
1171
|
},
|
|
1177
1172
|
withToolLogging("platform_get_simulation_run", async (params) => {
|
|
1178
1173
|
requireApiKey();
|
|
1179
|
-
const { handleGetSimulationRun } = await import("./get-simulation-run-
|
|
1174
|
+
const { handleGetSimulationRun } = await import("./get-simulation-run-UX2W6F6I.js");
|
|
1180
1175
|
return {
|
|
1181
1176
|
content: [{ type: "text", text: await handleGetSimulationRun(params) }]
|
|
1182
1177
|
};
|
|
@@ -1193,7 +1188,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1193
1188
|
},
|
|
1194
1189
|
withToolLogging("platform_create_evaluator", async (params) => {
|
|
1195
1190
|
requireApiKey();
|
|
1196
|
-
const { handleCreateEvaluator } = await import("./create-evaluator-
|
|
1191
|
+
const { handleCreateEvaluator } = await import("./create-evaluator-WJAAQOUE.js");
|
|
1197
1192
|
return {
|
|
1198
1193
|
content: [
|
|
1199
1194
|
{ type: "text", text: await handleCreateEvaluator(params) }
|
|
@@ -1207,7 +1202,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1207
1202
|
{},
|
|
1208
1203
|
withToolLogging("platform_list_evaluators", async () => {
|
|
1209
1204
|
requireApiKey();
|
|
1210
|
-
const { handleListEvaluators } = await import("./list-evaluators-
|
|
1205
|
+
const { handleListEvaluators } = await import("./list-evaluators-K5OGB6TX.js");
|
|
1211
1206
|
return {
|
|
1212
1207
|
content: [{ type: "text", text: await handleListEvaluators() }]
|
|
1213
1208
|
};
|
|
@@ -1221,7 +1216,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1221
1216
|
},
|
|
1222
1217
|
withToolLogging("platform_get_evaluator", async (params) => {
|
|
1223
1218
|
requireApiKey();
|
|
1224
|
-
const { handleGetEvaluator } = await import("./get-evaluator-
|
|
1219
|
+
const { handleGetEvaluator } = await import("./get-evaluator-HCVXNPZR.js");
|
|
1225
1220
|
return {
|
|
1226
1221
|
content: [{ type: "text", text: await handleGetEvaluator(params) }]
|
|
1227
1222
|
};
|
|
@@ -1239,7 +1234,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1239
1234
|
},
|
|
1240
1235
|
withToolLogging("platform_update_evaluator", async (params) => {
|
|
1241
1236
|
requireApiKey();
|
|
1242
|
-
const { handleUpdateEvaluator } = await import("./update-evaluator-
|
|
1237
|
+
const { handleUpdateEvaluator } = await import("./update-evaluator-LH2RDDB5.js");
|
|
1243
1238
|
return {
|
|
1244
1239
|
content: [
|
|
1245
1240
|
{ type: "text", text: await handleUpdateEvaluator(params) }
|
|
@@ -1255,7 +1250,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1255
1250
|
},
|
|
1256
1251
|
withToolLogging("platform_delete_evaluator", async (params) => {
|
|
1257
1252
|
requireApiKey();
|
|
1258
|
-
const { handleDeleteEvaluator } = await import("./delete-evaluator-
|
|
1253
|
+
const { handleDeleteEvaluator } = await import("./delete-evaluator-VKIG5I3S.js");
|
|
1259
1254
|
return {
|
|
1260
1255
|
content: [{ type: "text", text: await handleDeleteEvaluator(params) }]
|
|
1261
1256
|
};
|
|
@@ -1276,7 +1271,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1276
1271
|
},
|
|
1277
1272
|
withToolLogging("platform_set_model_provider", async (params) => {
|
|
1278
1273
|
requireApiKey();
|
|
1279
|
-
const { handleSetModelProvider } = await import("./set-model-provider-
|
|
1274
|
+
const { handleSetModelProvider } = await import("./set-model-provider-XENT5D2P.js");
|
|
1280
1275
|
return {
|
|
1281
1276
|
content: [
|
|
1282
1277
|
{ type: "text", text: await handleSetModelProvider(params) }
|
|
@@ -1290,7 +1285,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1290
1285
|
{},
|
|
1291
1286
|
withToolLogging("platform_list_model_providers", async () => {
|
|
1292
1287
|
requireApiKey();
|
|
1293
|
-
const { handleListModelProviders } = await import("./list-model-providers-
|
|
1288
|
+
const { handleListModelProviders } = await import("./list-model-providers-JMOGZLSO.js");
|
|
1294
1289
|
return {
|
|
1295
1290
|
content: [{ type: "text", text: await handleListModelProviders() }]
|
|
1296
1291
|
};
|
|
@@ -1302,7 +1297,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1302
1297
|
{},
|
|
1303
1298
|
withToolLogging("platform_list_agents", async () => {
|
|
1304
1299
|
requireApiKey();
|
|
1305
|
-
const { handleListAgents } = await import("./list-agents-
|
|
1300
|
+
const { handleListAgents } = await import("./list-agents-6ZNOV7FK.js");
|
|
1306
1301
|
return {
|
|
1307
1302
|
content: [{ type: "text", text: await handleListAgents() }]
|
|
1308
1303
|
};
|
|
@@ -1316,7 +1311,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1316
1311
|
},
|
|
1317
1312
|
withToolLogging("platform_get_agent", async (params) => {
|
|
1318
1313
|
requireApiKey();
|
|
1319
|
-
const { handleGetAgent } = await import("./get-agent-
|
|
1314
|
+
const { handleGetAgent } = await import("./get-agent-IZSP7AR5.js");
|
|
1320
1315
|
return {
|
|
1321
1316
|
content: [{ type: "text", text: await handleGetAgent(params) }]
|
|
1322
1317
|
};
|
|
@@ -1332,7 +1327,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1332
1327
|
},
|
|
1333
1328
|
withToolLogging("platform_create_agent", async (params) => {
|
|
1334
1329
|
requireApiKey();
|
|
1335
|
-
const { handleCreateAgent } = await import("./create-agent-
|
|
1330
|
+
const { handleCreateAgent } = await import("./create-agent-BI7UTJ6A.js");
|
|
1336
1331
|
const parsedConfig = params.config ? JSON.parse(params.config) : void 0;
|
|
1337
1332
|
return {
|
|
1338
1333
|
content: [{ type: "text", text: await handleCreateAgent({ ...params, config: parsedConfig }) }]
|
|
@@ -1350,7 +1345,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1350
1345
|
},
|
|
1351
1346
|
withToolLogging("platform_update_agent", async (params) => {
|
|
1352
1347
|
requireApiKey();
|
|
1353
|
-
const { handleUpdateAgent } = await import("./update-agent-
|
|
1348
|
+
const { handleUpdateAgent } = await import("./update-agent-GML25EE3.js");
|
|
1354
1349
|
const parsedConfig = params.config ? JSON.parse(params.config) : void 0;
|
|
1355
1350
|
return {
|
|
1356
1351
|
content: [{ type: "text", text: await handleUpdateAgent({ ...params, config: parsedConfig }) }]
|
|
@@ -1365,7 +1360,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1365
1360
|
},
|
|
1366
1361
|
withToolLogging("platform_delete_agent", async (params) => {
|
|
1367
1362
|
requireApiKey();
|
|
1368
|
-
const { handleDeleteAgent } = await import("./delete-agent-
|
|
1363
|
+
const { handleDeleteAgent } = await import("./delete-agent-Y4T2G5PT.js");
|
|
1369
1364
|
return {
|
|
1370
1365
|
content: [{ type: "text", text: await handleDeleteAgent(params) }]
|
|
1371
1366
|
};
|
|
@@ -1380,7 +1375,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1380
1375
|
},
|
|
1381
1376
|
withToolLogging("platform_run_agent", async (params) => {
|
|
1382
1377
|
requireApiKey();
|
|
1383
|
-
const { handleRunAgent } = await import("./run-agent-
|
|
1378
|
+
const { handleRunAgent } = await import("./run-agent-7QE3YEH7.js");
|
|
1384
1379
|
return {
|
|
1385
1380
|
content: [{ type: "text", text: await handleRunAgent(params) }]
|
|
1386
1381
|
};
|
|
@@ -1392,7 +1387,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1392
1387
|
{},
|
|
1393
1388
|
withToolLogging("platform_list_dashboards", async () => {
|
|
1394
1389
|
requireApiKey();
|
|
1395
|
-
const { handleListDashboards } = await import("./list-dashboards-
|
|
1390
|
+
const { handleListDashboards } = await import("./list-dashboards-G2WJOXWB.js");
|
|
1396
1391
|
return {
|
|
1397
1392
|
content: [{ type: "text", text: await handleListDashboards() }]
|
|
1398
1393
|
};
|
|
@@ -1406,7 +1401,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1406
1401
|
},
|
|
1407
1402
|
withToolLogging("platform_get_dashboard", async (params) => {
|
|
1408
1403
|
requireApiKey();
|
|
1409
|
-
const { handleGetDashboard } = await import("./get-dashboard-
|
|
1404
|
+
const { handleGetDashboard } = await import("./get-dashboard-WSAO6IQ4.js");
|
|
1410
1405
|
return {
|
|
1411
1406
|
content: [{ type: "text", text: await handleGetDashboard(params) }]
|
|
1412
1407
|
};
|
|
@@ -1420,7 +1415,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1420
1415
|
},
|
|
1421
1416
|
withToolLogging("platform_create_dashboard", async (params) => {
|
|
1422
1417
|
requireApiKey();
|
|
1423
|
-
const { handleCreateDashboard } = await import("./create-dashboard-
|
|
1418
|
+
const { handleCreateDashboard } = await import("./create-dashboard-CPOOOIKK.js");
|
|
1424
1419
|
return {
|
|
1425
1420
|
content: [{ type: "text", text: await handleCreateDashboard(params) }]
|
|
1426
1421
|
};
|
|
@@ -1434,7 +1429,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1434
1429
|
},
|
|
1435
1430
|
withToolLogging("platform_delete_dashboard", async (params) => {
|
|
1436
1431
|
requireApiKey();
|
|
1437
|
-
const { handleDeleteDashboard } = await import("./delete-dashboard-
|
|
1432
|
+
const { handleDeleteDashboard } = await import("./delete-dashboard-3RW647WJ.js");
|
|
1438
1433
|
return {
|
|
1439
1434
|
content: [{ type: "text", text: await handleDeleteDashboard(params) }]
|
|
1440
1435
|
};
|
|
@@ -1449,7 +1444,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1449
1444
|
},
|
|
1450
1445
|
withToolLogging("platform_rename_dashboard", async (params) => {
|
|
1451
1446
|
requireApiKey();
|
|
1452
|
-
const { renameDashboard } = await import("./langwatch-api-dashboards-
|
|
1447
|
+
const { renameDashboard } = await import("./langwatch-api-dashboards-NPQM6QJI.js");
|
|
1453
1448
|
const result = await renameDashboard(params.id, { name: params.name });
|
|
1454
1449
|
return {
|
|
1455
1450
|
content: [{ type: "text", text: `Dashboard "${result.name}" renamed successfully (ID: ${result.id}).` }]
|
|
@@ -1462,7 +1457,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1462
1457
|
{},
|
|
1463
1458
|
withToolLogging("platform_list_workflows", async () => {
|
|
1464
1459
|
requireApiKey();
|
|
1465
|
-
const { handleListWorkflows } = await import("./list-workflows-
|
|
1460
|
+
const { handleListWorkflows } = await import("./list-workflows-QQZQIOHB.js");
|
|
1466
1461
|
return {
|
|
1467
1462
|
content: [{ type: "text", text: await handleListWorkflows() }]
|
|
1468
1463
|
};
|
|
@@ -1476,7 +1471,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1476
1471
|
},
|
|
1477
1472
|
withToolLogging("platform_get_workflow", async (params) => {
|
|
1478
1473
|
requireApiKey();
|
|
1479
|
-
const { handleGetWorkflow } = await import("./get-workflow-
|
|
1474
|
+
const { handleGetWorkflow } = await import("./get-workflow-YROHUQJW.js");
|
|
1480
1475
|
return {
|
|
1481
1476
|
content: [{ type: "text", text: await handleGetWorkflow(params) }]
|
|
1482
1477
|
};
|
|
@@ -1490,7 +1485,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1490
1485
|
},
|
|
1491
1486
|
withToolLogging("platform_delete_workflow", async (params) => {
|
|
1492
1487
|
requireApiKey();
|
|
1493
|
-
const { handleDeleteWorkflow } = await import("./delete-workflow-
|
|
1488
|
+
const { handleDeleteWorkflow } = await import("./delete-workflow-SHNPYSWQ.js");
|
|
1494
1489
|
return {
|
|
1495
1490
|
content: [{ type: "text", text: await handleDeleteWorkflow(params) }]
|
|
1496
1491
|
};
|
|
@@ -1505,7 +1500,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1505
1500
|
},
|
|
1506
1501
|
withToolLogging("platform_run_workflow", async (params) => {
|
|
1507
1502
|
requireApiKey();
|
|
1508
|
-
const { handleRunWorkflow } = await import("./run-workflow-
|
|
1503
|
+
const { handleRunWorkflow } = await import("./run-workflow-RWX2D752.js");
|
|
1509
1504
|
return {
|
|
1510
1505
|
content: [{ type: "text", text: await handleRunWorkflow(params) }]
|
|
1511
1506
|
};
|
|
@@ -1519,7 +1514,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1519
1514
|
},
|
|
1520
1515
|
withToolLogging("platform_list_annotations", async (params) => {
|
|
1521
1516
|
requireApiKey();
|
|
1522
|
-
const { handleListAnnotations } = await import("./list-annotations-
|
|
1517
|
+
const { handleListAnnotations } = await import("./list-annotations-6P3IWILH.js");
|
|
1523
1518
|
return {
|
|
1524
1519
|
content: [{ type: "text", text: await handleListAnnotations(params) }]
|
|
1525
1520
|
};
|
|
@@ -1536,7 +1531,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1536
1531
|
},
|
|
1537
1532
|
withToolLogging("platform_create_annotation", async (params) => {
|
|
1538
1533
|
requireApiKey();
|
|
1539
|
-
const { handleCreateAnnotation } = await import("./create-annotation-
|
|
1534
|
+
const { handleCreateAnnotation } = await import("./create-annotation-SNM2J6S4.js");
|
|
1540
1535
|
return {
|
|
1541
1536
|
content: [{ type: "text", text: await handleCreateAnnotation(params) }]
|
|
1542
1537
|
};
|
|
@@ -1550,7 +1545,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1550
1545
|
},
|
|
1551
1546
|
withToolLogging("platform_delete_annotation", async (params) => {
|
|
1552
1547
|
requireApiKey();
|
|
1553
|
-
const { handleDeleteAnnotation } = await import("./delete-annotation-
|
|
1548
|
+
const { handleDeleteAnnotation } = await import("./delete-annotation-KYDMQTZG.js");
|
|
1554
1549
|
return {
|
|
1555
1550
|
content: [{ type: "text", text: await handleDeleteAnnotation(params) }]
|
|
1556
1551
|
};
|
|
@@ -1564,7 +1559,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1564
1559
|
},
|
|
1565
1560
|
withToolLogging("platform_get_annotation", async (params) => {
|
|
1566
1561
|
requireApiKey();
|
|
1567
|
-
const { getAnnotation } = await import("./langwatch-api-annotations-
|
|
1562
|
+
const { getAnnotation } = await import("./langwatch-api-annotations-OPEXNTPF.js");
|
|
1568
1563
|
const annotation = await getAnnotation(params.id);
|
|
1569
1564
|
const lines = [
|
|
1570
1565
|
`**ID**: ${annotation.id}`,
|
|
@@ -1586,7 +1581,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1586
1581
|
},
|
|
1587
1582
|
withToolLogging("platform_list_triggers", async (params) => {
|
|
1588
1583
|
requireApiKey();
|
|
1589
|
-
const { listTriggers } = await import("./langwatch-api-triggers-
|
|
1584
|
+
const { listTriggers } = await import("./langwatch-api-triggers-XGXXT7DD.js");
|
|
1590
1585
|
const triggers = await listTriggers();
|
|
1591
1586
|
if (params.format === "json") {
|
|
1592
1587
|
return { content: [{ type: "text", text: JSON.stringify(triggers, null, 2) }] };
|
|
@@ -1619,7 +1614,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1619
1614
|
},
|
|
1620
1615
|
withToolLogging("platform_create_trigger", async (params) => {
|
|
1621
1616
|
requireApiKey();
|
|
1622
|
-
const { createTrigger } = await import("./langwatch-api-triggers-
|
|
1617
|
+
const { createTrigger } = await import("./langwatch-api-triggers-XGXXT7DD.js");
|
|
1623
1618
|
let filters = {};
|
|
1624
1619
|
if (params.filters) {
|
|
1625
1620
|
try {
|
|
@@ -1650,7 +1645,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1650
1645
|
},
|
|
1651
1646
|
withToolLogging("platform_update_trigger", async (params) => {
|
|
1652
1647
|
requireApiKey();
|
|
1653
|
-
const { updateTrigger } = await import("./langwatch-api-triggers-
|
|
1648
|
+
const { updateTrigger } = await import("./langwatch-api-triggers-XGXXT7DD.js");
|
|
1654
1649
|
const trigger = await updateTrigger(params);
|
|
1655
1650
|
return { content: [{ type: "text", text: `Trigger "${trigger.name}" updated (active: ${trigger.active}).` }] };
|
|
1656
1651
|
})
|
|
@@ -1663,7 +1658,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1663
1658
|
},
|
|
1664
1659
|
withToolLogging("platform_delete_trigger", async (params) => {
|
|
1665
1660
|
requireApiKey();
|
|
1666
|
-
const { deleteTrigger } = await import("./langwatch-api-triggers-
|
|
1661
|
+
const { deleteTrigger } = await import("./langwatch-api-triggers-XGXXT7DD.js");
|
|
1667
1662
|
const result = await deleteTrigger(params.id);
|
|
1668
1663
|
return { content: [{ type: "text", text: `Trigger ${result.id} deleted.` }] };
|
|
1669
1664
|
})
|
|
@@ -1674,7 +1669,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
|
|
|
1674
1669
|
{},
|
|
1675
1670
|
withToolLogging("platform_list_monitors", async () => {
|
|
1676
1671
|
requireApiKey();
|
|
1677
|
-
const { listMonitors } = await import("./langwatch-api-monitors-
|
|
1672
|
+
const { listMonitors } = await import("./langwatch-api-monitors-3L25OOOS.js");
|
|
1678
1673
|
const monitors = await listMonitors();
|
|
1679
1674
|
if (monitors.length === 0) {
|
|
1680
1675
|
return { content: [{ type: "text", text: "No monitors found." }] };
|
|
@@ -1701,7 +1696,7 @@ ${lines.join("\n")}`
|
|
|
1701
1696
|
},
|
|
1702
1697
|
withToolLogging("platform_get_monitor", async (params) => {
|
|
1703
1698
|
requireApiKey();
|
|
1704
|
-
const { getMonitor } = await import("./langwatch-api-monitors-
|
|
1699
|
+
const { getMonitor } = await import("./langwatch-api-monitors-3L25OOOS.js");
|
|
1705
1700
|
const m = await getMonitor(params.id);
|
|
1706
1701
|
const lines = [
|
|
1707
1702
|
`**${m.name}** (${m.id})`,
|
|
@@ -1728,7 +1723,7 @@ ${lines.join("\n")}`
|
|
|
1728
1723
|
},
|
|
1729
1724
|
withToolLogging("platform_create_monitor", async (params) => {
|
|
1730
1725
|
requireApiKey();
|
|
1731
|
-
const { createMonitor } = await import("./langwatch-api-monitors-
|
|
1726
|
+
const { createMonitor } = await import("./langwatch-api-monitors-3L25OOOS.js");
|
|
1732
1727
|
const monitor = await createMonitor(params);
|
|
1733
1728
|
return {
|
|
1734
1729
|
content: [
|
|
@@ -1752,7 +1747,7 @@ ${lines.join("\n")}`
|
|
|
1752
1747
|
},
|
|
1753
1748
|
withToolLogging("platform_update_monitor", async (params) => {
|
|
1754
1749
|
requireApiKey();
|
|
1755
|
-
const { updateMonitor } = await import("./langwatch-api-monitors-
|
|
1750
|
+
const { updateMonitor } = await import("./langwatch-api-monitors-3L25OOOS.js");
|
|
1756
1751
|
const monitor = await updateMonitor(params);
|
|
1757
1752
|
return {
|
|
1758
1753
|
content: [
|
|
@@ -1772,7 +1767,7 @@ ${lines.join("\n")}`
|
|
|
1772
1767
|
},
|
|
1773
1768
|
withToolLogging("platform_delete_monitor", async (params) => {
|
|
1774
1769
|
requireApiKey();
|
|
1775
|
-
const { deleteMonitor } = await import("./langwatch-api-monitors-
|
|
1770
|
+
const { deleteMonitor } = await import("./langwatch-api-monitors-3L25OOOS.js");
|
|
1776
1771
|
const result = await deleteMonitor(params.id);
|
|
1777
1772
|
return {
|
|
1778
1773
|
content: [
|
|
@@ -1787,7 +1782,7 @@ ${lines.join("\n")}`
|
|
|
1787
1782
|
{},
|
|
1788
1783
|
withToolLogging("platform_list_secrets", async () => {
|
|
1789
1784
|
requireApiKey();
|
|
1790
|
-
const { listSecrets } = await import("./langwatch-api-secrets-
|
|
1785
|
+
const { listSecrets } = await import("./langwatch-api-secrets-ZFURUA62.js");
|
|
1791
1786
|
const secrets = await listSecrets();
|
|
1792
1787
|
if (secrets.length === 0) {
|
|
1793
1788
|
return { content: [{ type: "text", text: "No secrets found." }] };
|
|
@@ -1815,7 +1810,7 @@ ${lines.join("\n")}`
|
|
|
1815
1810
|
},
|
|
1816
1811
|
withToolLogging("platform_create_secret", async (params) => {
|
|
1817
1812
|
requireApiKey();
|
|
1818
|
-
const { createSecret } = await import("./langwatch-api-secrets-
|
|
1813
|
+
const { createSecret } = await import("./langwatch-api-secrets-ZFURUA62.js");
|
|
1819
1814
|
const secret = await createSecret({ name: params.name, value: params.value });
|
|
1820
1815
|
return {
|
|
1821
1816
|
content: [
|
|
@@ -1836,7 +1831,7 @@ ${lines.join("\n")}`
|
|
|
1836
1831
|
},
|
|
1837
1832
|
withToolLogging("platform_update_secret", async (params) => {
|
|
1838
1833
|
requireApiKey();
|
|
1839
|
-
const { updateSecret } = await import("./langwatch-api-secrets-
|
|
1834
|
+
const { updateSecret } = await import("./langwatch-api-secrets-ZFURUA62.js");
|
|
1840
1835
|
const secret = await updateSecret({ id: params.id, value: params.value });
|
|
1841
1836
|
return {
|
|
1842
1837
|
content: [
|
|
@@ -1856,7 +1851,7 @@ ${lines.join("\n")}`
|
|
|
1856
1851
|
},
|
|
1857
1852
|
withToolLogging("platform_delete_secret", async (params) => {
|
|
1858
1853
|
requireApiKey();
|
|
1859
|
-
const { deleteSecret } = await import("./langwatch-api-secrets-
|
|
1854
|
+
const { deleteSecret } = await import("./langwatch-api-secrets-ZFURUA62.js");
|
|
1860
1855
|
const result = await deleteSecret(params.id);
|
|
1861
1856
|
return { content: [{ type: "text", text: `Secret ${result.id} deleted.` }] };
|
|
1862
1857
|
})
|
|
@@ -1959,7 +1954,7 @@ ${lines.join("\n")}`
|
|
|
1959
1954
|
async (params) => {
|
|
1960
1955
|
const { requireApiKey: requireApiKey2 } = await import("./config.js");
|
|
1961
1956
|
requireApiKey2();
|
|
1962
|
-
const { handleListDatasets } = await import("./list-datasets-
|
|
1957
|
+
const { handleListDatasets } = await import("./list-datasets-HBTH33X4.js");
|
|
1963
1958
|
return {
|
|
1964
1959
|
content: [{ type: "text", text: await handleListDatasets(params) }]
|
|
1965
1960
|
};
|
|
@@ -1977,7 +1972,7 @@ ${lines.join("\n")}`
|
|
|
1977
1972
|
async (params) => {
|
|
1978
1973
|
const { requireApiKey: requireApiKey2 } = await import("./config.js");
|
|
1979
1974
|
requireApiKey2();
|
|
1980
|
-
const { handleGetDataset } = await import("./get-dataset-
|
|
1975
|
+
const { handleGetDataset } = await import("./get-dataset-BEVNXQNF.js");
|
|
1981
1976
|
return {
|
|
1982
1977
|
content: [{ type: "text", text: await handleGetDataset(params) }]
|
|
1983
1978
|
};
|
|
@@ -1990,7 +1985,7 @@ ${lines.join("\n")}`
|
|
|
1990
1985
|
async (params) => {
|
|
1991
1986
|
const { requireApiKey: requireApiKey2 } = await import("./config.js");
|
|
1992
1987
|
requireApiKey2();
|
|
1993
|
-
const { handleCreateDataset } = await import("./create-dataset-
|
|
1988
|
+
const { handleCreateDataset } = await import("./create-dataset-BVXPVVY2.js");
|
|
1994
1989
|
return {
|
|
1995
1990
|
content: [{ type: "text", text: await handleCreateDataset(params) }]
|
|
1996
1991
|
};
|
|
@@ -2007,7 +2002,7 @@ ${lines.join("\n")}`
|
|
|
2007
2002
|
async (params) => {
|
|
2008
2003
|
const { requireApiKey: requireApiKey2 } = await import("./config.js");
|
|
2009
2004
|
requireApiKey2();
|
|
2010
|
-
const { handleUpdateDataset } = await import("./update-dataset-
|
|
2005
|
+
const { handleUpdateDataset } = await import("./update-dataset-R4MM6NNY.js");
|
|
2011
2006
|
return {
|
|
2012
2007
|
content: [{ type: "text", text: await handleUpdateDataset(params) }]
|
|
2013
2008
|
};
|
|
@@ -2022,7 +2017,7 @@ ${lines.join("\n")}`
|
|
|
2022
2017
|
async (params) => {
|
|
2023
2018
|
const { requireApiKey: requireApiKey2 } = await import("./config.js");
|
|
2024
2019
|
requireApiKey2();
|
|
2025
|
-
const { handleDeleteDataset } = await import("./delete-dataset-
|
|
2020
|
+
const { handleDeleteDataset } = await import("./delete-dataset-SZAHFHHS.js");
|
|
2026
2021
|
return {
|
|
2027
2022
|
content: [{ type: "text", text: await handleDeleteDataset(params) }]
|
|
2028
2023
|
};
|
|
@@ -2040,7 +2035,7 @@ ${lines.join("\n")}`
|
|
|
2040
2035
|
async (params) => {
|
|
2041
2036
|
const { requireApiKey: requireApiKey2 } = await import("./config.js");
|
|
2042
2037
|
requireApiKey2();
|
|
2043
|
-
const { handleListDatasetRecords } = await import("./list-dataset-records-
|
|
2038
|
+
const { handleListDatasetRecords } = await import("./list-dataset-records-GWWVOCII.js");
|
|
2044
2039
|
return {
|
|
2045
2040
|
content: [
|
|
2046
2041
|
{ type: "text", text: await handleListDatasetRecords(params) }
|
|
@@ -2058,7 +2053,7 @@ ${lines.join("\n")}`
|
|
|
2058
2053
|
async (params) => {
|
|
2059
2054
|
const { requireApiKey: requireApiKey2 } = await import("./config.js");
|
|
2060
2055
|
requireApiKey2();
|
|
2061
|
-
const { handleCreateDatasetRecords } = await import("./create-dataset-records-
|
|
2056
|
+
const { handleCreateDatasetRecords } = await import("./create-dataset-records-S7VFIIMR.js");
|
|
2062
2057
|
return {
|
|
2063
2058
|
content: [
|
|
2064
2059
|
{ type: "text", text: await handleCreateDatasetRecords(params) }
|
|
@@ -2077,7 +2072,7 @@ ${lines.join("\n")}`
|
|
|
2077
2072
|
async (params) => {
|
|
2078
2073
|
const { requireApiKey: requireApiKey2 } = await import("./config.js");
|
|
2079
2074
|
requireApiKey2();
|
|
2080
|
-
const { handleUpdateDatasetRecord } = await import("./update-dataset-record-
|
|
2075
|
+
const { handleUpdateDatasetRecord } = await import("./update-dataset-record-FN4BL5P4.js");
|
|
2081
2076
|
return {
|
|
2082
2077
|
content: [
|
|
2083
2078
|
{ type: "text", text: await handleUpdateDatasetRecord(params) }
|
|
@@ -2095,7 +2090,7 @@ ${lines.join("\n")}`
|
|
|
2095
2090
|
async (params) => {
|
|
2096
2091
|
const { requireApiKey: requireApiKey2 } = await import("./config.js");
|
|
2097
2092
|
requireApiKey2();
|
|
2098
|
-
const { handleDeleteDatasetRecords } = await import("./delete-dataset-records-
|
|
2093
|
+
const { handleDeleteDatasetRecords } = await import("./delete-dataset-records-ISHKGEBH.js");
|
|
2099
2094
|
return {
|
|
2100
2095
|
content: [
|
|
2101
2096
|
{ type: "text", text: await handleDeleteDatasetRecords(params) }
|
|
@@ -2112,7 +2107,7 @@ ${lines.join("\n")}`
|
|
|
2112
2107
|
},
|
|
2113
2108
|
withToolLogging("platform_list_projects", async (params) => {
|
|
2114
2109
|
requireApiKey();
|
|
2115
|
-
const { handleListProjects } = await import("./list-projects-
|
|
2110
|
+
const { handleListProjects } = await import("./list-projects-OXJC2NW5.js");
|
|
2116
2111
|
return {
|
|
2117
2112
|
content: [{ type: "text", text: await handleListProjects(params) }]
|
|
2118
2113
|
};
|
|
@@ -2126,7 +2121,7 @@ ${lines.join("\n")}`
|
|
|
2126
2121
|
},
|
|
2127
2122
|
withToolLogging("platform_get_project", async (params) => {
|
|
2128
2123
|
requireApiKey();
|
|
2129
|
-
const { handleGetProject } = await import("./get-project-
|
|
2124
|
+
const { handleGetProject } = await import("./get-project-H4V3GYRQ.js");
|
|
2130
2125
|
return {
|
|
2131
2126
|
content: [{ type: "text", text: await handleGetProject(params) }]
|
|
2132
2127
|
};
|
|
@@ -2146,7 +2141,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
|
|
|
2146
2141
|
},
|
|
2147
2142
|
withToolLogging("platform_create_project", async (params) => {
|
|
2148
2143
|
requireApiKey();
|
|
2149
|
-
const { handleCreateProject } = await import("./create-project-
|
|
2144
|
+
const { handleCreateProject } = await import("./create-project-BF7LMZH5.js");
|
|
2150
2145
|
return {
|
|
2151
2146
|
content: [{ type: "text", text: await handleCreateProject(params) }]
|
|
2152
2147
|
};
|
|
@@ -2164,7 +2159,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
|
|
|
2164
2159
|
},
|
|
2165
2160
|
withToolLogging("platform_update_project", async (params) => {
|
|
2166
2161
|
requireApiKey();
|
|
2167
|
-
const { handleUpdateProject } = await import("./update-project-
|
|
2162
|
+
const { handleUpdateProject } = await import("./update-project-H53IHRBB.js");
|
|
2168
2163
|
return {
|
|
2169
2164
|
content: [{ type: "text", text: await handleUpdateProject(params) }]
|
|
2170
2165
|
};
|
|
@@ -2178,7 +2173,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
|
|
|
2178
2173
|
},
|
|
2179
2174
|
withToolLogging("platform_archive_project", async (params) => {
|
|
2180
2175
|
requireApiKey();
|
|
2181
|
-
const { handleArchiveProject } = await import("./archive-project-
|
|
2176
|
+
const { handleArchiveProject } = await import("./archive-project-KAZFHR4A.js");
|
|
2182
2177
|
return {
|
|
2183
2178
|
content: [{ type: "text", text: await handleArchiveProject(params) }]
|
|
2184
2179
|
};
|
|
@@ -2190,7 +2185,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
|
|
|
2190
2185
|
{},
|
|
2191
2186
|
withToolLogging("platform_list_api_keys", async () => {
|
|
2192
2187
|
requireApiKey();
|
|
2193
|
-
const { handleListApiKeys } = await import("./list-api-keys-
|
|
2188
|
+
const { handleListApiKeys } = await import("./list-api-keys-JJI62KD2.js");
|
|
2194
2189
|
return {
|
|
2195
2190
|
content: [{ type: "text", text: await handleListApiKeys() }]
|
|
2196
2191
|
};
|
|
@@ -2218,7 +2213,7 @@ The token is returned once and cannot be retrieved again.`,
|
|
|
2218
2213
|
},
|
|
2219
2214
|
withToolLogging("platform_create_api_key", async (params) => {
|
|
2220
2215
|
requireApiKey();
|
|
2221
|
-
const { handleCreateApiKey } = await import("./create-api-key-
|
|
2216
|
+
const { handleCreateApiKey } = await import("./create-api-key-23MXYC2L.js");
|
|
2222
2217
|
return {
|
|
2223
2218
|
content: [{ type: "text", text: await handleCreateApiKey(params) }]
|
|
2224
2219
|
};
|
|
@@ -2232,7 +2227,7 @@ The token is returned once and cannot be retrieved again.`,
|
|
|
2232
2227
|
},
|
|
2233
2228
|
withToolLogging("platform_revoke_api_key", async (params) => {
|
|
2234
2229
|
requireApiKey();
|
|
2235
|
-
const { handleRevokeApiKey } = await import("./revoke-api-key-
|
|
2230
|
+
const { handleRevokeApiKey } = await import("./revoke-api-key-TONB4ADQ.js");
|
|
2236
2231
|
return {
|
|
2237
2232
|
content: [{ type: "text", text: await handleRevokeApiKey(params) }]
|
|
2238
2233
|
};
|
|
@@ -2243,4 +2238,4 @@ The token is returned once and cannot be retrieved again.`,
|
|
|
2243
2238
|
export {
|
|
2244
2239
|
createMcpServer
|
|
2245
2240
|
};
|
|
2246
|
-
//# sourceMappingURL=chunk-
|
|
2241
|
+
//# sourceMappingURL=chunk-HRFQAFPR.js.map
|