@ancplua/qyl-api-schema 0.5.4 → 0.5.6

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.
@@ -1089,6 +1089,32 @@
1089
1089
  }
1090
1090
  }
1091
1091
  },
1092
+ "400": {
1093
+ "description": "Bad request - validation failed (400)",
1094
+ "headers": {
1095
+ "X-Trace-Id": {
1096
+ "required": false,
1097
+ "description": "Trace ID for correlation",
1098
+ "schema": {
1099
+ "type": "string"
1100
+ }
1101
+ },
1102
+ "X-Request-Id": {
1103
+ "required": false,
1104
+ "description": "Request ID for support",
1105
+ "schema": {
1106
+ "type": "string"
1107
+ }
1108
+ }
1109
+ },
1110
+ "content": {
1111
+ "application/problem+json": {
1112
+ "schema": {
1113
+ "$ref": "#/components/schemas/Common.Errors.ValidationError"
1114
+ }
1115
+ }
1116
+ }
1117
+ },
1092
1118
  "401": {
1093
1119
  "description": "Unauthorized - authentication required (401)",
1094
1120
  "headers": {
@@ -1519,6 +1545,32 @@
1519
1545
  }
1520
1546
  }
1521
1547
  },
1548
+ "400": {
1549
+ "description": "Bad request - validation failed (400)",
1550
+ "headers": {
1551
+ "X-Trace-Id": {
1552
+ "required": false,
1553
+ "description": "Trace ID for correlation",
1554
+ "schema": {
1555
+ "type": "string"
1556
+ }
1557
+ },
1558
+ "X-Request-Id": {
1559
+ "required": false,
1560
+ "description": "Request ID for support",
1561
+ "schema": {
1562
+ "type": "string"
1563
+ }
1564
+ }
1565
+ },
1566
+ "content": {
1567
+ "application/problem+json": {
1568
+ "schema": {
1569
+ "$ref": "#/components/schemas/Common.Errors.ValidationError"
1570
+ }
1571
+ }
1572
+ }
1573
+ },
1522
1574
  "401": {
1523
1575
  "description": "Unauthorized - authentication required (401)",
1524
1576
  "headers": {
@@ -2225,6 +2277,40 @@
2225
2277
  }
2226
2278
  }
2227
2279
  }
2280
+ },
2281
+ "503": {
2282
+ "description": "Service unavailable (503)",
2283
+ "headers": {
2284
+ "Retry-After": {
2285
+ "required": false,
2286
+ "description": "Expected availability time",
2287
+ "schema": {
2288
+ "type": "integer",
2289
+ "format": "int32"
2290
+ }
2291
+ },
2292
+ "X-Trace-Id": {
2293
+ "required": false,
2294
+ "description": "Trace ID for correlation",
2295
+ "schema": {
2296
+ "type": "string"
2297
+ }
2298
+ },
2299
+ "X-Request-Id": {
2300
+ "required": false,
2301
+ "description": "Request ID for support",
2302
+ "schema": {
2303
+ "type": "string"
2304
+ }
2305
+ }
2306
+ },
2307
+ "content": {
2308
+ "application/problem+json": {
2309
+ "schema": {
2310
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2311
+ }
2312
+ }
2313
+ }
2228
2314
  }
2229
2315
  },
2230
2316
  "tags": [
@@ -2395,6 +2481,40 @@
2395
2481
  }
2396
2482
  }
2397
2483
  }
2484
+ },
2485
+ "503": {
2486
+ "description": "Service unavailable (503)",
2487
+ "headers": {
2488
+ "Retry-After": {
2489
+ "required": false,
2490
+ "description": "Expected availability time",
2491
+ "schema": {
2492
+ "type": "integer",
2493
+ "format": "int32"
2494
+ }
2495
+ },
2496
+ "X-Trace-Id": {
2497
+ "required": false,
2498
+ "description": "Trace ID for correlation",
2499
+ "schema": {
2500
+ "type": "string"
2501
+ }
2502
+ },
2503
+ "X-Request-Id": {
2504
+ "required": false,
2505
+ "description": "Request ID for support",
2506
+ "schema": {
2507
+ "type": "string"
2508
+ }
2509
+ }
2510
+ },
2511
+ "content": {
2512
+ "application/problem+json": {
2513
+ "schema": {
2514
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2515
+ }
2516
+ }
2517
+ }
2398
2518
  }
2399
2519
  },
2400
2520
  "tags": [
@@ -2581,6 +2701,40 @@
2581
2701
  }
2582
2702
  }
2583
2703
  }
2704
+ },
2705
+ "503": {
2706
+ "description": "Service unavailable (503)",
2707
+ "headers": {
2708
+ "Retry-After": {
2709
+ "required": false,
2710
+ "description": "Expected availability time",
2711
+ "schema": {
2712
+ "type": "integer",
2713
+ "format": "int32"
2714
+ }
2715
+ },
2716
+ "X-Trace-Id": {
2717
+ "required": false,
2718
+ "description": "Trace ID for correlation",
2719
+ "schema": {
2720
+ "type": "string"
2721
+ }
2722
+ },
2723
+ "X-Request-Id": {
2724
+ "required": false,
2725
+ "description": "Request ID for support",
2726
+ "schema": {
2727
+ "type": "string"
2728
+ }
2729
+ }
2730
+ },
2731
+ "content": {
2732
+ "application/problem+json": {
2733
+ "schema": {
2734
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2735
+ }
2736
+ }
2737
+ }
2584
2738
  }
2585
2739
  },
2586
2740
  "tags": [
@@ -2667,6 +2821,40 @@
2667
2821
  }
2668
2822
  }
2669
2823
  }
2824
+ },
2825
+ "503": {
2826
+ "description": "Service unavailable (503)",
2827
+ "headers": {
2828
+ "Retry-After": {
2829
+ "required": false,
2830
+ "description": "Expected availability time",
2831
+ "schema": {
2832
+ "type": "integer",
2833
+ "format": "int32"
2834
+ }
2835
+ },
2836
+ "X-Trace-Id": {
2837
+ "required": false,
2838
+ "description": "Trace ID for correlation",
2839
+ "schema": {
2840
+ "type": "string"
2841
+ }
2842
+ },
2843
+ "X-Request-Id": {
2844
+ "required": false,
2845
+ "description": "Request ID for support",
2846
+ "schema": {
2847
+ "type": "string"
2848
+ }
2849
+ }
2850
+ },
2851
+ "content": {
2852
+ "application/problem+json": {
2853
+ "schema": {
2854
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2855
+ }
2856
+ }
2857
+ }
2670
2858
  }
2671
2859
  },
2672
2860
  "tags": [
@@ -2766,6 +2954,40 @@
2766
2954
  }
2767
2955
  }
2768
2956
  }
2957
+ },
2958
+ "503": {
2959
+ "description": "Service unavailable (503)",
2960
+ "headers": {
2961
+ "Retry-After": {
2962
+ "required": false,
2963
+ "description": "Expected availability time",
2964
+ "schema": {
2965
+ "type": "integer",
2966
+ "format": "int32"
2967
+ }
2968
+ },
2969
+ "X-Trace-Id": {
2970
+ "required": false,
2971
+ "description": "Trace ID for correlation",
2972
+ "schema": {
2973
+ "type": "string"
2974
+ }
2975
+ },
2976
+ "X-Request-Id": {
2977
+ "required": false,
2978
+ "description": "Request ID for support",
2979
+ "schema": {
2980
+ "type": "string"
2981
+ }
2982
+ }
2983
+ },
2984
+ "content": {
2985
+ "application/problem+json": {
2986
+ "schema": {
2987
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2988
+ }
2989
+ }
2990
+ }
2769
2991
  }
2770
2992
  },
2771
2993
  "tags": [
@@ -2877,6 +3099,40 @@
2877
3099
  }
2878
3100
  }
2879
3101
  }
3102
+ },
3103
+ "503": {
3104
+ "description": "Service unavailable (503)",
3105
+ "headers": {
3106
+ "Retry-After": {
3107
+ "required": false,
3108
+ "description": "Expected availability time",
3109
+ "schema": {
3110
+ "type": "integer",
3111
+ "format": "int32"
3112
+ }
3113
+ },
3114
+ "X-Trace-Id": {
3115
+ "required": false,
3116
+ "description": "Trace ID for correlation",
3117
+ "schema": {
3118
+ "type": "string"
3119
+ }
3120
+ },
3121
+ "X-Request-Id": {
3122
+ "required": false,
3123
+ "description": "Request ID for support",
3124
+ "schema": {
3125
+ "type": "string"
3126
+ }
3127
+ }
3128
+ },
3129
+ "content": {
3130
+ "application/problem+json": {
3131
+ "schema": {
3132
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
3133
+ }
3134
+ }
3135
+ }
2880
3136
  }
2881
3137
  },
2882
3138
  "tags": [
@@ -3011,6 +3267,40 @@
3011
3267
  }
3012
3268
  }
3013
3269
  }
3270
+ },
3271
+ "503": {
3272
+ "description": "Service unavailable (503)",
3273
+ "headers": {
3274
+ "Retry-After": {
3275
+ "required": false,
3276
+ "description": "Expected availability time",
3277
+ "schema": {
3278
+ "type": "integer",
3279
+ "format": "int32"
3280
+ }
3281
+ },
3282
+ "X-Trace-Id": {
3283
+ "required": false,
3284
+ "description": "Trace ID for correlation",
3285
+ "schema": {
3286
+ "type": "string"
3287
+ }
3288
+ },
3289
+ "X-Request-Id": {
3290
+ "required": false,
3291
+ "description": "Request ID for support",
3292
+ "schema": {
3293
+ "type": "string"
3294
+ }
3295
+ }
3296
+ },
3297
+ "content": {
3298
+ "application/problem+json": {
3299
+ "schema": {
3300
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
3301
+ }
3302
+ }
3303
+ }
3014
3304
  }
3015
3305
  },
3016
3306
  "tags": [
@@ -3138,14 +3428,48 @@
3138
3428
  }
3139
3429
  }
3140
3430
  }
3141
- }
3142
- },
3143
- "tags": [
3144
- "Runner resources"
3145
- ]
3146
- }
3147
- },
3148
- "/runner/resources/{resource}/stop": {
3431
+ },
3432
+ "503": {
3433
+ "description": "Service unavailable (503)",
3434
+ "headers": {
3435
+ "Retry-After": {
3436
+ "required": false,
3437
+ "description": "Expected availability time",
3438
+ "schema": {
3439
+ "type": "integer",
3440
+ "format": "int32"
3441
+ }
3442
+ },
3443
+ "X-Trace-Id": {
3444
+ "required": false,
3445
+ "description": "Trace ID for correlation",
3446
+ "schema": {
3447
+ "type": "string"
3448
+ }
3449
+ },
3450
+ "X-Request-Id": {
3451
+ "required": false,
3452
+ "description": "Request ID for support",
3453
+ "schema": {
3454
+ "type": "string"
3455
+ }
3456
+ }
3457
+ },
3458
+ "content": {
3459
+ "application/problem+json": {
3460
+ "schema": {
3461
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
3462
+ }
3463
+ }
3464
+ }
3465
+ }
3466
+ },
3467
+ "tags": [
3468
+ "Runner resources"
3469
+ ]
3470
+ }
3471
+ },
3472
+ "/runner/resources/{resource}/stop": {
3149
3473
  "post": {
3150
3474
  "operationId": "RunnerResourcesApi_stop",
3151
3475
  "parameters": [
@@ -3265,6 +3589,40 @@
3265
3589
  }
3266
3590
  }
3267
3591
  }
3592
+ },
3593
+ "503": {
3594
+ "description": "Service unavailable (503)",
3595
+ "headers": {
3596
+ "Retry-After": {
3597
+ "required": false,
3598
+ "description": "Expected availability time",
3599
+ "schema": {
3600
+ "type": "integer",
3601
+ "format": "int32"
3602
+ }
3603
+ },
3604
+ "X-Trace-Id": {
3605
+ "required": false,
3606
+ "description": "Trace ID for correlation",
3607
+ "schema": {
3608
+ "type": "string"
3609
+ }
3610
+ },
3611
+ "X-Request-Id": {
3612
+ "required": false,
3613
+ "description": "Request ID for support",
3614
+ "schema": {
3615
+ "type": "string"
3616
+ }
3617
+ }
3618
+ },
3619
+ "content": {
3620
+ "application/problem+json": {
3621
+ "schema": {
3622
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
3623
+ }
3624
+ }
3625
+ }
3268
3626
  }
3269
3627
  },
3270
3628
  "tags": [
@@ -3309,6 +3667,33 @@
3309
3667
  },
3310
3668
  "description": "Key-value attribute pair following OTel conventions"
3311
3669
  },
3670
+ "Common.AttributeBytesValue": {
3671
+ "type": "object",
3672
+ "required": [
3673
+ "type",
3674
+ "base64"
3675
+ ],
3676
+ "properties": {
3677
+ "type": {
3678
+ "type": "string",
3679
+ "enum": [
3680
+ "bytes"
3681
+ ]
3682
+ },
3683
+ "base64": {
3684
+ "type": "string",
3685
+ "contentEncoding": "base64"
3686
+ }
3687
+ },
3688
+ "description": "Base64 bytes projected by qyl without colliding with an ordinary string attribute."
3689
+ },
3690
+ "Common.AttributeKeyValueListValue": {
3691
+ "type": "object",
3692
+ "unevaluatedProperties": {
3693
+ "$ref": "#/components/schemas/Common.AttributeValue"
3694
+ },
3695
+ "description": "Recursive OTLP key-value-list projected as a JSON object."
3696
+ },
3312
3697
  "Common.AttributeValue": {
3313
3698
  "anyOf": [
3314
3699
  {
@@ -3326,37 +3711,19 @@
3326
3711
  "format": "double"
3327
3712
  },
3328
3713
  {
3329
- "type": "array",
3330
- "items": {
3331
- "type": "string"
3332
- }
3333
- },
3334
- {
3335
- "type": "array",
3336
- "items": {
3337
- "type": "boolean"
3338
- }
3339
- },
3340
- {
3341
- "type": "array",
3342
- "items": {
3343
- "type": "integer",
3344
- "format": "int64"
3345
- }
3714
+ "$ref": "#/components/schemas/Common.AttributeBytesValue"
3346
3715
  },
3347
3716
  {
3348
3717
  "type": "array",
3349
3718
  "items": {
3350
- "type": "number",
3351
- "format": "double"
3719
+ "$ref": "#/components/schemas/Common.AttributeValue"
3352
3720
  }
3353
3721
  },
3354
3722
  {
3355
- "type": "string",
3356
- "contentEncoding": "base64"
3723
+ "$ref": "#/components/schemas/Common.AttributeKeyValueListValue"
3357
3724
  }
3358
3725
  ],
3359
- "description": "Primitive attribute value types supported by OpenTelemetry"
3726
+ "description": "Lossless JSON projection of an OpenTelemetry AnyValue attribute."
3360
3727
  },
3361
3728
  "Common.Attributes": {
3362
3729
  "type": "object",
@@ -6760,71 +7127,82 @@
6760
7127
  },
6761
7128
  "description": "Trace summary without the full span collection"
6762
7129
  },
6763
- "Runner.Mcp.RunnerMcpContent": {
7130
+ "Runner.Mcp.RunnerMcpAudioContent": {
6764
7131
  "type": "object",
6765
7132
  "required": [
6766
- "type"
7133
+ "type",
7134
+ "data",
7135
+ "mimeType"
6767
7136
  ],
6768
7137
  "properties": {
6769
7138
  "type": {
6770
- "type": "string"
6771
- },
6772
- "text": {
6773
- "type": "string"
7139
+ "type": "string",
7140
+ "enum": [
7141
+ "audio"
7142
+ ]
6774
7143
  },
6775
7144
  "data": {
6776
- "type": "string"
7145
+ "type": "string",
7146
+ "contentEncoding": "base64"
6777
7147
  },
6778
7148
  "mimeType": {
6779
7149
  "type": "string"
6780
- },
6781
- "uri": {
7150
+ }
7151
+ },
7152
+ "allOf": [
7153
+ {
7154
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7155
+ }
7156
+ ],
7157
+ "description": "Base64-encoded audio content."
7158
+ },
7159
+ "Runner.Mcp.RunnerMcpBlobResourceContent": {
7160
+ "type": "object",
7161
+ "required": [
7162
+ "blob"
7163
+ ],
7164
+ "properties": {
7165
+ "blob": {
6782
7166
  "type": "string",
6783
- "format": "uri"
6784
- },
6785
- "name": {
6786
- "type": "string"
6787
- },
6788
- "title": {
6789
- "type": "string"
6790
- },
6791
- "description": {
6792
- "type": "string"
6793
- },
6794
- "size": {
6795
- "type": "integer",
6796
- "format": "int64",
6797
- "minimum": 0
6798
- },
6799
- "icons": {
6800
- "type": "array",
6801
- "items": {
6802
- "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpIcon"
6803
- }
6804
- },
6805
- "resource": {
6806
- "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpResourceContent"
7167
+ "contentEncoding": "base64"
7168
+ }
7169
+ },
7170
+ "allOf": [
7171
+ {
7172
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpResourceContentMetadata"
7173
+ }
7174
+ ],
7175
+ "description": "Base64-encoded resource content returned by an MCP server."
7176
+ },
7177
+ "Runner.Mcp.RunnerMcpContent": {
7178
+ "oneOf": [
7179
+ {
7180
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpTextContent"
6807
7181
  },
6808
- "id": {
6809
- "type": "string"
7182
+ {
7183
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpImageContent"
6810
7184
  },
6811
- "input": {},
6812
- "toolUseId": {
6813
- "type": "string"
7185
+ {
7186
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpAudioContent"
6814
7187
  },
6815
- "content": {
6816
- "type": "array",
6817
- "items": {
6818
- "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContent"
6819
- }
7188
+ {
7189
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpEmbeddedResourceContent"
6820
7190
  },
6821
- "structuredContent": {
6822
- "type": "object",
6823
- "unevaluatedProperties": {}
7191
+ {
7192
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpResourceLinkContent"
6824
7193
  },
6825
- "isError": {
6826
- "type": "boolean"
7194
+ {
7195
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpToolUseContent"
6827
7196
  },
7197
+ {
7198
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpToolResultContent"
7199
+ }
7200
+ ],
7201
+ "description": "One MCP content item. The type literal selects the required variant fields."
7202
+ },
7203
+ "Runner.Mcp.RunnerMcpContentMetadata": {
7204
+ "type": "object",
7205
+ "properties": {
6828
7206
  "annotations": {
6829
7207
  "type": "object",
6830
7208
  "unevaluatedProperties": {}
@@ -6834,7 +7212,31 @@
6834
7212
  "unevaluatedProperties": {}
6835
7213
  }
6836
7214
  },
6837
- "description": "One MCP content item projected onto a stable qyl JSON shape. Variant-specific required fields follow its type discriminator."
7215
+ "description": "Metadata shared by every MCP content variant."
7216
+ },
7217
+ "Runner.Mcp.RunnerMcpEmbeddedResourceContent": {
7218
+ "type": "object",
7219
+ "required": [
7220
+ "type",
7221
+ "resource"
7222
+ ],
7223
+ "properties": {
7224
+ "type": {
7225
+ "type": "string",
7226
+ "enum": [
7227
+ "resource"
7228
+ ]
7229
+ },
7230
+ "resource": {
7231
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpResourceContent"
7232
+ }
7233
+ },
7234
+ "allOf": [
7235
+ {
7236
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7237
+ }
7238
+ ],
7239
+ "description": "A resource embedded in MCP content."
6838
7240
  },
6839
7241
  "Runner.Mcp.RunnerMcpIcon": {
6840
7242
  "type": "object",
@@ -6860,7 +7262,47 @@
6860
7262
  },
6861
7263
  "description": "Icon metadata carried by MCP tools and resource links."
6862
7264
  },
7265
+ "Runner.Mcp.RunnerMcpImageContent": {
7266
+ "type": "object",
7267
+ "required": [
7268
+ "type",
7269
+ "data",
7270
+ "mimeType"
7271
+ ],
7272
+ "properties": {
7273
+ "type": {
7274
+ "type": "string",
7275
+ "enum": [
7276
+ "image"
7277
+ ]
7278
+ },
7279
+ "data": {
7280
+ "type": "string",
7281
+ "contentEncoding": "base64"
7282
+ },
7283
+ "mimeType": {
7284
+ "type": "string"
7285
+ }
7286
+ },
7287
+ "allOf": [
7288
+ {
7289
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7290
+ }
7291
+ ],
7292
+ "description": "Base64-encoded image content."
7293
+ },
6863
7294
  "Runner.Mcp.RunnerMcpResourceContent": {
7295
+ "oneOf": [
7296
+ {
7297
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpTextResourceContent"
7298
+ },
7299
+ {
7300
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpBlobResourceContent"
7301
+ }
7302
+ ],
7303
+ "description": "Exactly one MCP text or blob resource variant."
7304
+ },
7305
+ "Runner.Mcp.RunnerMcpResourceContentMetadata": {
6864
7306
  "type": "object",
6865
7307
  "required": [
6866
7308
  "uri"
@@ -6873,18 +7315,61 @@
6873
7315
  "mimeType": {
6874
7316
  "type": "string"
6875
7317
  },
6876
- "text": {
7318
+ "_meta": {
7319
+ "type": "object",
7320
+ "unevaluatedProperties": {}
7321
+ }
7322
+ },
7323
+ "description": "Metadata shared by MCP text and blob resources."
7324
+ },
7325
+ "Runner.Mcp.RunnerMcpResourceLinkContent": {
7326
+ "type": "object",
7327
+ "required": [
7328
+ "type",
7329
+ "uri",
7330
+ "name"
7331
+ ],
7332
+ "properties": {
7333
+ "type": {
7334
+ "type": "string",
7335
+ "enum": [
7336
+ "resource_link"
7337
+ ]
7338
+ },
7339
+ "uri": {
7340
+ "type": "string",
7341
+ "format": "uri"
7342
+ },
7343
+ "name": {
6877
7344
  "type": "string"
6878
7345
  },
6879
- "blob": {
7346
+ "title": {
6880
7347
  "type": "string"
6881
7348
  },
6882
- "_meta": {
6883
- "type": "object",
6884
- "unevaluatedProperties": {}
7349
+ "description": {
7350
+ "type": "string"
7351
+ },
7352
+ "mimeType": {
7353
+ "type": "string"
7354
+ },
7355
+ "size": {
7356
+ "type": "integer",
7357
+ "format": "int64",
7358
+ "minimum": 0
7359
+ },
7360
+ "icons": {
7361
+ "type": "array",
7362
+ "items": {
7363
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpIcon"
7364
+ }
6885
7365
  }
6886
7366
  },
6887
- "description": "Text or base64 resource content returned by an MCP server. Exactly one of text or blob is present."
7367
+ "allOf": [
7368
+ {
7369
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7370
+ }
7371
+ ],
7372
+ "description": "A link to a resource that an MCP server can read."
6888
7373
  },
6889
7374
  "Runner.Mcp.RunnerMcpResourceReadRequest": {
6890
7375
  "type": "object",
@@ -6980,6 +7465,47 @@
6980
7465
  ],
6981
7466
  "description": "Lifecycle state of an MCP task returned by a task-augmented tool call."
6982
7467
  },
7468
+ "Runner.Mcp.RunnerMcpTextContent": {
7469
+ "type": "object",
7470
+ "required": [
7471
+ "type",
7472
+ "text"
7473
+ ],
7474
+ "properties": {
7475
+ "type": {
7476
+ "type": "string",
7477
+ "enum": [
7478
+ "text"
7479
+ ]
7480
+ },
7481
+ "text": {
7482
+ "type": "string"
7483
+ }
7484
+ },
7485
+ "allOf": [
7486
+ {
7487
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7488
+ }
7489
+ ],
7490
+ "description": "Text provided to or returned by an MCP model or tool."
7491
+ },
7492
+ "Runner.Mcp.RunnerMcpTextResourceContent": {
7493
+ "type": "object",
7494
+ "required": [
7495
+ "text"
7496
+ ],
7497
+ "properties": {
7498
+ "text": {
7499
+ "type": "string"
7500
+ }
7501
+ },
7502
+ "allOf": [
7503
+ {
7504
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpResourceContentMetadata"
7505
+ }
7506
+ ],
7507
+ "description": "Text resource content returned by an MCP server."
7508
+ },
6983
7509
  "Runner.Mcp.RunnerMcpTool": {
6984
7510
  "type": "object",
6985
7511
  "required": [
@@ -7086,6 +7612,44 @@
7086
7612
  },
7087
7613
  "description": "Execution metadata advertised for an MCP tool."
7088
7614
  },
7615
+ "Runner.Mcp.RunnerMcpToolResultContent": {
7616
+ "type": "object",
7617
+ "required": [
7618
+ "type",
7619
+ "toolUseId",
7620
+ "content"
7621
+ ],
7622
+ "properties": {
7623
+ "type": {
7624
+ "type": "string",
7625
+ "enum": [
7626
+ "tool_result"
7627
+ ]
7628
+ },
7629
+ "toolUseId": {
7630
+ "type": "string"
7631
+ },
7632
+ "content": {
7633
+ "type": "array",
7634
+ "items": {
7635
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContent"
7636
+ }
7637
+ },
7638
+ "structuredContent": {
7639
+ "type": "object",
7640
+ "unevaluatedProperties": {}
7641
+ },
7642
+ "isError": {
7643
+ "type": "boolean"
7644
+ }
7645
+ },
7646
+ "allOf": [
7647
+ {
7648
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7649
+ }
7650
+ ],
7651
+ "description": "The result of an MCP sampling tool invocation."
7652
+ },
7089
7653
  "Runner.Mcp.RunnerMcpToolTaskSupport": {
7090
7654
  "type": "string",
7091
7655
  "enum": [
@@ -7095,6 +7659,36 @@
7095
7659
  ],
7096
7660
  "description": "Task-augmentation support advertised for an MCP tool."
7097
7661
  },
7662
+ "Runner.Mcp.RunnerMcpToolUseContent": {
7663
+ "type": "object",
7664
+ "required": [
7665
+ "type",
7666
+ "id",
7667
+ "name",
7668
+ "input"
7669
+ ],
7670
+ "properties": {
7671
+ "type": {
7672
+ "type": "string",
7673
+ "enum": [
7674
+ "tool_use"
7675
+ ]
7676
+ },
7677
+ "id": {
7678
+ "type": "string"
7679
+ },
7680
+ "name": {
7681
+ "type": "string"
7682
+ },
7683
+ "input": {}
7684
+ },
7685
+ "allOf": [
7686
+ {
7687
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7688
+ }
7689
+ ],
7690
+ "description": "An MCP sampling request to invoke a tool."
7691
+ },
7098
7692
  "Runner.Mcp.RunnerMcpToolsResponse": {
7099
7693
  "type": "object",
7100
7694
  "required": [