Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit 9c03476

Browse files
feat(vertex): add native tool calling for Claude models on Vertex AI (#10197)
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
1 parent e2d1599 commit 9c03476

6 files changed

Lines changed: 505 additions & 53 deletions

File tree

packages/types/src/providers/vertex.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ export const vertexModels = {
278278
contextWindow: 200_000,
279279
supportsImages: true,
280280
supportsPromptCache: true,
281+
supportsNativeTools: true,
282+
defaultToolProtocol: "native",
281283
inputPrice: 3.0,
282284
outputPrice: 15.0,
283285
cacheWritesPrice: 3.75,
@@ -289,6 +291,8 @@ export const vertexModels = {
289291
contextWindow: 200_000,
290292
supportsImages: true,
291293
supportsPromptCache: true,
294+
supportsNativeTools: true,
295+
defaultToolProtocol: "native",
292296
inputPrice: 3.0,
293297
outputPrice: 15.0,
294298
cacheWritesPrice: 3.75,
@@ -300,6 +304,8 @@ export const vertexModels = {
300304
contextWindow: 200_000,
301305
supportsImages: true,
302306
supportsPromptCache: true,
307+
supportsNativeTools: true,
308+
defaultToolProtocol: "native",
303309
inputPrice: 1.0,
304310
outputPrice: 5.0,
305311
cacheWritesPrice: 1.25,
@@ -311,6 +317,8 @@ export const vertexModels = {
311317
contextWindow: 200_000,
312318
supportsImages: true,
313319
supportsPromptCache: true,
320+
supportsNativeTools: true,
321+
defaultToolProtocol: "native",
314322
inputPrice: 5.0,
315323
outputPrice: 25.0,
316324
cacheWritesPrice: 6.25,
@@ -322,6 +330,8 @@ export const vertexModels = {
322330
contextWindow: 200_000,
323331
supportsImages: true,
324332
supportsPromptCache: true,
333+
supportsNativeTools: true,
334+
defaultToolProtocol: "native",
325335
inputPrice: 15.0,
326336
outputPrice: 75.0,
327337
cacheWritesPrice: 18.75,
@@ -333,6 +343,8 @@ export const vertexModels = {
333343
contextWindow: 200_000,
334344
supportsImages: true,
335345
supportsPromptCache: true,
346+
supportsNativeTools: true,
347+
defaultToolProtocol: "native",
336348
inputPrice: 15.0,
337349
outputPrice: 75.0,
338350
cacheWritesPrice: 18.75,
@@ -343,6 +355,8 @@ export const vertexModels = {
343355
contextWindow: 200_000,
344356
supportsImages: true,
345357
supportsPromptCache: true,
358+
supportsNativeTools: true,
359+
defaultToolProtocol: "native",
346360
inputPrice: 3.0,
347361
outputPrice: 15.0,
348362
cacheWritesPrice: 3.75,
@@ -355,6 +369,8 @@ export const vertexModels = {
355369
contextWindow: 200_000,
356370
supportsImages: true,
357371
supportsPromptCache: true,
372+
supportsNativeTools: true,
373+
defaultToolProtocol: "native",
358374
inputPrice: 3.0,
359375
outputPrice: 15.0,
360376
cacheWritesPrice: 3.75,
@@ -365,6 +381,8 @@ export const vertexModels = {
365381
contextWindow: 200_000,
366382
supportsImages: true,
367383
supportsPromptCache: true,
384+
supportsNativeTools: true,
385+
defaultToolProtocol: "native",
368386
inputPrice: 3.0,
369387
outputPrice: 15.0,
370388
cacheWritesPrice: 3.75,
@@ -375,6 +393,8 @@ export const vertexModels = {
375393
contextWindow: 200_000,
376394
supportsImages: true,
377395
supportsPromptCache: true,
396+
supportsNativeTools: true,
397+
defaultToolProtocol: "native",
378398
inputPrice: 3.0,
379399
outputPrice: 15.0,
380400
cacheWritesPrice: 3.75,
@@ -385,6 +405,8 @@ export const vertexModels = {
385405
contextWindow: 200_000,
386406
supportsImages: false,
387407
supportsPromptCache: true,
408+
supportsNativeTools: true,
409+
defaultToolProtocol: "native",
388410
inputPrice: 1.0,
389411
outputPrice: 5.0,
390412
cacheWritesPrice: 1.25,
@@ -395,6 +417,8 @@ export const vertexModels = {
395417
contextWindow: 200_000,
396418
supportsImages: true,
397419
supportsPromptCache: true,
420+
supportsNativeTools: true,
421+
defaultToolProtocol: "native",
398422
inputPrice: 15.0,
399423
outputPrice: 75.0,
400424
cacheWritesPrice: 18.75,
@@ -405,6 +429,8 @@ export const vertexModels = {
405429
contextWindow: 200_000,
406430
supportsImages: true,
407431
supportsPromptCache: true,
432+
supportsNativeTools: true,
433+
defaultToolProtocol: "native",
408434
inputPrice: 0.25,
409435
outputPrice: 1.25,
410436
cacheWritesPrice: 0.3,

0 commit comments

Comments
 (0)