@tokenlabai/mcp-server 0.6.10 → 0.6.11

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.
@@ -21,6 +21,10 @@
21
21
  "name": "Chat",
22
22
  "description": "Chat completions API (OpenAI-compatible)"
23
23
  },
24
+ {
25
+ "name": "Responses",
26
+ "description": "OpenAI Responses API-compatible native endpoints"
27
+ },
24
28
  {
25
29
  "name": "Embeddings",
26
30
  "description": "Text embeddings API"
@@ -78,7 +82,7 @@
78
82
  "Chat"
79
83
  ],
80
84
  "summary": "Create chat completion",
81
- "description": "Creates a model response for the given chat conversation. Supports streaming and function calling.",
85
+ "description": "Creates a model response from a Chat Completions request. Chat-native upstreams receive the request shape unchanged apart from routing and authentication fields; unknown fields are forwarded on a best-effort basis. Portable Chat requests may be compiled one-way to another protocol when a compatible physical endpoint is selected.",
82
86
  "operationId": "createChatCompletion",
83
87
  "requestBody": {
84
88
  "required": true,
@@ -2048,7 +2052,7 @@
2048
2052
  "Gemini"
2049
2053
  ],
2050
2054
  "summary": "Generate content (Gemini-compatible)",
2051
- "description": "Generates content using Google Gemini API format. Supports text and vision models.\n\n**Authentication:** Use `?key=` query parameter, `x-goog-api-key` header, or `Authorization: Bearer` header.",
2055
+ "description": "Generates content using the native Gemini GenerateContent shape. This route is exposed only when the model details advertise Gemini requests and a same-protocol route is currently available. ProtoJSON lowerCamelCase and original proto snake_case field names are preserved. Unknown fields are forwarded best-effort and support is determined by the selected provider.\n\n**Authentication:** Use `?key=` query parameter, `x-goog-api-key` header, or `Authorization: Bearer` header.",
2052
2056
  "operationId": "geminiGenerateContent",
2053
2057
  "parameters": [
2054
2058
  {
@@ -2126,16 +2130,44 @@
2126
2130
  }
2127
2131
  },
2128
2132
  "400": {
2129
- "$ref": "#/components/responses/BadRequest"
2133
+ "description": "Gemini-native invalid request error",
2134
+ "content": {
2135
+ "application/json": {
2136
+ "schema": {
2137
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2138
+ }
2139
+ }
2140
+ }
2130
2141
  },
2131
2142
  "401": {
2132
- "$ref": "#/components/responses/Unauthorized"
2143
+ "description": "Gemini-native authentication error",
2144
+ "content": {
2145
+ "application/json": {
2146
+ "schema": {
2147
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2148
+ }
2149
+ }
2150
+ }
2133
2151
  },
2134
2152
  "402": {
2135
- "$ref": "#/components/responses/PaymentRequired"
2153
+ "description": "Gemini-native payment error",
2154
+ "content": {
2155
+ "application/json": {
2156
+ "schema": {
2157
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2158
+ }
2159
+ }
2160
+ }
2136
2161
  },
2137
2162
  "500": {
2138
- "$ref": "#/components/responses/ServerError"
2163
+ "description": "Gemini-native server error",
2164
+ "content": {
2165
+ "application/json": {
2166
+ "schema": {
2167
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2168
+ }
2169
+ }
2170
+ }
2139
2171
  }
2140
2172
  }
2141
2173
  }
@@ -2146,7 +2178,7 @@
2146
2178
  "Gemini"
2147
2179
  ],
2148
2180
  "summary": "Stream generate content (Gemini-compatible)",
2149
- "description": "Streams content generation using Google Gemini API format. Returns Server-Sent Events.\n\n**Authentication:** Use `?key=` query parameter, `x-goog-api-key` header, or `Authorization: Bearer` header.",
2181
+ "description": "Streams native Gemini GenerateContent Server-Sent Events without adding Chat Completions terminators. Metadata-only chunks, intermediate chunks without finishReason, and natural EOF are valid.\n\n**Authentication:** Use `?key=` query parameter, `x-goog-api-key` header, or `Authorization: Bearer` header.",
2150
2182
  "operationId": "geminiStreamGenerateContent",
2151
2183
  "parameters": [
2152
2184
  {
@@ -2191,16 +2223,283 @@
2191
2223
  }
2192
2224
  },
2193
2225
  "400": {
2194
- "$ref": "#/components/responses/BadRequest"
2226
+ "description": "Gemini-native invalid request error",
2227
+ "content": {
2228
+ "application/json": {
2229
+ "schema": {
2230
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2231
+ }
2232
+ }
2233
+ }
2195
2234
  },
2196
2235
  "401": {
2197
- "$ref": "#/components/responses/Unauthorized"
2236
+ "description": "Gemini-native authentication error",
2237
+ "content": {
2238
+ "application/json": {
2239
+ "schema": {
2240
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2241
+ }
2242
+ }
2243
+ }
2198
2244
  },
2199
2245
  "402": {
2200
- "$ref": "#/components/responses/PaymentRequired"
2246
+ "description": "Gemini-native payment error",
2247
+ "content": {
2248
+ "application/json": {
2249
+ "schema": {
2250
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2251
+ }
2252
+ }
2253
+ }
2201
2254
  },
2202
2255
  "500": {
2203
- "$ref": "#/components/responses/ServerError"
2256
+ "description": "Gemini-native server error",
2257
+ "content": {
2258
+ "application/json": {
2259
+ "schema": {
2260
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2261
+ }
2262
+ }
2263
+ }
2264
+ }
2265
+ }
2266
+ }
2267
+ },
2268
+ "/v1beta/models/{model}:countTokens": {
2269
+ "post": {
2270
+ "tags": [
2271
+ "Gemini"
2272
+ ],
2273
+ "summary": "Count tokens (Gemini-compatible)",
2274
+ "description": "Counts tokens using the native Gemini CountTokens contract. Unknown fields and either official ProtoJSON field-name spelling are forwarded best-effort.",
2275
+ "operationId": "geminiCountTokens",
2276
+ "parameters": [
2277
+ {
2278
+ "name": "model",
2279
+ "in": "path",
2280
+ "required": true,
2281
+ "schema": {
2282
+ "type": "string"
2283
+ }
2284
+ },
2285
+ {
2286
+ "name": "key",
2287
+ "in": "query",
2288
+ "required": false,
2289
+ "schema": {
2290
+ "type": "string"
2291
+ }
2292
+ }
2293
+ ],
2294
+ "requestBody": {
2295
+ "required": true,
2296
+ "content": {
2297
+ "application/json": {
2298
+ "schema": {
2299
+ "type": "object",
2300
+ "properties": {
2301
+ "contents": {
2302
+ "type": "array",
2303
+ "items": {
2304
+ "type": "object",
2305
+ "additionalProperties": true
2306
+ }
2307
+ },
2308
+ "generateContentRequest": {
2309
+ "type": "object",
2310
+ "additionalProperties": true
2311
+ },
2312
+ "generate_content_request": {
2313
+ "type": "object",
2314
+ "additionalProperties": true
2315
+ }
2316
+ },
2317
+ "additionalProperties": true
2318
+ }
2319
+ }
2320
+ }
2321
+ },
2322
+ "responses": {
2323
+ "200": {
2324
+ "description": "Gemini-native token count response",
2325
+ "content": {
2326
+ "application/json": {
2327
+ "schema": {
2328
+ "type": "object",
2329
+ "additionalProperties": true
2330
+ }
2331
+ }
2332
+ }
2333
+ },
2334
+ "400": {
2335
+ "description": "Gemini-native error response",
2336
+ "content": {
2337
+ "application/json": {
2338
+ "schema": {
2339
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2340
+ }
2341
+ }
2342
+ }
2343
+ }
2344
+ }
2345
+ }
2346
+ },
2347
+ "/v1beta/models/{model}:embedContent": {
2348
+ "post": {
2349
+ "tags": [
2350
+ "Gemini"
2351
+ ],
2352
+ "summary": "Embed content (Gemini-compatible)",
2353
+ "description": "Creates an embedding using the native Gemini EmbedContent contract.",
2354
+ "operationId": "geminiEmbedContent",
2355
+ "parameters": [
2356
+ {
2357
+ "name": "model",
2358
+ "in": "path",
2359
+ "required": true,
2360
+ "schema": {
2361
+ "type": "string"
2362
+ }
2363
+ },
2364
+ {
2365
+ "name": "key",
2366
+ "in": "query",
2367
+ "required": false,
2368
+ "schema": {
2369
+ "type": "string"
2370
+ }
2371
+ }
2372
+ ],
2373
+ "requestBody": {
2374
+ "required": true,
2375
+ "content": {
2376
+ "application/json": {
2377
+ "schema": {
2378
+ "type": "object",
2379
+ "required": [
2380
+ "content"
2381
+ ],
2382
+ "properties": {
2383
+ "content": {
2384
+ "type": "object",
2385
+ "additionalProperties": true
2386
+ },
2387
+ "taskType": {
2388
+ "type": "string"
2389
+ },
2390
+ "task_type": {
2391
+ "type": "string"
2392
+ },
2393
+ "title": {
2394
+ "type": "string"
2395
+ },
2396
+ "outputDimensionality": {
2397
+ "type": "integer"
2398
+ },
2399
+ "output_dimensionality": {
2400
+ "type": "integer"
2401
+ }
2402
+ },
2403
+ "additionalProperties": true
2404
+ }
2405
+ }
2406
+ }
2407
+ },
2408
+ "responses": {
2409
+ "200": {
2410
+ "description": "Gemini-native embedding response",
2411
+ "content": {
2412
+ "application/json": {
2413
+ "schema": {
2414
+ "type": "object",
2415
+ "additionalProperties": true
2416
+ }
2417
+ }
2418
+ }
2419
+ },
2420
+ "400": {
2421
+ "description": "Gemini-native error response",
2422
+ "content": {
2423
+ "application/json": {
2424
+ "schema": {
2425
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2426
+ }
2427
+ }
2428
+ }
2429
+ }
2430
+ }
2431
+ }
2432
+ },
2433
+ "/v1beta/models/{model}:batchEmbedContents": {
2434
+ "post": {
2435
+ "tags": [
2436
+ "Gemini"
2437
+ ],
2438
+ "summary": "Batch embed contents (Gemini-compatible)",
2439
+ "description": "Creates multiple embeddings using the native Gemini BatchEmbedContents contract.",
2440
+ "operationId": "geminiBatchEmbedContents",
2441
+ "parameters": [
2442
+ {
2443
+ "name": "model",
2444
+ "in": "path",
2445
+ "required": true,
2446
+ "schema": {
2447
+ "type": "string"
2448
+ }
2449
+ },
2450
+ {
2451
+ "name": "key",
2452
+ "in": "query",
2453
+ "required": false,
2454
+ "schema": {
2455
+ "type": "string"
2456
+ }
2457
+ }
2458
+ ],
2459
+ "requestBody": {
2460
+ "required": true,
2461
+ "content": {
2462
+ "application/json": {
2463
+ "schema": {
2464
+ "type": "object",
2465
+ "required": [
2466
+ "requests"
2467
+ ],
2468
+ "properties": {
2469
+ "requests": {
2470
+ "type": "array",
2471
+ "items": {
2472
+ "type": "object",
2473
+ "additionalProperties": true
2474
+ }
2475
+ }
2476
+ },
2477
+ "additionalProperties": true
2478
+ }
2479
+ }
2480
+ }
2481
+ },
2482
+ "responses": {
2483
+ "200": {
2484
+ "description": "Gemini-native batch embedding response",
2485
+ "content": {
2486
+ "application/json": {
2487
+ "schema": {
2488
+ "type": "object",
2489
+ "additionalProperties": true
2490
+ }
2491
+ }
2492
+ }
2493
+ },
2494
+ "400": {
2495
+ "description": "Gemini-native error response",
2496
+ "content": {
2497
+ "application/json": {
2498
+ "schema": {
2499
+ "$ref": "#/components/schemas/GeminiErrorResponse"
2500
+ }
2501
+ }
2502
+ }
2204
2503
  }
2205
2504
  }
2206
2505
  }
@@ -2208,10 +2507,10 @@
2208
2507
  "/v1/responses": {
2209
2508
  "post": {
2210
2509
  "tags": [
2211
- "Chat"
2510
+ "Responses"
2212
2511
  ],
2213
2512
  "summary": "Create response (OpenAI Responses API)",
2214
- "description": "Creates a response using the OpenAI Responses API format. Supports stateful conversation management.",
2513
+ "description": "Creates a response using the native OpenAI Responses API shape. The model details must advertise the Responses request format and a same-protocol route must be currently available; model names and providers do not imply availability. Unknown request fields are forwarded on a best-effort basis and remain subject to the selected provider's support.",
2215
2514
  "operationId": "createResponse",
2216
2515
  "requestBody": {
2217
2516
  "required": true,
@@ -2220,8 +2519,7 @@
2220
2519
  "schema": {
2221
2520
  "type": "object",
2222
2521
  "required": [
2223
- "model",
2224
- "input"
2522
+ "model"
2225
2523
  ],
2226
2524
  "properties": {
2227
2525
  "model": {
@@ -2261,7 +2559,7 @@
2261
2559
  "type": "object",
2262
2560
  "additionalProperties": true
2263
2561
  },
2264
- "description": "Tools available to the model. For hosted image_generation tools that use the default image tool model or explicitly set model: gpt-image-2, TokenLab removes unsupported input_fidelity before forwarding because GPT Image 2 already treats image inputs as high fidelity. Do not send background: transparent for that tool; TokenLab does not silently remove it because that changes output semantics."
2562
+ "description": "Tools available to the model. Tool types and combinations are validated by the selected service."
2265
2563
  },
2266
2564
  "tool_choice": {
2267
2565
  "oneOf": [
@@ -2283,13 +2581,9 @@
2283
2581
  "description": "When true, request obfuscated tokens in Responses stream events from compatible upstreams."
2284
2582
  }
2285
2583
  },
2286
- "additionalProperties": false,
2584
+ "additionalProperties": true,
2287
2585
  "description": "Responses streaming options."
2288
2586
  },
2289
- "reasoning_effort": {
2290
- "type": "string",
2291
- "description": "Reasoning effort hint for compatible models."
2292
- },
2293
2587
  "include": {
2294
2588
  "type": "array",
2295
2589
  "items": {
@@ -2304,17 +2598,35 @@
2304
2598
  ],
2305
2599
  "description": "Service tier hint for compatible providers."
2306
2600
  },
2307
- "truncation_strategy": {
2601
+ "truncation": {
2308
2602
  "type": "string",
2309
- "description": "Truncation strategy for long conversations when supported."
2603
+ "description": "Truncation strategy for long conversations."
2310
2604
  },
2311
- "seed": {
2312
- "type": "integer",
2313
- "description": "Seed for deterministic-compatible providers."
2605
+ "background": {
2606
+ "type": "boolean",
2607
+ "description": "Whether to run the response asynchronously."
2314
2608
  },
2315
- "user": {
2609
+ "previous_response_id": {
2316
2610
  "type": "string",
2317
- "description": "End-user identifier."
2611
+ "description": "ID of a previous response to continue."
2612
+ },
2613
+ "prompt": {
2614
+ "type": "object",
2615
+ "additionalProperties": true,
2616
+ "description": "Reference to a reusable prompt template and variables."
2617
+ },
2618
+ "store": {
2619
+ "type": "boolean",
2620
+ "description": "Whether the response is stored for later retrieval."
2621
+ },
2622
+ "reasoning": {
2623
+ "type": "object",
2624
+ "additionalProperties": true,
2625
+ "description": "Reasoning configuration."
2626
+ },
2627
+ "top_p": {
2628
+ "type": "number",
2629
+ "description": "Nucleus sampling probability."
2318
2630
  },
2319
2631
  "parallel_tool_calls": {
2320
2632
  "type": "boolean",
@@ -2330,7 +2642,8 @@
2330
2642
  "additionalProperties": true,
2331
2643
  "description": "Text formatting options."
2332
2644
  }
2333
- }
2645
+ },
2646
+ "additionalProperties": true
2334
2647
  }
2335
2648
  }
2336
2649
  }
@@ -2351,7 +2664,7 @@
2351
2664
  "/v1/responses/{id}": {
2352
2665
  "get": {
2353
2666
  "tags": [
2354
- "Chat"
2667
+ "Responses"
2355
2668
  ],
2356
2669
  "summary": "Retrieve response",
2357
2670
  "description": "Retrieves a stored Responses API response by TokenLab response id. Ownership checks return 404 when the response is missing or unavailable to the current API key.",
@@ -2365,6 +2678,41 @@
2365
2678
  "type": "string"
2366
2679
  },
2367
2680
  "description": "Response id returned by POST /v1/responses."
2681
+ },
2682
+ {
2683
+ "name": "include",
2684
+ "in": "query",
2685
+ "schema": {
2686
+ "type": "array",
2687
+ "items": {
2688
+ "type": "string"
2689
+ }
2690
+ },
2691
+ "description": "Additional response fields to include."
2692
+ },
2693
+ {
2694
+ "name": "include_obfuscation",
2695
+ "in": "query",
2696
+ "schema": {
2697
+ "type": "boolean"
2698
+ },
2699
+ "description": "Whether streamed events include obfuscation fields."
2700
+ },
2701
+ {
2702
+ "name": "stream",
2703
+ "in": "query",
2704
+ "schema": {
2705
+ "type": "boolean"
2706
+ },
2707
+ "description": "Whether to retrieve the response as an event stream."
2708
+ },
2709
+ {
2710
+ "name": "starting_after",
2711
+ "in": "query",
2712
+ "schema": {
2713
+ "type": "integer"
2714
+ },
2715
+ "description": "Sequence number after which streaming events are returned."
2368
2716
  }
2369
2717
  ],
2370
2718
  "responses": {
@@ -2384,10 +2732,10 @@
2384
2732
  },
2385
2733
  "delete": {
2386
2734
  "tags": [
2387
- "Chat"
2735
+ "Responses"
2388
2736
  ],
2389
2737
  "summary": "Delete response",
2390
- "description": "Deletes a stored Responses API response by TokenLab response id. When applicable, TokenLab clears the provider-side record before clearing local state.",
2738
+ "description": "Deletes a stored Responses API response. This operation is deletion, not cancellation of an in-progress response.",
2391
2739
  "operationId": "deleteResponse",
2392
2740
  "parameters": [
2393
2741
  {
@@ -2419,10 +2767,10 @@
2419
2767
  "/v1/responses/compact": {
2420
2768
  "post": {
2421
2769
  "tags": [
2422
- "Chat"
2770
+ "Responses"
2423
2771
  ],
2424
2772
  "summary": "Compact response context (OpenAI Responses API)",
2425
- "description": "Compacts a Responses conversation for Codex CLI remote compaction. This endpoint uses `POST /v1/responses/compact`; do not use `/v1/compact`. The request `model` is the current Codex session model and must be available on the Responses path.",
2773
+ "description": "Compacts Responses input and returns the native `response.compaction` contract. The request model must be available on a same-protocol Responses path.",
2426
2774
  "operationId": "compactResponse",
2427
2775
  "requestBody": {
2428
2776
  "required": true,
@@ -6622,6 +6970,26 @@
6622
6970
  "$ref": "#/components/schemas/Tool"
6623
6971
  }
6624
6972
  },
6973
+ "functions": {
6974
+ "type": "array",
6975
+ "description": "Deprecated function definitions retained by the official Chat Completions contract.",
6976
+ "items": {
6977
+ "type": "object",
6978
+ "additionalProperties": true
6979
+ }
6980
+ },
6981
+ "function_call": {
6982
+ "oneOf": [
6983
+ {
6984
+ "type": "string"
6985
+ },
6986
+ {
6987
+ "type": "object",
6988
+ "additionalProperties": true
6989
+ }
6990
+ ],
6991
+ "description": "Deprecated function-call selection retained by the official Chat Completions contract."
6992
+ },
6625
6993
  "tool_choice": {
6626
6994
  "oneOf": [
6627
6995
  {
@@ -6705,11 +7073,6 @@
6705
7073
  "maximum": 20,
6706
7074
  "description": "Number of most likely tokens to return at each position when logprobs is enabled."
6707
7075
  },
6708
- "top_k": {
6709
- "type": "integer",
6710
- "minimum": 0,
6711
- "description": "Top-k sampling cutoff for compatible providers."
6712
- },
6713
7076
  "logit_bias": {
6714
7077
  "type": "object",
6715
7078
  "additionalProperties": {
@@ -6746,18 +7109,6 @@
6746
7109
  },
6747
7110
  "description": "Language settings for models that translate audio or video through Chat Completions."
6748
7111
  },
6749
- "speech_rate": {
6750
- "type": "number",
6751
- "minimum": 0.5,
6752
- "maximum": 2,
6753
- "description": "Speech rate for compatible translated audio output."
6754
- },
6755
- "repetition_penalty": {
6756
- "type": "number",
6757
- "minimum": 0,
6758
- "exclusiveMinimum": true,
6759
- "description": "Repetition penalty for compatible models."
6760
- },
6761
7112
  "prediction": {
6762
7113
  "type": "object",
6763
7114
  "additionalProperties": true,
@@ -6770,7 +7121,8 @@
6770
7121
  ],
6771
7122
  "description": "Service tier hint for compatible providers."
6772
7123
  }
6773
- }
7124
+ },
7125
+ "additionalProperties": true
6774
7126
  },
6775
7127
  "ChatMessage": {
6776
7128
  "type": "object",
@@ -9169,6 +9521,7 @@
9169
9521
  },
9170
9522
  "GeminiRequest": {
9171
9523
  "type": "object",
9524
+ "description": "Native Gemini GenerateContent request. ProtoJSON lowerCamelCase and original proto snake_case names are both accepted and preserved, including mixed requests. If both spellings of one field are present, TokenLab does not merge them or choose a local precedence. Unknown fields are forwarded on a best-effort basis.",
9172
9525
  "required": [
9173
9526
  "contents"
9174
9527
  ],
@@ -9417,7 +9770,7 @@
9417
9770
  "candidateCount": {
9418
9771
  "type": "integer",
9419
9772
  "minimum": 1,
9420
- "description": "Number of response candidates for non-streaming generation. Streaming requests must omit this field or keep it at 1."
9773
+ "description": "Requested number of response candidates. Support is determined by the selected service."
9421
9774
  },
9422
9775
  "responseModalities": {
9423
9776
  "type": "array",
@@ -9473,7 +9826,7 @@
9473
9826
  },
9474
9827
  "tools": {
9475
9828
  "type": "array",
9476
- "description": "Gemini tools. Supported tool combinations depend on the selected model and route; unsupported native image-output tool combinations are rejected before upstream retries.",
9829
+ "description": "Gemini tools. Tool types and combinations are interpreted by the selected service.",
9477
9830
  "items": {
9478
9831
  "type": "object",
9479
9832
  "properties": {
@@ -9575,8 +9928,36 @@
9575
9928
  "cachedContent": {
9576
9929
  "type": "string",
9577
9930
  "description": "Gemini cached content resource name for compatible models."
9931
+ },
9932
+ "system_instruction": {
9933
+ "type": "object",
9934
+ "additionalProperties": true,
9935
+ "description": "Original proto field-name spelling of systemInstruction."
9936
+ },
9937
+ "generation_config": {
9938
+ "type": "object",
9939
+ "additionalProperties": true,
9940
+ "description": "Original proto field-name spelling of generationConfig."
9941
+ },
9942
+ "safety_settings": {
9943
+ "type": "array",
9944
+ "items": {
9945
+ "type": "object",
9946
+ "additionalProperties": true
9947
+ },
9948
+ "description": "Original proto field-name spelling of safetySettings."
9949
+ },
9950
+ "tool_config": {
9951
+ "type": "object",
9952
+ "additionalProperties": true,
9953
+ "description": "Original proto field-name spelling of toolConfig."
9954
+ },
9955
+ "cached_content": {
9956
+ "type": "string",
9957
+ "description": "Original proto field-name spelling of cachedContent."
9578
9958
  }
9579
- }
9959
+ },
9960
+ "additionalProperties": true
9580
9961
  },
9581
9962
  "GeminiResponse": {
9582
9963
  "type": "object",
@@ -10852,6 +11233,52 @@
10852
11233
  },
10853
11234
  "GeminiModelInfo": {
10854
11235
  "type": "object",
11236
+ "required": [
11237
+ "name",
11238
+ "baseModelId",
11239
+ "version"
11240
+ ],
11241
+ "properties": {
11242
+ "name": {
11243
+ "type": "string"
11244
+ },
11245
+ "baseModelId": {
11246
+ "type": "string"
11247
+ },
11248
+ "version": {
11249
+ "type": "string"
11250
+ },
11251
+ "displayName": {
11252
+ "type": "string"
11253
+ },
11254
+ "description": {
11255
+ "type": "string"
11256
+ },
11257
+ "inputTokenLimit": {
11258
+ "type": "integer"
11259
+ },
11260
+ "outputTokenLimit": {
11261
+ "type": "integer"
11262
+ },
11263
+ "supportedGenerationMethods": {
11264
+ "type": "array",
11265
+ "items": {
11266
+ "type": "string"
11267
+ }
11268
+ },
11269
+ "temperature": {
11270
+ "type": "number"
11271
+ },
11272
+ "maxTemperature": {
11273
+ "type": "number"
11274
+ },
11275
+ "topP": {
11276
+ "type": "number"
11277
+ },
11278
+ "topK": {
11279
+ "type": "number"
11280
+ }
11281
+ },
10855
11282
  "additionalProperties": true
10856
11283
  },
10857
11284
  "GeminiModelListResponse": {