@avallon-labs/mcp 52.8.0 → 53.0.0-staging.1234
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
CHANGED
|
@@ -849,6 +849,29 @@ var listCalls = async (params, options) => {
|
|
|
849
849
|
const data = body ? JSON.parse(body) : {};
|
|
850
850
|
return { data, status: res.status, headers: res.headers };
|
|
851
851
|
};
|
|
852
|
+
var getCreateCallUrl = () => {
|
|
853
|
+
return `/v1/calls`;
|
|
854
|
+
};
|
|
855
|
+
var createCall = async (createCallBody, options) => {
|
|
856
|
+
const getHeaders = (h) => {
|
|
857
|
+
if (!h) return {};
|
|
858
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
859
|
+
if (Array.isArray(h)) return Object.fromEntries(h);
|
|
860
|
+
return h;
|
|
861
|
+
};
|
|
862
|
+
const res = await fetch(
|
|
863
|
+
getCreateCallUrl(),
|
|
864
|
+
{
|
|
865
|
+
...options,
|
|
866
|
+
method: "POST",
|
|
867
|
+
headers: { "Content-Type": "application/json", ...getHeaders(options?.headers) },
|
|
868
|
+
body: JSON.stringify(createCallBody)
|
|
869
|
+
}
|
|
870
|
+
);
|
|
871
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
872
|
+
const data = body ? JSON.parse(body) : {};
|
|
873
|
+
return { data, status: res.status, headers: res.headers };
|
|
874
|
+
};
|
|
852
875
|
var getGetCallUrl = (id, params) => {
|
|
853
876
|
const normalizedParams = new URLSearchParams();
|
|
854
877
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -871,6 +894,21 @@ var getCall = async (id, params, options) => {
|
|
|
871
894
|
const data = body ? JSON.parse(body) : {};
|
|
872
895
|
return { data, status: res.status, headers: res.headers };
|
|
873
896
|
};
|
|
897
|
+
var getCancelCallUrl = (id) => {
|
|
898
|
+
return `/v1/calls/${id}/cancel`;
|
|
899
|
+
};
|
|
900
|
+
var cancelCall = async (id, options) => {
|
|
901
|
+
const res = await fetch(
|
|
902
|
+
getCancelCallUrl(id),
|
|
903
|
+
{
|
|
904
|
+
...options,
|
|
905
|
+
method: "POST"
|
|
906
|
+
}
|
|
907
|
+
);
|
|
908
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
909
|
+
const data = body ? JSON.parse(body) : {};
|
|
910
|
+
return { data, status: res.status, headers: res.headers };
|
|
911
|
+
};
|
|
874
912
|
var getGetCallEvaluationUrl = (id) => {
|
|
875
913
|
return `/v1/calls/${id}/evaluation`;
|
|
876
914
|
};
|
|
@@ -4527,6 +4565,29 @@ var listCallsHandler = async (args, options) => {
|
|
|
4527
4565
|
structuredContent: res.data
|
|
4528
4566
|
};
|
|
4529
4567
|
};
|
|
4568
|
+
var createCallHandler = async (args, options) => {
|
|
4569
|
+
const res = await createCall(args.bodyParams, options);
|
|
4570
|
+
if (res.status >= 400) {
|
|
4571
|
+
return {
|
|
4572
|
+
content: [
|
|
4573
|
+
{
|
|
4574
|
+
type: "text",
|
|
4575
|
+
text: JSON.stringify(res.data ?? null)
|
|
4576
|
+
}
|
|
4577
|
+
],
|
|
4578
|
+
isError: true
|
|
4579
|
+
};
|
|
4580
|
+
}
|
|
4581
|
+
return {
|
|
4582
|
+
content: [
|
|
4583
|
+
{
|
|
4584
|
+
type: "text",
|
|
4585
|
+
text: JSON.stringify(res.data ?? null)
|
|
4586
|
+
}
|
|
4587
|
+
],
|
|
4588
|
+
structuredContent: res.data
|
|
4589
|
+
};
|
|
4590
|
+
};
|
|
4530
4591
|
var getCallHandler = async (args, options) => {
|
|
4531
4592
|
const res = await getCall(args.pathParams.id, args.queryParams, options);
|
|
4532
4593
|
if (res.status >= 400) {
|
|
@@ -4550,6 +4611,29 @@ var getCallHandler = async (args, options) => {
|
|
|
4550
4611
|
structuredContent: res.data
|
|
4551
4612
|
};
|
|
4552
4613
|
};
|
|
4614
|
+
var cancelCallHandler = async (args, options) => {
|
|
4615
|
+
const res = await cancelCall(args.pathParams.id, options);
|
|
4616
|
+
if (res.status >= 400) {
|
|
4617
|
+
return {
|
|
4618
|
+
content: [
|
|
4619
|
+
{
|
|
4620
|
+
type: "text",
|
|
4621
|
+
text: JSON.stringify(res.data ?? null)
|
|
4622
|
+
}
|
|
4623
|
+
],
|
|
4624
|
+
isError: true
|
|
4625
|
+
};
|
|
4626
|
+
}
|
|
4627
|
+
return {
|
|
4628
|
+
content: [
|
|
4629
|
+
{
|
|
4630
|
+
type: "text",
|
|
4631
|
+
text: JSON.stringify(res.data ?? null)
|
|
4632
|
+
}
|
|
4633
|
+
],
|
|
4634
|
+
structuredContent: res.data
|
|
4635
|
+
};
|
|
4636
|
+
};
|
|
4553
4637
|
var getCallEvaluationHandler = async (args, options) => {
|
|
4554
4638
|
const res = await getCallEvaluation(args.pathParams.id, options);
|
|
4555
4639
|
if (res.status >= 400) {
|
|
@@ -8563,8 +8647,11 @@ var ListCallsQueryParams = zod.object({
|
|
|
8563
8647
|
"agent_name": zod.string().min(1).optional(),
|
|
8564
8648
|
"job_id": zod.string().uuid().optional(),
|
|
8565
8649
|
"direction": zod.enum(["INBOUND", "OUTBOUND"]).optional(),
|
|
8650
|
+
"state": zod.string().optional(),
|
|
8566
8651
|
"environment": zod.enum(["live", "test"]).optional(),
|
|
8567
8652
|
"status": zod.enum(["COMPLETED", "TRANSFERRED", "DISCONNECTED", "UNEXPECTED_SHUTDOWN"]).optional(),
|
|
8653
|
+
"scheduled_after": zod.string().datetime({ "offset": true }).optional(),
|
|
8654
|
+
"scheduled_before": zod.string().datetime({ "offset": true }).optional(),
|
|
8568
8655
|
"started_after": zod.string().datetime({ "offset": true }).optional(),
|
|
8569
8656
|
"started_before": zod.string().datetime({ "offset": true }).optional(),
|
|
8570
8657
|
"phone_number": zod.string().min(1).optional(),
|
|
@@ -8576,18 +8663,21 @@ var ListCallsResponse = zod.object({
|
|
|
8576
8663
|
"id": zod.string(),
|
|
8577
8664
|
"external_call_id": zod.union([zod.string(), zod.null()]),
|
|
8578
8665
|
"direction": zod.enum(["INBOUND", "OUTBOUND"]),
|
|
8666
|
+
"state": zod.enum(["scheduled", "in_progress", "ended", "canceled", "failed", "expired"]).describe("Where the call is in its lifecycle. Calls that haven't started have no `started_at` or `ended_at`."),
|
|
8579
8667
|
"agent_id": zod.string(),
|
|
8580
8668
|
"environment": zod.enum(["live", "test"]).describe("Release channel that handled the call. Test calls hand over to the worker's test version."),
|
|
8581
8669
|
"job_id": zod.union([zod.string(), zod.null()]),
|
|
8582
8670
|
"from_phone_number": zod.union([zod.string(), zod.null()]),
|
|
8583
8671
|
"to_phone_number": zod.union([zod.string(), zod.null()]),
|
|
8584
|
-
"
|
|
8585
|
-
"
|
|
8672
|
+
"scheduled_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8673
|
+
"schedule_window_minutes": zod.union([zod.number(), zod.null()]),
|
|
8674
|
+
"started_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8675
|
+
"ended_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8586
8676
|
"duration_seconds": zod.union([zod.number(), zod.null()]),
|
|
8587
8677
|
"completion_status": zod.union([zod.string().describe("Call completion status"), zod.null()]),
|
|
8588
8678
|
"termination_initiator": zod.union([zod.string(), zod.null()]),
|
|
8589
8679
|
"disconnect_reason": zod.union([zod.string(), zod.null()]),
|
|
8590
|
-
"ended_reason": zod.string(),
|
|
8680
|
+
"ended_reason": zod.union([zod.string(), zod.null()]),
|
|
8591
8681
|
"metadata": zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]),
|
|
8592
8682
|
"evaluation": zod.union([zod.object({
|
|
8593
8683
|
"status": zod.string(),
|
|
@@ -8601,6 +8691,45 @@ var ListCallsResponse = zod.object({
|
|
|
8601
8691
|
"total": zod.number()
|
|
8602
8692
|
})
|
|
8603
8693
|
});
|
|
8694
|
+
var createCallBodyPayloadDefault = {};
|
|
8695
|
+
var CreateCallBody = zod.object({
|
|
8696
|
+
"agent_id": zod.string().uuid(),
|
|
8697
|
+
"to_phone_number": zod.string(),
|
|
8698
|
+
"scheduled_at": zod.string().optional().describe("When to place the call. Omit it to dial right away."),
|
|
8699
|
+
"payload": zod.record(zod.string(), zod.unknown()).default(createCallBodyPayloadDefault).describe("Values for the agent's prompt placeholders."),
|
|
8700
|
+
"metadata": zod.record(zod.string(), zod.unknown()).optional(),
|
|
8701
|
+
"environment": zod.enum(["live", "test"]).optional().describe("Promoted environment the call dispatches against (agent configuration and phone binding). Defaults to `live`. TEST requires an active TEST promotion.")
|
|
8702
|
+
});
|
|
8703
|
+
var CreateCallResponse = zod.object({
|
|
8704
|
+
"data": zod.object({
|
|
8705
|
+
"id": zod.string(),
|
|
8706
|
+
"external_call_id": zod.union([zod.string(), zod.null()]),
|
|
8707
|
+
"direction": zod.enum(["INBOUND", "OUTBOUND"]),
|
|
8708
|
+
"state": zod.enum(["scheduled", "in_progress", "ended", "canceled", "failed", "expired"]).describe("Where the call is in its lifecycle. Calls that haven't started have no `started_at` or `ended_at`."),
|
|
8709
|
+
"agent_id": zod.string(),
|
|
8710
|
+
"environment": zod.enum(["live", "test"]).describe("Release channel that handled the call. Test calls hand over to the worker's test version."),
|
|
8711
|
+
"job_id": zod.union([zod.string(), zod.null()]),
|
|
8712
|
+
"from_phone_number": zod.union([zod.string(), zod.null()]),
|
|
8713
|
+
"to_phone_number": zod.union([zod.string(), zod.null()]),
|
|
8714
|
+
"scheduled_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8715
|
+
"schedule_window_minutes": zod.union([zod.number(), zod.null()]),
|
|
8716
|
+
"started_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8717
|
+
"ended_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8718
|
+
"duration_seconds": zod.union([zod.number(), zod.null()]),
|
|
8719
|
+
"completion_status": zod.union([zod.string().describe("Call completion status"), zod.null()]),
|
|
8720
|
+
"termination_initiator": zod.union([zod.string(), zod.null()]),
|
|
8721
|
+
"disconnect_reason": zod.union([zod.string(), zod.null()]),
|
|
8722
|
+
"ended_reason": zod.union([zod.string(), zod.null()]),
|
|
8723
|
+
"metadata": zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]),
|
|
8724
|
+
"evaluation": zod.union([zod.object({
|
|
8725
|
+
"status": zod.string(),
|
|
8726
|
+
"score": zod.union([zod.number(), zod.null()]),
|
|
8727
|
+
"passed": zod.union([zod.boolean(), zod.null()])
|
|
8728
|
+
}), zod.null()]),
|
|
8729
|
+
"created_at": zod.string().datetime({ "offset": true })
|
|
8730
|
+
}),
|
|
8731
|
+
"message": zod.string()
|
|
8732
|
+
});
|
|
8604
8733
|
var GetCallParams = zod.object({
|
|
8605
8734
|
"id": zod.string().uuid()
|
|
8606
8735
|
});
|
|
@@ -8612,18 +8741,22 @@ var GetCallResponse = zod.object({
|
|
|
8612
8741
|
"id": zod.string(),
|
|
8613
8742
|
"external_call_id": zod.union([zod.string(), zod.null()]),
|
|
8614
8743
|
"direction": zod.enum(["INBOUND", "OUTBOUND"]),
|
|
8744
|
+
"state": zod.enum(["scheduled", "in_progress", "ended", "canceled", "failed", "expired"]).describe("Where the call is in its lifecycle. Calls that haven't started have no `started_at` or `ended_at`."),
|
|
8615
8745
|
"agent_id": zod.string(),
|
|
8616
8746
|
"environment": zod.enum(["live", "test"]).describe("Release channel that handled the call. Test calls hand over to the worker's test version."),
|
|
8617
8747
|
"job_id": zod.union([zod.string(), zod.null()]),
|
|
8618
8748
|
"from_phone_number": zod.union([zod.string(), zod.null()]),
|
|
8619
8749
|
"to_phone_number": zod.union([zod.string(), zod.null()]),
|
|
8620
|
-
"
|
|
8621
|
-
"
|
|
8750
|
+
"scheduled_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8751
|
+
"schedule_window_minutes": zod.union([zod.number(), zod.null()]),
|
|
8752
|
+
"payload": zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]).describe("Variables the call was scheduled with; null for calls that were not scheduled."),
|
|
8753
|
+
"started_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8754
|
+
"ended_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8622
8755
|
"duration_seconds": zod.union([zod.number(), zod.null()]),
|
|
8623
8756
|
"completion_status": zod.union([zod.string().describe("Call completion status"), zod.null()]),
|
|
8624
8757
|
"termination_initiator": zod.union([zod.string(), zod.null()]),
|
|
8625
8758
|
"disconnect_reason": zod.union([zod.string(), zod.null()]),
|
|
8626
|
-
"ended_reason": zod.string(),
|
|
8759
|
+
"ended_reason": zod.union([zod.string(), zod.null()]),
|
|
8627
8760
|
"file_url": zod.union([zod.string(), zod.null()]),
|
|
8628
8761
|
"metadata": zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]),
|
|
8629
8762
|
"evaluation": zod.union([zod.object({
|
|
@@ -8649,6 +8782,39 @@ var GetCallResponse = zod.object({
|
|
|
8649
8782
|
}),
|
|
8650
8783
|
"message": zod.string()
|
|
8651
8784
|
});
|
|
8785
|
+
var CancelCallParams = zod.object({
|
|
8786
|
+
"id": zod.string().uuid()
|
|
8787
|
+
});
|
|
8788
|
+
var CancelCallResponse = zod.object({
|
|
8789
|
+
"data": zod.object({
|
|
8790
|
+
"id": zod.string(),
|
|
8791
|
+
"external_call_id": zod.union([zod.string(), zod.null()]),
|
|
8792
|
+
"direction": zod.enum(["INBOUND", "OUTBOUND"]),
|
|
8793
|
+
"state": zod.enum(["scheduled", "in_progress", "ended", "canceled", "failed", "expired"]).describe("Where the call is in its lifecycle. Calls that haven't started have no `started_at` or `ended_at`."),
|
|
8794
|
+
"agent_id": zod.string(),
|
|
8795
|
+
"environment": zod.enum(["live", "test"]).describe("Release channel that handled the call. Test calls hand over to the worker's test version."),
|
|
8796
|
+
"job_id": zod.union([zod.string(), zod.null()]),
|
|
8797
|
+
"from_phone_number": zod.union([zod.string(), zod.null()]),
|
|
8798
|
+
"to_phone_number": zod.union([zod.string(), zod.null()]),
|
|
8799
|
+
"scheduled_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8800
|
+
"schedule_window_minutes": zod.union([zod.number(), zod.null()]),
|
|
8801
|
+
"started_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8802
|
+
"ended_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
8803
|
+
"duration_seconds": zod.union([zod.number(), zod.null()]),
|
|
8804
|
+
"completion_status": zod.union([zod.string().describe("Call completion status"), zod.null()]),
|
|
8805
|
+
"termination_initiator": zod.union([zod.string(), zod.null()]),
|
|
8806
|
+
"disconnect_reason": zod.union([zod.string(), zod.null()]),
|
|
8807
|
+
"ended_reason": zod.union([zod.string(), zod.null()]),
|
|
8808
|
+
"metadata": zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]),
|
|
8809
|
+
"evaluation": zod.union([zod.object({
|
|
8810
|
+
"status": zod.string(),
|
|
8811
|
+
"score": zod.union([zod.number(), zod.null()]),
|
|
8812
|
+
"passed": zod.union([zod.boolean(), zod.null()])
|
|
8813
|
+
}), zod.null()]),
|
|
8814
|
+
"created_at": zod.string().datetime({ "offset": true })
|
|
8815
|
+
}),
|
|
8816
|
+
"message": zod.string()
|
|
8817
|
+
});
|
|
8652
8818
|
var GetCallEvaluationParams = zod.object({
|
|
8653
8819
|
"id": zod.string().uuid()
|
|
8654
8820
|
});
|
|
@@ -12691,7 +12857,7 @@ var createMcpServer = (options) => {
|
|
|
12691
12857
|
"scheduleJob",
|
|
12692
12858
|
{
|
|
12693
12859
|
title: "Schedule an outbound job",
|
|
12694
|
-
description: "
|
|
12860
|
+
description: "**Deprecated:** use `POST /v1/calls`, which returns the call itself.\n\nSchedule a new outbound call job for a voice agent.\n\nThe job can be scheduled for a future time or triggered immediately with `trigger_immediately: true`.\n\n**Scheduling:**\n\nWhen scheduling for a future time, provide `scheduled_at` (ISO 8601) and optionally `schedule_window_minutes` (minimum 10 minutes).\n\n**Environment:**\n\n`environment` selects which promoted agent configuration and phone binding the call dispatches against (`live` or `test`). Defaults to `live`. Scheduling fails when the selected environment has no active promotion.\n\nFor compatibility this endpoint is also available using the following (deprecated) paths:\n`POST /v1/agents/{id}/jobs`",
|
|
12695
12861
|
inputSchema: {
|
|
12696
12862
|
pathParams: ScheduleJobParams,
|
|
12697
12863
|
bodyParams: ScheduleJobBody.optional()
|
|
@@ -12708,7 +12874,7 @@ var createMcpServer = (options) => {
|
|
|
12708
12874
|
"listJobs",
|
|
12709
12875
|
{
|
|
12710
12876
|
title: "List outbound jobs",
|
|
12711
|
-
description: "
|
|
12877
|
+
description: "**Deprecated:** use `GET /v1/calls?state=scheduled,in_progress,ended,canceled,failed`, which also filters by `scheduled_after` / `scheduled_before`. `GET /v1/calls/{id}` returns a call's `payload`.\n\nList all outbound jobs with pagination and filtering.\n\n**Filtering:**\n\n- Filter by agent ID, status, or scheduled time range.\n- Multiple statuses can be comma-separated (e.g. `status=pending,queued`).\n\nFor compatibility this endpoint is also available using the following (deprecated) paths:\n`GET /v1/agents/jobs`",
|
|
12712
12878
|
inputSchema: {
|
|
12713
12879
|
queryParams: ListJobsQueryParams
|
|
12714
12880
|
},
|
|
@@ -12724,7 +12890,7 @@ var createMcpServer = (options) => {
|
|
|
12724
12890
|
"cancelJob",
|
|
12725
12891
|
{
|
|
12726
12892
|
title: "Cancel an outbound job",
|
|
12727
|
-
description: "
|
|
12893
|
+
description: "**Deprecated:** use `POST /v1/calls/{id}/cancel`.\n\nCancel a pending or queued outbound job. Jobs that are already in progress or completed cannot be canceled.\n\nFor compatibility this endpoint is also available using the following (deprecated) paths:\n`POST /v1/agents/jobs/{id}/cancel`",
|
|
12728
12894
|
inputSchema: {
|
|
12729
12895
|
pathParams: CancelJobParams
|
|
12730
12896
|
},
|
|
@@ -13090,6 +13256,22 @@ var createMcpServer = (options) => {
|
|
|
13090
13256
|
signal: options?.signal ? AbortSignal.any([options.signal, ctx.signal]) : ctx.signal
|
|
13091
13257
|
})
|
|
13092
13258
|
);
|
|
13259
|
+
tools.createCall = server2.registerTool(
|
|
13260
|
+
"createCall",
|
|
13261
|
+
{
|
|
13262
|
+
title: "Create an outbound call",
|
|
13263
|
+
description: "Create an outbound call for a voice agent, either for later or right away.\n\n**Scheduling:**\n\nProvide `scheduled_at` (ISO 8601) to place the call later. It is dialed within 60 minutes of that time, or it expires. Omit `scheduled_at` to dial immediately.\n\n**Lifecycle:**\n\nThe call starts as `scheduled` and moves to `in_progress` when it is dialed, then `ended`. A scheduled call can be canceled with `POST /v1/calls/{id}/cancel`.\n\n**Environment:**\n\n`environment` selects which promoted agent configuration and phone binding the call dispatches against (`live` or `test`). Defaults to `live`.",
|
|
13264
|
+
inputSchema: {
|
|
13265
|
+
bodyParams: CreateCallBody.optional()
|
|
13266
|
+
},
|
|
13267
|
+
outputSchema: CreateCallResponse,
|
|
13268
|
+
annotations: { destructiveHint: true }
|
|
13269
|
+
},
|
|
13270
|
+
(args, ctx) => createCallHandler(args, {
|
|
13271
|
+
...options,
|
|
13272
|
+
signal: options?.signal ? AbortSignal.any([options.signal, ctx.signal]) : ctx.signal
|
|
13273
|
+
})
|
|
13274
|
+
);
|
|
13093
13275
|
tools.getCall = server2.registerTool(
|
|
13094
13276
|
"getCall",
|
|
13095
13277
|
{
|
|
@@ -13107,6 +13289,22 @@ var createMcpServer = (options) => {
|
|
|
13107
13289
|
signal: options?.signal ? AbortSignal.any([options.signal, ctx.signal]) : ctx.signal
|
|
13108
13290
|
})
|
|
13109
13291
|
);
|
|
13292
|
+
tools.cancelCall = server2.registerTool(
|
|
13293
|
+
"cancelCall",
|
|
13294
|
+
{
|
|
13295
|
+
title: "Cancel a scheduled call",
|
|
13296
|
+
description: "Cancel an outbound call that is still `scheduled`. Canceling a call that is already canceled returns it unchanged; a call that is in progress or has ended cannot be canceled.",
|
|
13297
|
+
inputSchema: {
|
|
13298
|
+
pathParams: CancelCallParams
|
|
13299
|
+
},
|
|
13300
|
+
outputSchema: CancelCallResponse,
|
|
13301
|
+
annotations: { destructiveHint: true }
|
|
13302
|
+
},
|
|
13303
|
+
(args, ctx) => cancelCallHandler(args, {
|
|
13304
|
+
...options,
|
|
13305
|
+
signal: options?.signal ? AbortSignal.any([options.signal, ctx.signal]) : ctx.signal
|
|
13306
|
+
})
|
|
13307
|
+
);
|
|
13110
13308
|
tools.getCallEvaluation = server2.registerTool(
|
|
13111
13309
|
"getCallEvaluation",
|
|
13112
13310
|
{
|
|
@@ -15324,4 +15522,4 @@ var transport = new StdioServerTransport();
|
|
|
15324
15522
|
server.connect(transport).then(() => {
|
|
15325
15523
|
console.error("MCP server running on stdio");
|
|
15326
15524
|
}).catch(console.error);
|
|
15327
|
-
//# sourceMappingURL=server-
|
|
15525
|
+
//# sourceMappingURL=server-ULOICZ5C.js.map
|