@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.
@@ -1629,6 +1629,40 @@
1629
1629
  }
1630
1630
  }
1631
1631
  }
1632
+ },
1633
+ "503": {
1634
+ "description": "Service unavailable (503)",
1635
+ "headers": {
1636
+ "Retry-After": {
1637
+ "required": false,
1638
+ "description": "Expected availability time",
1639
+ "schema": {
1640
+ "type": "integer",
1641
+ "format": "int32"
1642
+ }
1643
+ },
1644
+ "X-Trace-Id": {
1645
+ "required": false,
1646
+ "description": "Trace ID for correlation",
1647
+ "schema": {
1648
+ "type": "string"
1649
+ }
1650
+ },
1651
+ "X-Request-Id": {
1652
+ "required": false,
1653
+ "description": "Request ID for support",
1654
+ "schema": {
1655
+ "type": "string"
1656
+ }
1657
+ }
1658
+ },
1659
+ "content": {
1660
+ "application/problem+json": {
1661
+ "schema": {
1662
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
1663
+ }
1664
+ }
1665
+ }
1632
1666
  }
1633
1667
  },
1634
1668
  "tags": [
@@ -2277,6 +2311,40 @@
2277
2311
  }
2278
2312
  }
2279
2313
  }
2314
+ },
2315
+ "503": {
2316
+ "description": "Service unavailable (503)",
2317
+ "headers": {
2318
+ "Retry-After": {
2319
+ "required": false,
2320
+ "description": "Expected availability time",
2321
+ "schema": {
2322
+ "type": "integer",
2323
+ "format": "int32"
2324
+ }
2325
+ },
2326
+ "X-Trace-Id": {
2327
+ "required": false,
2328
+ "description": "Trace ID for correlation",
2329
+ "schema": {
2330
+ "type": "string"
2331
+ }
2332
+ },
2333
+ "X-Request-Id": {
2334
+ "required": false,
2335
+ "description": "Request ID for support",
2336
+ "schema": {
2337
+ "type": "string"
2338
+ }
2339
+ }
2340
+ },
2341
+ "content": {
2342
+ "application/problem+json": {
2343
+ "schema": {
2344
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2345
+ }
2346
+ }
2347
+ }
2280
2348
  }
2281
2349
  },
2282
2350
  "tags": [
@@ -2447,6 +2515,40 @@
2447
2515
  }
2448
2516
  }
2449
2517
  }
2518
+ },
2519
+ "503": {
2520
+ "description": "Service unavailable (503)",
2521
+ "headers": {
2522
+ "Retry-After": {
2523
+ "required": false,
2524
+ "description": "Expected availability time",
2525
+ "schema": {
2526
+ "type": "integer",
2527
+ "format": "int32"
2528
+ }
2529
+ },
2530
+ "X-Trace-Id": {
2531
+ "required": false,
2532
+ "description": "Trace ID for correlation",
2533
+ "schema": {
2534
+ "type": "string"
2535
+ }
2536
+ },
2537
+ "X-Request-Id": {
2538
+ "required": false,
2539
+ "description": "Request ID for support",
2540
+ "schema": {
2541
+ "type": "string"
2542
+ }
2543
+ }
2544
+ },
2545
+ "content": {
2546
+ "application/problem+json": {
2547
+ "schema": {
2548
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2549
+ }
2550
+ }
2551
+ }
2450
2552
  }
2451
2553
  },
2452
2554
  "tags": [
@@ -2633,6 +2735,40 @@
2633
2735
  }
2634
2736
  }
2635
2737
  }
2738
+ },
2739
+ "503": {
2740
+ "description": "Service unavailable (503)",
2741
+ "headers": {
2742
+ "Retry-After": {
2743
+ "required": false,
2744
+ "description": "Expected availability time",
2745
+ "schema": {
2746
+ "type": "integer",
2747
+ "format": "int32"
2748
+ }
2749
+ },
2750
+ "X-Trace-Id": {
2751
+ "required": false,
2752
+ "description": "Trace ID for correlation",
2753
+ "schema": {
2754
+ "type": "string"
2755
+ }
2756
+ },
2757
+ "X-Request-Id": {
2758
+ "required": false,
2759
+ "description": "Request ID for support",
2760
+ "schema": {
2761
+ "type": "string"
2762
+ }
2763
+ }
2764
+ },
2765
+ "content": {
2766
+ "application/problem+json": {
2767
+ "schema": {
2768
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2769
+ }
2770
+ }
2771
+ }
2636
2772
  }
2637
2773
  },
2638
2774
  "tags": [
@@ -2719,6 +2855,40 @@
2719
2855
  }
2720
2856
  }
2721
2857
  }
2858
+ },
2859
+ "503": {
2860
+ "description": "Service unavailable (503)",
2861
+ "headers": {
2862
+ "Retry-After": {
2863
+ "required": false,
2864
+ "description": "Expected availability time",
2865
+ "schema": {
2866
+ "type": "integer",
2867
+ "format": "int32"
2868
+ }
2869
+ },
2870
+ "X-Trace-Id": {
2871
+ "required": false,
2872
+ "description": "Trace ID for correlation",
2873
+ "schema": {
2874
+ "type": "string"
2875
+ }
2876
+ },
2877
+ "X-Request-Id": {
2878
+ "required": false,
2879
+ "description": "Request ID for support",
2880
+ "schema": {
2881
+ "type": "string"
2882
+ }
2883
+ }
2884
+ },
2885
+ "content": {
2886
+ "application/problem+json": {
2887
+ "schema": {
2888
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2889
+ }
2890
+ }
2891
+ }
2722
2892
  }
2723
2893
  },
2724
2894
  "tags": [
@@ -2818,6 +2988,40 @@
2818
2988
  }
2819
2989
  }
2820
2990
  }
2991
+ },
2992
+ "503": {
2993
+ "description": "Service unavailable (503)",
2994
+ "headers": {
2995
+ "Retry-After": {
2996
+ "required": false,
2997
+ "description": "Expected availability time",
2998
+ "schema": {
2999
+ "type": "integer",
3000
+ "format": "int32"
3001
+ }
3002
+ },
3003
+ "X-Trace-Id": {
3004
+ "required": false,
3005
+ "description": "Trace ID for correlation",
3006
+ "schema": {
3007
+ "type": "string"
3008
+ }
3009
+ },
3010
+ "X-Request-Id": {
3011
+ "required": false,
3012
+ "description": "Request ID for support",
3013
+ "schema": {
3014
+ "type": "string"
3015
+ }
3016
+ }
3017
+ },
3018
+ "content": {
3019
+ "application/problem+json": {
3020
+ "schema": {
3021
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
3022
+ }
3023
+ }
3024
+ }
2821
3025
  }
2822
3026
  },
2823
3027
  "tags": [
@@ -2929,6 +3133,40 @@
2929
3133
  }
2930
3134
  }
2931
3135
  }
3136
+ },
3137
+ "503": {
3138
+ "description": "Service unavailable (503)",
3139
+ "headers": {
3140
+ "Retry-After": {
3141
+ "required": false,
3142
+ "description": "Expected availability time",
3143
+ "schema": {
3144
+ "type": "integer",
3145
+ "format": "int32"
3146
+ }
3147
+ },
3148
+ "X-Trace-Id": {
3149
+ "required": false,
3150
+ "description": "Trace ID for correlation",
3151
+ "schema": {
3152
+ "type": "string"
3153
+ }
3154
+ },
3155
+ "X-Request-Id": {
3156
+ "required": false,
3157
+ "description": "Request ID for support",
3158
+ "schema": {
3159
+ "type": "string"
3160
+ }
3161
+ }
3162
+ },
3163
+ "content": {
3164
+ "application/problem+json": {
3165
+ "schema": {
3166
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
3167
+ }
3168
+ }
3169
+ }
2932
3170
  }
2933
3171
  },
2934
3172
  "tags": [
@@ -3063,6 +3301,40 @@
3063
3301
  }
3064
3302
  }
3065
3303
  }
3304
+ },
3305
+ "503": {
3306
+ "description": "Service unavailable (503)",
3307
+ "headers": {
3308
+ "Retry-After": {
3309
+ "required": false,
3310
+ "description": "Expected availability time",
3311
+ "schema": {
3312
+ "type": "integer",
3313
+ "format": "int32"
3314
+ }
3315
+ },
3316
+ "X-Trace-Id": {
3317
+ "required": false,
3318
+ "description": "Trace ID for correlation",
3319
+ "schema": {
3320
+ "type": "string"
3321
+ }
3322
+ },
3323
+ "X-Request-Id": {
3324
+ "required": false,
3325
+ "description": "Request ID for support",
3326
+ "schema": {
3327
+ "type": "string"
3328
+ }
3329
+ }
3330
+ },
3331
+ "content": {
3332
+ "application/problem+json": {
3333
+ "schema": {
3334
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
3335
+ }
3336
+ }
3337
+ }
3066
3338
  }
3067
3339
  },
3068
3340
  "tags": [
@@ -3190,6 +3462,40 @@
3190
3462
  }
3191
3463
  }
3192
3464
  }
3465
+ },
3466
+ "503": {
3467
+ "description": "Service unavailable (503)",
3468
+ "headers": {
3469
+ "Retry-After": {
3470
+ "required": false,
3471
+ "description": "Expected availability time",
3472
+ "schema": {
3473
+ "type": "integer",
3474
+ "format": "int32"
3475
+ }
3476
+ },
3477
+ "X-Trace-Id": {
3478
+ "required": false,
3479
+ "description": "Trace ID for correlation",
3480
+ "schema": {
3481
+ "type": "string"
3482
+ }
3483
+ },
3484
+ "X-Request-Id": {
3485
+ "required": false,
3486
+ "description": "Request ID for support",
3487
+ "schema": {
3488
+ "type": "string"
3489
+ }
3490
+ }
3491
+ },
3492
+ "content": {
3493
+ "application/problem+json": {
3494
+ "schema": {
3495
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
3496
+ }
3497
+ }
3498
+ }
3193
3499
  }
3194
3500
  },
3195
3501
  "tags": [
@@ -3317,10 +3623,44 @@
3317
3623
  }
3318
3624
  }
3319
3625
  }
3320
- }
3321
- },
3322
- "tags": [
3323
- "Runner resources"
3626
+ },
3627
+ "503": {
3628
+ "description": "Service unavailable (503)",
3629
+ "headers": {
3630
+ "Retry-After": {
3631
+ "required": false,
3632
+ "description": "Expected availability time",
3633
+ "schema": {
3634
+ "type": "integer",
3635
+ "format": "int32"
3636
+ }
3637
+ },
3638
+ "X-Trace-Id": {
3639
+ "required": false,
3640
+ "description": "Trace ID for correlation",
3641
+ "schema": {
3642
+ "type": "string"
3643
+ }
3644
+ },
3645
+ "X-Request-Id": {
3646
+ "required": false,
3647
+ "description": "Request ID for support",
3648
+ "schema": {
3649
+ "type": "string"
3650
+ }
3651
+ }
3652
+ },
3653
+ "content": {
3654
+ "application/problem+json": {
3655
+ "schema": {
3656
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
3657
+ }
3658
+ }
3659
+ }
3660
+ }
3661
+ },
3662
+ "tags": [
3663
+ "Runner resources"
3324
3664
  ]
3325
3665
  }
3326
3666
  }
@@ -3361,6 +3701,33 @@
3361
3701
  },
3362
3702
  "description": "Key-value attribute pair following OTel conventions"
3363
3703
  },
3704
+ "Common.AttributeBytesValue": {
3705
+ "type": "object",
3706
+ "required": [
3707
+ "type",
3708
+ "base64"
3709
+ ],
3710
+ "properties": {
3711
+ "type": {
3712
+ "type": "string",
3713
+ "enum": [
3714
+ "bytes"
3715
+ ]
3716
+ },
3717
+ "base64": {
3718
+ "type": "string",
3719
+ "contentEncoding": "base64"
3720
+ }
3721
+ },
3722
+ "description": "Base64 bytes projected by qyl without colliding with an ordinary string attribute."
3723
+ },
3724
+ "Common.AttributeKeyValueListValue": {
3725
+ "type": "object",
3726
+ "unevaluatedProperties": {
3727
+ "$ref": "#/components/schemas/Common.AttributeValue"
3728
+ },
3729
+ "description": "Recursive OTLP key-value-list projected as a JSON object."
3730
+ },
3364
3731
  "Common.AttributeValue": {
3365
3732
  "anyOf": [
3366
3733
  {
@@ -3378,37 +3745,19 @@
3378
3745
  "format": "double"
3379
3746
  },
3380
3747
  {
3381
- "type": "array",
3382
- "items": {
3383
- "type": "string"
3384
- }
3385
- },
3386
- {
3387
- "type": "array",
3388
- "items": {
3389
- "type": "boolean"
3390
- }
3748
+ "$ref": "#/components/schemas/Common.AttributeBytesValue"
3391
3749
  },
3392
3750
  {
3393
3751
  "type": "array",
3394
3752
  "items": {
3395
- "type": "integer",
3396
- "format": "int64"
3397
- }
3398
- },
3399
- {
3400
- "type": "array",
3401
- "items": {
3402
- "type": "number",
3403
- "format": "double"
3753
+ "$ref": "#/components/schemas/Common.AttributeValue"
3404
3754
  }
3405
3755
  },
3406
3756
  {
3407
- "type": "string",
3408
- "contentEncoding": "base64"
3757
+ "$ref": "#/components/schemas/Common.AttributeKeyValueListValue"
3409
3758
  }
3410
3759
  ],
3411
- "description": "Primitive attribute value types supported by OpenTelemetry"
3760
+ "description": "Lossless JSON projection of an OpenTelemetry AnyValue attribute."
3412
3761
  },
3413
3762
  "Common.Attributes": {
3414
3763
  "type": "object",
@@ -6812,71 +7161,82 @@
6812
7161
  },
6813
7162
  "description": "Trace summary without the full span collection"
6814
7163
  },
6815
- "Runner.Mcp.RunnerMcpContent": {
7164
+ "Runner.Mcp.RunnerMcpAudioContent": {
6816
7165
  "type": "object",
6817
7166
  "required": [
6818
- "type"
7167
+ "type",
7168
+ "data",
7169
+ "mimeType"
6819
7170
  ],
6820
7171
  "properties": {
6821
7172
  "type": {
6822
- "type": "string"
6823
- },
6824
- "text": {
6825
- "type": "string"
7173
+ "type": "string",
7174
+ "enum": [
7175
+ "audio"
7176
+ ]
6826
7177
  },
6827
7178
  "data": {
6828
- "type": "string"
7179
+ "type": "string",
7180
+ "contentEncoding": "base64"
6829
7181
  },
6830
7182
  "mimeType": {
6831
7183
  "type": "string"
6832
- },
6833
- "uri": {
7184
+ }
7185
+ },
7186
+ "allOf": [
7187
+ {
7188
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7189
+ }
7190
+ ],
7191
+ "description": "Base64-encoded audio content."
7192
+ },
7193
+ "Runner.Mcp.RunnerMcpBlobResourceContent": {
7194
+ "type": "object",
7195
+ "required": [
7196
+ "blob"
7197
+ ],
7198
+ "properties": {
7199
+ "blob": {
6834
7200
  "type": "string",
6835
- "format": "uri"
6836
- },
6837
- "name": {
6838
- "type": "string"
6839
- },
6840
- "title": {
6841
- "type": "string"
6842
- },
6843
- "description": {
6844
- "type": "string"
6845
- },
6846
- "size": {
6847
- "type": "integer",
6848
- "format": "int64",
6849
- "minimum": 0
6850
- },
6851
- "icons": {
6852
- "type": "array",
6853
- "items": {
6854
- "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpIcon"
6855
- }
6856
- },
6857
- "resource": {
6858
- "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpResourceContent"
7201
+ "contentEncoding": "base64"
7202
+ }
7203
+ },
7204
+ "allOf": [
7205
+ {
7206
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpResourceContentMetadata"
7207
+ }
7208
+ ],
7209
+ "description": "Base64-encoded resource content returned by an MCP server."
7210
+ },
7211
+ "Runner.Mcp.RunnerMcpContent": {
7212
+ "oneOf": [
7213
+ {
7214
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpTextContent"
6859
7215
  },
6860
- "id": {
6861
- "type": "string"
7216
+ {
7217
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpImageContent"
6862
7218
  },
6863
- "input": {},
6864
- "toolUseId": {
6865
- "type": "string"
7219
+ {
7220
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpAudioContent"
6866
7221
  },
6867
- "content": {
6868
- "type": "array",
6869
- "items": {
6870
- "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContent"
6871
- }
7222
+ {
7223
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpEmbeddedResourceContent"
6872
7224
  },
6873
- "structuredContent": {
6874
- "type": "object",
6875
- "unevaluatedProperties": {}
7225
+ {
7226
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpResourceLinkContent"
6876
7227
  },
6877
- "isError": {
6878
- "type": "boolean"
7228
+ {
7229
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpToolUseContent"
6879
7230
  },
7231
+ {
7232
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpToolResultContent"
7233
+ }
7234
+ ],
7235
+ "description": "One MCP content item. The type literal selects the required variant fields."
7236
+ },
7237
+ "Runner.Mcp.RunnerMcpContentMetadata": {
7238
+ "type": "object",
7239
+ "properties": {
6880
7240
  "annotations": {
6881
7241
  "type": "object",
6882
7242
  "unevaluatedProperties": {}
@@ -6886,7 +7246,31 @@
6886
7246
  "unevaluatedProperties": {}
6887
7247
  }
6888
7248
  },
6889
- "description": "One MCP content item projected onto a stable qyl JSON shape. Variant-specific required fields follow its type discriminator."
7249
+ "description": "Metadata shared by every MCP content variant."
7250
+ },
7251
+ "Runner.Mcp.RunnerMcpEmbeddedResourceContent": {
7252
+ "type": "object",
7253
+ "required": [
7254
+ "type",
7255
+ "resource"
7256
+ ],
7257
+ "properties": {
7258
+ "type": {
7259
+ "type": "string",
7260
+ "enum": [
7261
+ "resource"
7262
+ ]
7263
+ },
7264
+ "resource": {
7265
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpResourceContent"
7266
+ }
7267
+ },
7268
+ "allOf": [
7269
+ {
7270
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7271
+ }
7272
+ ],
7273
+ "description": "A resource embedded in MCP content."
6890
7274
  },
6891
7275
  "Runner.Mcp.RunnerMcpIcon": {
6892
7276
  "type": "object",
@@ -6912,7 +7296,47 @@
6912
7296
  },
6913
7297
  "description": "Icon metadata carried by MCP tools and resource links."
6914
7298
  },
7299
+ "Runner.Mcp.RunnerMcpImageContent": {
7300
+ "type": "object",
7301
+ "required": [
7302
+ "type",
7303
+ "data",
7304
+ "mimeType"
7305
+ ],
7306
+ "properties": {
7307
+ "type": {
7308
+ "type": "string",
7309
+ "enum": [
7310
+ "image"
7311
+ ]
7312
+ },
7313
+ "data": {
7314
+ "type": "string",
7315
+ "contentEncoding": "base64"
7316
+ },
7317
+ "mimeType": {
7318
+ "type": "string"
7319
+ }
7320
+ },
7321
+ "allOf": [
7322
+ {
7323
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7324
+ }
7325
+ ],
7326
+ "description": "Base64-encoded image content."
7327
+ },
6915
7328
  "Runner.Mcp.RunnerMcpResourceContent": {
7329
+ "oneOf": [
7330
+ {
7331
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpTextResourceContent"
7332
+ },
7333
+ {
7334
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpBlobResourceContent"
7335
+ }
7336
+ ],
7337
+ "description": "Exactly one MCP text or blob resource variant."
7338
+ },
7339
+ "Runner.Mcp.RunnerMcpResourceContentMetadata": {
6916
7340
  "type": "object",
6917
7341
  "required": [
6918
7342
  "uri"
@@ -6925,18 +7349,61 @@
6925
7349
  "mimeType": {
6926
7350
  "type": "string"
6927
7351
  },
6928
- "text": {
7352
+ "_meta": {
7353
+ "type": "object",
7354
+ "unevaluatedProperties": {}
7355
+ }
7356
+ },
7357
+ "description": "Metadata shared by MCP text and blob resources."
7358
+ },
7359
+ "Runner.Mcp.RunnerMcpResourceLinkContent": {
7360
+ "type": "object",
7361
+ "required": [
7362
+ "type",
7363
+ "uri",
7364
+ "name"
7365
+ ],
7366
+ "properties": {
7367
+ "type": {
7368
+ "type": "string",
7369
+ "enum": [
7370
+ "resource_link"
7371
+ ]
7372
+ },
7373
+ "uri": {
7374
+ "type": "string",
7375
+ "format": "uri"
7376
+ },
7377
+ "name": {
6929
7378
  "type": "string"
6930
7379
  },
6931
- "blob": {
7380
+ "title": {
6932
7381
  "type": "string"
6933
7382
  },
6934
- "_meta": {
6935
- "type": "object",
6936
- "unevaluatedProperties": {}
7383
+ "description": {
7384
+ "type": "string"
7385
+ },
7386
+ "mimeType": {
7387
+ "type": "string"
7388
+ },
7389
+ "size": {
7390
+ "type": "integer",
7391
+ "format": "int64",
7392
+ "minimum": 0
7393
+ },
7394
+ "icons": {
7395
+ "type": "array",
7396
+ "items": {
7397
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpIcon"
7398
+ }
6937
7399
  }
6938
7400
  },
6939
- "description": "Text or base64 resource content returned by an MCP server. Exactly one of text or blob is present."
7401
+ "allOf": [
7402
+ {
7403
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7404
+ }
7405
+ ],
7406
+ "description": "A link to a resource that an MCP server can read."
6940
7407
  },
6941
7408
  "Runner.Mcp.RunnerMcpResourceReadRequest": {
6942
7409
  "type": "object",
@@ -7032,6 +7499,47 @@
7032
7499
  ],
7033
7500
  "description": "Lifecycle state of an MCP task returned by a task-augmented tool call."
7034
7501
  },
7502
+ "Runner.Mcp.RunnerMcpTextContent": {
7503
+ "type": "object",
7504
+ "required": [
7505
+ "type",
7506
+ "text"
7507
+ ],
7508
+ "properties": {
7509
+ "type": {
7510
+ "type": "string",
7511
+ "enum": [
7512
+ "text"
7513
+ ]
7514
+ },
7515
+ "text": {
7516
+ "type": "string"
7517
+ }
7518
+ },
7519
+ "allOf": [
7520
+ {
7521
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7522
+ }
7523
+ ],
7524
+ "description": "Text provided to or returned by an MCP model or tool."
7525
+ },
7526
+ "Runner.Mcp.RunnerMcpTextResourceContent": {
7527
+ "type": "object",
7528
+ "required": [
7529
+ "text"
7530
+ ],
7531
+ "properties": {
7532
+ "text": {
7533
+ "type": "string"
7534
+ }
7535
+ },
7536
+ "allOf": [
7537
+ {
7538
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpResourceContentMetadata"
7539
+ }
7540
+ ],
7541
+ "description": "Text resource content returned by an MCP server."
7542
+ },
7035
7543
  "Runner.Mcp.RunnerMcpTool": {
7036
7544
  "type": "object",
7037
7545
  "required": [
@@ -7138,6 +7646,44 @@
7138
7646
  },
7139
7647
  "description": "Execution metadata advertised for an MCP tool."
7140
7648
  },
7649
+ "Runner.Mcp.RunnerMcpToolResultContent": {
7650
+ "type": "object",
7651
+ "required": [
7652
+ "type",
7653
+ "toolUseId",
7654
+ "content"
7655
+ ],
7656
+ "properties": {
7657
+ "type": {
7658
+ "type": "string",
7659
+ "enum": [
7660
+ "tool_result"
7661
+ ]
7662
+ },
7663
+ "toolUseId": {
7664
+ "type": "string"
7665
+ },
7666
+ "content": {
7667
+ "type": "array",
7668
+ "items": {
7669
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContent"
7670
+ }
7671
+ },
7672
+ "structuredContent": {
7673
+ "type": "object",
7674
+ "unevaluatedProperties": {}
7675
+ },
7676
+ "isError": {
7677
+ "type": "boolean"
7678
+ }
7679
+ },
7680
+ "allOf": [
7681
+ {
7682
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7683
+ }
7684
+ ],
7685
+ "description": "The result of an MCP sampling tool invocation."
7686
+ },
7141
7687
  "Runner.Mcp.RunnerMcpToolTaskSupport": {
7142
7688
  "type": "string",
7143
7689
  "enum": [
@@ -7147,6 +7693,36 @@
7147
7693
  ],
7148
7694
  "description": "Task-augmentation support advertised for an MCP tool."
7149
7695
  },
7696
+ "Runner.Mcp.RunnerMcpToolUseContent": {
7697
+ "type": "object",
7698
+ "required": [
7699
+ "type",
7700
+ "id",
7701
+ "name",
7702
+ "input"
7703
+ ],
7704
+ "properties": {
7705
+ "type": {
7706
+ "type": "string",
7707
+ "enum": [
7708
+ "tool_use"
7709
+ ]
7710
+ },
7711
+ "id": {
7712
+ "type": "string"
7713
+ },
7714
+ "name": {
7715
+ "type": "string"
7716
+ },
7717
+ "input": {}
7718
+ },
7719
+ "allOf": [
7720
+ {
7721
+ "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpContentMetadata"
7722
+ }
7723
+ ],
7724
+ "description": "An MCP sampling request to invoke a tool."
7725
+ },
7150
7726
  "Runner.Mcp.RunnerMcpToolsResponse": {
7151
7727
  "type": "object",
7152
7728
  "required": [