@ancplua/qyl-api-schema 0.5.5 → 0.5.7
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/api/runner.tsp +9 -6
- package/api/streaming.tsp +1 -1
- package/common/types.tsp +18 -13
- package/generated/json-schema/qyl-api-schema.json +313 -77
- package/generated/openapi/qyl.openapi.json +657 -81
- package/generated/ts-runtime/api.d.ts +58 -21
- package/models/runner-mcp.tsp +89 -20
- package/package.json +5 -2
package/api/runner.tsp
CHANGED
|
@@ -28,35 +28,35 @@ namespace Qyl.Api.Contracts.Runner {
|
|
|
28
28
|
@tag("Runner resources")
|
|
29
29
|
interface RunnerResourcesApi {
|
|
30
30
|
@get
|
|
31
|
-
snapshot(): RunnerResourceState[] | ForbiddenError | InternalServerError;
|
|
31
|
+
snapshot(): RunnerResourceState[] | ForbiddenError | ServiceUnavailableError | InternalServerError;
|
|
32
32
|
|
|
33
33
|
@get
|
|
34
34
|
@route("/stream")
|
|
35
|
-
stream(): SSEStream<RunnerResourceEvents> | ForbiddenError | InternalServerError;
|
|
35
|
+
stream(): SSEStream<RunnerResourceEvents> | ForbiddenError | ServiceUnavailableError | InternalServerError;
|
|
36
36
|
|
|
37
37
|
@get
|
|
38
38
|
@route("/{resource}/logs")
|
|
39
39
|
logs(
|
|
40
40
|
@path resource: string,
|
|
41
|
-
): RunnerLogLine[] | ForbiddenError | NotFoundError | InternalServerError;
|
|
41
|
+
): RunnerLogLine[] | ForbiddenError | NotFoundError | ServiceUnavailableError | InternalServerError;
|
|
42
42
|
|
|
43
43
|
@get
|
|
44
44
|
@route("/{resource}/logs/stream")
|
|
45
45
|
streamLogs(
|
|
46
46
|
@path resource: string,
|
|
47
|
-
): SSEStream<RunnerLogEvents> | ForbiddenError | NotFoundError | InternalServerError;
|
|
47
|
+
): SSEStream<RunnerLogEvents> | ForbiddenError | NotFoundError | ServiceUnavailableError | InternalServerError;
|
|
48
48
|
|
|
49
49
|
@post
|
|
50
50
|
@route("/{resource}/restart")
|
|
51
51
|
restart(
|
|
52
52
|
@path resource: string,
|
|
53
|
-
): RunnerActionAccepted | ForbiddenError | NotFoundError | ConflictError | InternalServerError;
|
|
53
|
+
): RunnerActionAccepted | ForbiddenError | NotFoundError | ConflictError | ServiceUnavailableError | InternalServerError;
|
|
54
54
|
|
|
55
55
|
@post
|
|
56
56
|
@route("/{resource}/stop")
|
|
57
57
|
stop(
|
|
58
58
|
@path resource: string,
|
|
59
|
-
): RunnerActionAccepted | ForbiddenError | NotFoundError | ConflictError | InternalServerError;
|
|
59
|
+
): RunnerActionAccepted | ForbiddenError | NotFoundError | ConflictError | ServiceUnavailableError | InternalServerError;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
@route("/runner/mcp/{resource}")
|
|
@@ -71,6 +71,7 @@ namespace Qyl.Api.Contracts.Runner {
|
|
|
71
71
|
| NotFoundError
|
|
72
72
|
| ConflictError
|
|
73
73
|
| BadGatewayError
|
|
74
|
+
| ServiceUnavailableError
|
|
74
75
|
| InternalServerError;
|
|
75
76
|
|
|
76
77
|
@post
|
|
@@ -84,6 +85,7 @@ namespace Qyl.Api.Contracts.Runner {
|
|
|
84
85
|
| NotFoundError
|
|
85
86
|
| ConflictError
|
|
86
87
|
| BadGatewayError
|
|
88
|
+
| ServiceUnavailableError
|
|
87
89
|
| InternalServerError;
|
|
88
90
|
|
|
89
91
|
@post
|
|
@@ -97,6 +99,7 @@ namespace Qyl.Api.Contracts.Runner {
|
|
|
97
99
|
| NotFoundError
|
|
98
100
|
| ConflictError
|
|
99
101
|
| BadGatewayError
|
|
102
|
+
| ServiceUnavailableError
|
|
100
103
|
| InternalServerError;
|
|
101
104
|
}
|
|
102
105
|
}
|
package/api/streaming.tsp
CHANGED
|
@@ -45,5 +45,5 @@ interface StreamingApi {
|
|
|
45
45
|
@query serviceName?: string,
|
|
46
46
|
@query @minValue(1) @maxValue(24) minSeverity?: int32,
|
|
47
47
|
@query query?: string,
|
|
48
|
-
): SSEStream<LogEvents> | ValidationError | UnauthorizedError | InternalServerError;
|
|
48
|
+
): SSEStream<LogEvents> | ValidationError | UnauthorizedError | ServiceUnavailableError | InternalServerError;
|
|
49
49
|
}
|
package/common/types.tsp
CHANGED
|
@@ -209,7 +209,18 @@ scalar LanguageCode extends string;
|
|
|
209
209
|
// OpenTelemetry Attribute Value Types
|
|
210
210
|
// =============================================================================
|
|
211
211
|
|
|
212
|
-
@doc("
|
|
212
|
+
@doc("Base64 bytes projected by qyl without colliding with an ordinary string attribute.")
|
|
213
|
+
model AttributeBytesValue {
|
|
214
|
+
type: "bytes";
|
|
215
|
+
base64: bytes;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@doc("Recursive OTLP key-value-list projected as a JSON object.")
|
|
219
|
+
model AttributeKeyValueListValue {
|
|
220
|
+
...Record<AttributeValue>;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@doc("Lossless JSON projection of an OpenTelemetry AnyValue attribute.")
|
|
213
224
|
union AttributeValue {
|
|
214
225
|
@doc("String value")
|
|
215
226
|
stringValue: string,
|
|
@@ -223,20 +234,14 @@ union AttributeValue {
|
|
|
223
234
|
@doc("64-bit floating point value")
|
|
224
235
|
doubleValue: float64,
|
|
225
236
|
|
|
226
|
-
@doc("
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
@doc("Array of booleans")
|
|
230
|
-
boolArrayValue: boolean[],
|
|
231
|
-
|
|
232
|
-
@doc("Array of integers")
|
|
233
|
-
intArrayValue: int64[],
|
|
237
|
+
@doc("Bytes value projected as an explicit tagged object")
|
|
238
|
+
bytesValue: AttributeBytesValue,
|
|
234
239
|
|
|
235
|
-
@doc("
|
|
236
|
-
|
|
240
|
+
@doc("Nested and heterogeneous array value")
|
|
241
|
+
arrayValue: AttributeValue[],
|
|
237
242
|
|
|
238
|
-
@doc("
|
|
239
|
-
|
|
243
|
+
@doc("Recursive key-value-list value")
|
|
244
|
+
keyValueListValue: AttributeKeyValueListValue,
|
|
240
245
|
}
|
|
241
246
|
|
|
242
247
|
@doc("Key-value attribute pair following OTel conventions")
|
|
@@ -26,6 +26,33 @@
|
|
|
26
26
|
},
|
|
27
27
|
"description": "Key-value attribute pair following OTel conventions"
|
|
28
28
|
},
|
|
29
|
+
"Common.AttributeBytesValue": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"required": [
|
|
32
|
+
"type",
|
|
33
|
+
"base64"
|
|
34
|
+
],
|
|
35
|
+
"properties": {
|
|
36
|
+
"type": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"enum": [
|
|
39
|
+
"bytes"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"base64": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"contentEncoding": "base64"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"description": "Base64 bytes projected by qyl without colliding with an ordinary string attribute."
|
|
48
|
+
},
|
|
49
|
+
"Common.AttributeKeyValueListValue": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"unevaluatedProperties": {
|
|
52
|
+
"$ref": "#/$defs/Common.AttributeValue"
|
|
53
|
+
},
|
|
54
|
+
"description": "Recursive OTLP key-value-list projected as a JSON object."
|
|
55
|
+
},
|
|
29
56
|
"Common.AttributeValue": {
|
|
30
57
|
"anyOf": [
|
|
31
58
|
{
|
|
@@ -43,37 +70,19 @@
|
|
|
43
70
|
"format": "double"
|
|
44
71
|
},
|
|
45
72
|
{
|
|
46
|
-
"
|
|
47
|
-
"items": {
|
|
48
|
-
"type": "string"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"type": "array",
|
|
53
|
-
"items": {
|
|
54
|
-
"type": "boolean"
|
|
55
|
-
}
|
|
73
|
+
"$ref": "#/$defs/Common.AttributeBytesValue"
|
|
56
74
|
},
|
|
57
75
|
{
|
|
58
76
|
"type": "array",
|
|
59
77
|
"items": {
|
|
60
|
-
"
|
|
61
|
-
"format": "int64"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"type": "array",
|
|
66
|
-
"items": {
|
|
67
|
-
"type": "number",
|
|
68
|
-
"format": "double"
|
|
78
|
+
"$ref": "#/$defs/Common.AttributeValue"
|
|
69
79
|
}
|
|
70
80
|
},
|
|
71
81
|
{
|
|
72
|
-
"
|
|
73
|
-
"contentEncoding": "base64"
|
|
82
|
+
"$ref": "#/$defs/Common.AttributeKeyValueListValue"
|
|
74
83
|
}
|
|
75
84
|
],
|
|
76
|
-
"description": "
|
|
85
|
+
"description": "Lossless JSON projection of an OpenTelemetry AnyValue attribute."
|
|
77
86
|
},
|
|
78
87
|
"Common.Attributes": {
|
|
79
88
|
"type": "object",
|
|
@@ -3477,71 +3486,82 @@
|
|
|
3477
3486
|
},
|
|
3478
3487
|
"description": "Trace summary without the full span collection"
|
|
3479
3488
|
},
|
|
3480
|
-
"Runner.Mcp.
|
|
3489
|
+
"Runner.Mcp.RunnerMcpAudioContent": {
|
|
3481
3490
|
"type": "object",
|
|
3482
3491
|
"required": [
|
|
3483
|
-
"type"
|
|
3492
|
+
"type",
|
|
3493
|
+
"data",
|
|
3494
|
+
"mimeType"
|
|
3484
3495
|
],
|
|
3485
3496
|
"properties": {
|
|
3486
3497
|
"type": {
|
|
3487
|
-
"type": "string"
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3498
|
+
"type": "string",
|
|
3499
|
+
"enum": [
|
|
3500
|
+
"audio"
|
|
3501
|
+
]
|
|
3491
3502
|
},
|
|
3492
3503
|
"data": {
|
|
3493
|
-
"type": "string"
|
|
3504
|
+
"type": "string",
|
|
3505
|
+
"contentEncoding": "base64"
|
|
3494
3506
|
},
|
|
3495
3507
|
"mimeType": {
|
|
3496
3508
|
"type": "string"
|
|
3497
|
-
}
|
|
3498
|
-
|
|
3509
|
+
}
|
|
3510
|
+
},
|
|
3511
|
+
"allOf": [
|
|
3512
|
+
{
|
|
3513
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpContentMetadata"
|
|
3514
|
+
}
|
|
3515
|
+
],
|
|
3516
|
+
"description": "Base64-encoded audio content."
|
|
3517
|
+
},
|
|
3518
|
+
"Runner.Mcp.RunnerMcpBlobResourceContent": {
|
|
3519
|
+
"type": "object",
|
|
3520
|
+
"required": [
|
|
3521
|
+
"blob"
|
|
3522
|
+
],
|
|
3523
|
+
"properties": {
|
|
3524
|
+
"blob": {
|
|
3499
3525
|
"type": "string",
|
|
3500
|
-
"
|
|
3501
|
-
}
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
"
|
|
3514
|
-
"minimum": 0
|
|
3515
|
-
},
|
|
3516
|
-
"icons": {
|
|
3517
|
-
"type": "array",
|
|
3518
|
-
"items": {
|
|
3519
|
-
"$ref": "#/$defs/Runner.Mcp.RunnerMcpIcon"
|
|
3520
|
-
}
|
|
3521
|
-
},
|
|
3522
|
-
"resource": {
|
|
3523
|
-
"$ref": "#/$defs/Runner.Mcp.RunnerMcpResourceContent"
|
|
3526
|
+
"contentEncoding": "base64"
|
|
3527
|
+
}
|
|
3528
|
+
},
|
|
3529
|
+
"allOf": [
|
|
3530
|
+
{
|
|
3531
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpResourceContentMetadata"
|
|
3532
|
+
}
|
|
3533
|
+
],
|
|
3534
|
+
"description": "Base64-encoded resource content returned by an MCP server."
|
|
3535
|
+
},
|
|
3536
|
+
"Runner.Mcp.RunnerMcpContent": {
|
|
3537
|
+
"oneOf": [
|
|
3538
|
+
{
|
|
3539
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpTextContent"
|
|
3524
3540
|
},
|
|
3525
|
-
|
|
3526
|
-
"
|
|
3541
|
+
{
|
|
3542
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpImageContent"
|
|
3527
3543
|
},
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
"type": "string"
|
|
3544
|
+
{
|
|
3545
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpAudioContent"
|
|
3531
3546
|
},
|
|
3532
|
-
|
|
3533
|
-
"
|
|
3534
|
-
"items": {
|
|
3535
|
-
"$ref": "#/$defs/Runner.Mcp.RunnerMcpContent"
|
|
3536
|
-
}
|
|
3547
|
+
{
|
|
3548
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpEmbeddedResourceContent"
|
|
3537
3549
|
},
|
|
3538
|
-
|
|
3539
|
-
"
|
|
3540
|
-
"unevaluatedProperties": {}
|
|
3550
|
+
{
|
|
3551
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpResourceLinkContent"
|
|
3541
3552
|
},
|
|
3542
|
-
|
|
3543
|
-
"
|
|
3553
|
+
{
|
|
3554
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpToolUseContent"
|
|
3544
3555
|
},
|
|
3556
|
+
{
|
|
3557
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpToolResultContent"
|
|
3558
|
+
}
|
|
3559
|
+
],
|
|
3560
|
+
"description": "One MCP content item. The type literal selects the required variant fields."
|
|
3561
|
+
},
|
|
3562
|
+
"Runner.Mcp.RunnerMcpContentMetadata": {
|
|
3563
|
+
"type": "object",
|
|
3564
|
+
"properties": {
|
|
3545
3565
|
"annotations": {
|
|
3546
3566
|
"type": "object",
|
|
3547
3567
|
"unevaluatedProperties": {}
|
|
@@ -3551,7 +3571,31 @@
|
|
|
3551
3571
|
"unevaluatedProperties": {}
|
|
3552
3572
|
}
|
|
3553
3573
|
},
|
|
3554
|
-
"description": "
|
|
3574
|
+
"description": "Metadata shared by every MCP content variant."
|
|
3575
|
+
},
|
|
3576
|
+
"Runner.Mcp.RunnerMcpEmbeddedResourceContent": {
|
|
3577
|
+
"type": "object",
|
|
3578
|
+
"required": [
|
|
3579
|
+
"type",
|
|
3580
|
+
"resource"
|
|
3581
|
+
],
|
|
3582
|
+
"properties": {
|
|
3583
|
+
"type": {
|
|
3584
|
+
"type": "string",
|
|
3585
|
+
"enum": [
|
|
3586
|
+
"resource"
|
|
3587
|
+
]
|
|
3588
|
+
},
|
|
3589
|
+
"resource": {
|
|
3590
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpResourceContent"
|
|
3591
|
+
}
|
|
3592
|
+
},
|
|
3593
|
+
"allOf": [
|
|
3594
|
+
{
|
|
3595
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpContentMetadata"
|
|
3596
|
+
}
|
|
3597
|
+
],
|
|
3598
|
+
"description": "A resource embedded in MCP content."
|
|
3555
3599
|
},
|
|
3556
3600
|
"Runner.Mcp.RunnerMcpIcon": {
|
|
3557
3601
|
"type": "object",
|
|
@@ -3577,7 +3621,47 @@
|
|
|
3577
3621
|
},
|
|
3578
3622
|
"description": "Icon metadata carried by MCP tools and resource links."
|
|
3579
3623
|
},
|
|
3624
|
+
"Runner.Mcp.RunnerMcpImageContent": {
|
|
3625
|
+
"type": "object",
|
|
3626
|
+
"required": [
|
|
3627
|
+
"type",
|
|
3628
|
+
"data",
|
|
3629
|
+
"mimeType"
|
|
3630
|
+
],
|
|
3631
|
+
"properties": {
|
|
3632
|
+
"type": {
|
|
3633
|
+
"type": "string",
|
|
3634
|
+
"enum": [
|
|
3635
|
+
"image"
|
|
3636
|
+
]
|
|
3637
|
+
},
|
|
3638
|
+
"data": {
|
|
3639
|
+
"type": "string",
|
|
3640
|
+
"contentEncoding": "base64"
|
|
3641
|
+
},
|
|
3642
|
+
"mimeType": {
|
|
3643
|
+
"type": "string"
|
|
3644
|
+
}
|
|
3645
|
+
},
|
|
3646
|
+
"allOf": [
|
|
3647
|
+
{
|
|
3648
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpContentMetadata"
|
|
3649
|
+
}
|
|
3650
|
+
],
|
|
3651
|
+
"description": "Base64-encoded image content."
|
|
3652
|
+
},
|
|
3580
3653
|
"Runner.Mcp.RunnerMcpResourceContent": {
|
|
3654
|
+
"oneOf": [
|
|
3655
|
+
{
|
|
3656
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpTextResourceContent"
|
|
3657
|
+
},
|
|
3658
|
+
{
|
|
3659
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpBlobResourceContent"
|
|
3660
|
+
}
|
|
3661
|
+
],
|
|
3662
|
+
"description": "Exactly one MCP text or blob resource variant."
|
|
3663
|
+
},
|
|
3664
|
+
"Runner.Mcp.RunnerMcpResourceContentMetadata": {
|
|
3581
3665
|
"type": "object",
|
|
3582
3666
|
"required": [
|
|
3583
3667
|
"uri"
|
|
@@ -3590,18 +3674,61 @@
|
|
|
3590
3674
|
"mimeType": {
|
|
3591
3675
|
"type": "string"
|
|
3592
3676
|
},
|
|
3593
|
-
"
|
|
3677
|
+
"_meta": {
|
|
3678
|
+
"type": "object",
|
|
3679
|
+
"unevaluatedProperties": {}
|
|
3680
|
+
}
|
|
3681
|
+
},
|
|
3682
|
+
"description": "Metadata shared by MCP text and blob resources."
|
|
3683
|
+
},
|
|
3684
|
+
"Runner.Mcp.RunnerMcpResourceLinkContent": {
|
|
3685
|
+
"type": "object",
|
|
3686
|
+
"required": [
|
|
3687
|
+
"type",
|
|
3688
|
+
"uri",
|
|
3689
|
+
"name"
|
|
3690
|
+
],
|
|
3691
|
+
"properties": {
|
|
3692
|
+
"type": {
|
|
3693
|
+
"type": "string",
|
|
3694
|
+
"enum": [
|
|
3695
|
+
"resource_link"
|
|
3696
|
+
]
|
|
3697
|
+
},
|
|
3698
|
+
"uri": {
|
|
3699
|
+
"type": "string",
|
|
3700
|
+
"format": "uri"
|
|
3701
|
+
},
|
|
3702
|
+
"name": {
|
|
3594
3703
|
"type": "string"
|
|
3595
3704
|
},
|
|
3596
|
-
"
|
|
3705
|
+
"title": {
|
|
3597
3706
|
"type": "string"
|
|
3598
3707
|
},
|
|
3599
|
-
"
|
|
3600
|
-
"type": "
|
|
3601
|
-
|
|
3708
|
+
"description": {
|
|
3709
|
+
"type": "string"
|
|
3710
|
+
},
|
|
3711
|
+
"mimeType": {
|
|
3712
|
+
"type": "string"
|
|
3713
|
+
},
|
|
3714
|
+
"size": {
|
|
3715
|
+
"type": "integer",
|
|
3716
|
+
"format": "int64",
|
|
3717
|
+
"minimum": 0
|
|
3718
|
+
},
|
|
3719
|
+
"icons": {
|
|
3720
|
+
"type": "array",
|
|
3721
|
+
"items": {
|
|
3722
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpIcon"
|
|
3723
|
+
}
|
|
3602
3724
|
}
|
|
3603
3725
|
},
|
|
3604
|
-
"
|
|
3726
|
+
"allOf": [
|
|
3727
|
+
{
|
|
3728
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpContentMetadata"
|
|
3729
|
+
}
|
|
3730
|
+
],
|
|
3731
|
+
"description": "A link to a resource that an MCP server can read."
|
|
3605
3732
|
},
|
|
3606
3733
|
"Runner.Mcp.RunnerMcpResourceReadRequest": {
|
|
3607
3734
|
"type": "object",
|
|
@@ -3697,6 +3824,47 @@
|
|
|
3697
3824
|
],
|
|
3698
3825
|
"description": "Lifecycle state of an MCP task returned by a task-augmented tool call."
|
|
3699
3826
|
},
|
|
3827
|
+
"Runner.Mcp.RunnerMcpTextContent": {
|
|
3828
|
+
"type": "object",
|
|
3829
|
+
"required": [
|
|
3830
|
+
"type",
|
|
3831
|
+
"text"
|
|
3832
|
+
],
|
|
3833
|
+
"properties": {
|
|
3834
|
+
"type": {
|
|
3835
|
+
"type": "string",
|
|
3836
|
+
"enum": [
|
|
3837
|
+
"text"
|
|
3838
|
+
]
|
|
3839
|
+
},
|
|
3840
|
+
"text": {
|
|
3841
|
+
"type": "string"
|
|
3842
|
+
}
|
|
3843
|
+
},
|
|
3844
|
+
"allOf": [
|
|
3845
|
+
{
|
|
3846
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpContentMetadata"
|
|
3847
|
+
}
|
|
3848
|
+
],
|
|
3849
|
+
"description": "Text provided to or returned by an MCP model or tool."
|
|
3850
|
+
},
|
|
3851
|
+
"Runner.Mcp.RunnerMcpTextResourceContent": {
|
|
3852
|
+
"type": "object",
|
|
3853
|
+
"required": [
|
|
3854
|
+
"text"
|
|
3855
|
+
],
|
|
3856
|
+
"properties": {
|
|
3857
|
+
"text": {
|
|
3858
|
+
"type": "string"
|
|
3859
|
+
}
|
|
3860
|
+
},
|
|
3861
|
+
"allOf": [
|
|
3862
|
+
{
|
|
3863
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpResourceContentMetadata"
|
|
3864
|
+
}
|
|
3865
|
+
],
|
|
3866
|
+
"description": "Text resource content returned by an MCP server."
|
|
3867
|
+
},
|
|
3700
3868
|
"Runner.Mcp.RunnerMcpTool": {
|
|
3701
3869
|
"type": "object",
|
|
3702
3870
|
"required": [
|
|
@@ -3803,6 +3971,44 @@
|
|
|
3803
3971
|
},
|
|
3804
3972
|
"description": "Execution metadata advertised for an MCP tool."
|
|
3805
3973
|
},
|
|
3974
|
+
"Runner.Mcp.RunnerMcpToolResultContent": {
|
|
3975
|
+
"type": "object",
|
|
3976
|
+
"required": [
|
|
3977
|
+
"type",
|
|
3978
|
+
"toolUseId",
|
|
3979
|
+
"content"
|
|
3980
|
+
],
|
|
3981
|
+
"properties": {
|
|
3982
|
+
"type": {
|
|
3983
|
+
"type": "string",
|
|
3984
|
+
"enum": [
|
|
3985
|
+
"tool_result"
|
|
3986
|
+
]
|
|
3987
|
+
},
|
|
3988
|
+
"toolUseId": {
|
|
3989
|
+
"type": "string"
|
|
3990
|
+
},
|
|
3991
|
+
"content": {
|
|
3992
|
+
"type": "array",
|
|
3993
|
+
"items": {
|
|
3994
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpContent"
|
|
3995
|
+
}
|
|
3996
|
+
},
|
|
3997
|
+
"structuredContent": {
|
|
3998
|
+
"type": "object",
|
|
3999
|
+
"unevaluatedProperties": {}
|
|
4000
|
+
},
|
|
4001
|
+
"isError": {
|
|
4002
|
+
"type": "boolean"
|
|
4003
|
+
}
|
|
4004
|
+
},
|
|
4005
|
+
"allOf": [
|
|
4006
|
+
{
|
|
4007
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpContentMetadata"
|
|
4008
|
+
}
|
|
4009
|
+
],
|
|
4010
|
+
"description": "The result of an MCP sampling tool invocation."
|
|
4011
|
+
},
|
|
3806
4012
|
"Runner.Mcp.RunnerMcpToolTaskSupport": {
|
|
3807
4013
|
"type": "string",
|
|
3808
4014
|
"enum": [
|
|
@@ -3812,6 +4018,36 @@
|
|
|
3812
4018
|
],
|
|
3813
4019
|
"description": "Task-augmentation support advertised for an MCP tool."
|
|
3814
4020
|
},
|
|
4021
|
+
"Runner.Mcp.RunnerMcpToolUseContent": {
|
|
4022
|
+
"type": "object",
|
|
4023
|
+
"required": [
|
|
4024
|
+
"type",
|
|
4025
|
+
"id",
|
|
4026
|
+
"name",
|
|
4027
|
+
"input"
|
|
4028
|
+
],
|
|
4029
|
+
"properties": {
|
|
4030
|
+
"type": {
|
|
4031
|
+
"type": "string",
|
|
4032
|
+
"enum": [
|
|
4033
|
+
"tool_use"
|
|
4034
|
+
]
|
|
4035
|
+
},
|
|
4036
|
+
"id": {
|
|
4037
|
+
"type": "string"
|
|
4038
|
+
},
|
|
4039
|
+
"name": {
|
|
4040
|
+
"type": "string"
|
|
4041
|
+
},
|
|
4042
|
+
"input": {}
|
|
4043
|
+
},
|
|
4044
|
+
"allOf": [
|
|
4045
|
+
{
|
|
4046
|
+
"$ref": "#/$defs/Runner.Mcp.RunnerMcpContentMetadata"
|
|
4047
|
+
}
|
|
4048
|
+
],
|
|
4049
|
+
"description": "An MCP sampling request to invoke a tool."
|
|
4050
|
+
},
|
|
3815
4051
|
"Runner.Mcp.RunnerMcpToolsResponse": {
|
|
3816
4052
|
"type": "object",
|
|
3817
4053
|
"required": [
|