• bitcoinBitcoin(BTC)$61,340.005.20%
  • ethereumEthereum(ETH)$1,720.303.97%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$556.694.73%
  • usd-coinUSDC(USDC)$1.000.00%
  • rippleXRP(XRP)$0.933.11%
  • solanaSolana(SOL)$70.972.80%
  • tronTRON(TRX)$0.3054870.93%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.073.36%
  • HyperliquidHyperliquid(HYPE)$63.025.80%
  • zcashZcash(ZEC)$798.773.87%
  • moneroMonero(XMR)$487.352.51%
  • dogecoinDogecoin(DOGE)$0.0556323.17%
  • leo-tokenLEO Token(LEO)$9.160.34%
  • whitebitWhiteBIT Coin(WBT)$58.714.27%
  • chainlinkChainlink(LINK)$8.864.52%
  • USDSUSDS(USDS)$1.00-0.01%
  • cardanoCardano(ADA)$0.1466203.98%
  • Ethena USDeEthena USDe(USDE)$1.000.02%
  • stellarStellar(XLM)$0.1296302.61%
  • daiDai(DAI)$1.000.01%
  • bitcoin-cashBitcoin Cash(BCH)$199.613.25%
  • nearNEAR Protocol(NEAR)$3.018.54%
  • litecoinLitecoin(LTC)$39.992.01%
  • avalanche-2Avalanche(AVAX)$6.743.93%
  • CantonCanton(CC)$0.074116-0.45%
  • uniswapUniswap(UNI)$4.745.17%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • tether-goldTether Gold(XAUT)$3,550.190.78%
  • USD1USD1(USD1)$1.000.03%
  • the-open-networkGram (prev. Toncoin)(GRAM)$0.983.57%
  • suiSui(SUI)$0.665.05%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.09%
  • RainRain(RAIN)$0.003288-6.02%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.02%
  • hedera-hashgraphHedera(HBAR)$0.0520042.69%
  • BittensorBittensor(TAO)$192.385.90%
  • shiba-inuShiba Inu(SHIB)$0.0000042.90%
  • crypto-com-chainCronos(CRO)$0.0413922.48%
  • quant-networkQuant(QNT)$143.246.46%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.120.00%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$0.76-0.55%
  • okbOKB(OKB)$81.564.39%
  • Falcon USDFalcon USD(USDF)$1.000.01%
  • United StablesUnited Stables(U)$1.000.05%
  • pax-goldPAX Gold(PAXG)$3,554.170.76%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$99.29-0.57%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Google AI Previews Tool Retrieval in the Gemini API for Large Tool Libraries

November 22, 2026
in AI & Technology
Reading Time: 16 mins read
A A
Google AI Previews Tool Retrieval in the Gemini API for Large Tool Libraries
ShareShareShareShareShare

Google has launched Tool Retrieval in the Gemini API, now in preview in the Interactions API. Gemini API Tool Retrieval lets an agent keep a large tool library available. It does not send every parameter schema in every prompt. The model loads a schema only when a task needs that tool. For agents wired to dozens of functions or MCP servers, it targets a real cost: tool definitions. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

TL;DR

  • Tool: An API feature with no stated tool cap. Google advises static loading under 20 stable tools.
  • Runs on: Google’s servers (server-side search) or your own registry (client-side). Interactions API, v1beta only.
  • Performance: Search, schema load and function call resolve in 1 API request in server mode.
  • Best: 0 extra round trips and no index to host for server-side retrieval.

What is Gemini API Tool Retrieval?

Tool Retrieval is a Gemini API feature that defers tool parameter schemas until the model asks for them. Google’s documentation states the problem plainly. A few dozen function declarations can consume tens of thousands of tokens on every request.

With deferral, the model sees only each tool’s name and a short description. It does not see the parameter schema until retrieval.

How does defer_loading work in the Gemini Interactions API?

You add {"type": "tool_search"} to the tools array. Then you set defer_loading: true on each function to hold back. The @googledevs launch post shows a deferred issue_refund function on gemini-4-hydrogen. Its code comment mentions 50+ other deferred functions.

When the model needs a deferred tool, the response contains 3 steps:

  • tool_search_call: the model requests a tool by name.
  • tool_search_result: the API returns the full schema.
  • function_call: the model emits the call your code executes.

The API resolves the first 2 steps itself. Your app only runs the function_call and returns a function_result.

Deferred functions can carry an optional short_description. It is shown during retrieval and is valid only when defer_loading is true.

Server-side vs client-side retrieval

Server-side is the default. Gemini runs the search, so there is no index to build or host.

Client-side mode uses "execution": "client". Your app runs its own lookup, such as an embedding index, registry or permission filter. It returns matching declarations in function_result.result. Those tools can join mid-conversation, even if absent from the initial tools array. Each client-side search costs 1 extra round trip.

The 2 modes cannot be combined in 1 request. Only 1 tool_search entry is allowed per request.

Does it work with MCP servers and prefix caching?

Yes on both, with caveats. Setting defer_loading: true on an mcp_server entry defers every tool that server exposes. Deferred MCP tools still execute remotely through the Gemini API MCP support.

On caching, deferred schemas stay out of the prompt prefix. Loaded schemas append inline, so implicit caching still applies. The docs add one catch: deferring tools can shrink a prompt below the minimum cacheable size.

What does Tool Retrieval cost?

There is no separate fee. Tokens bill at the model’s standard input, cached and output rates. Each server-side search triggers an extra model call over the full context. Those tokens appear in total_tool_use_tokens, billed at the input rate.

Each loaded schema then stays billed as input for the rest of the conversation. The docs say static loading can cost less for small libraries or per-turn searches.

How does it compare with Claude and OpenAI tool search?

Anthropic and OpenAI already ship similar tool search features, with published savings numbers.

Feature Gemini API Tool Retrieval Anthropic Tool Search Tool OpenAI tool search
Status Preview, v1beta Not disclosed on docs page Not disclosed on docs page
API surface Interactions API only Messages API; Bedrock InvokeModel Responses API
Models Gemini 4 Carbon, Neon, Hydrogen, Argon; 3.8 Flash; 3.6 Flash Claude 5 series, Opus 4.5+, Sonnet 4.5+, Haiku 4.5 gpt-5.4 and later
Search modes Server or client Regex, BM25 or custom Hosted or client-executed
Max deferred tools Not disclosed 10,000 Not disclosed
Results per search Not disclosed 5 by default Not disclosed
MCP deferral Per mcp_server entry Per mcp_toolset On MCP server tool
Separate fee No No Not disclosed
Published token savings None 85% (77K to 8.7K tokens) 47% on 250 MCP Atlas tasks
Published accuracy None Opus 4.5: 79.5% to 88.1% Not disclosed

Anthropic and OpenAI figures are self-reported in their own tests. They are not comparable to any Gemini result.

<iframe id="gtr-frame" title="Gemini API Tool Retrieval interactive explainer" srcdoc="<!DOCTYPE html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Gemini API Tool Retrieval explainer</title>
<style>
#gtr-x{–b:#4285F4;–r:#EA4335;–y:#FBBC04;–g:#34A853;–ink:#1f1f1f;–mut:#5f6368;–line:#e3e8ef;max-width:880px;margin:0 auto;font-family:Inter,Roboto,Arial,sans-serif;color:var(–ink)!important;background:#ffffff!important;border:1px solid var(–line)!important;border-radius:16px;overflow:hidden;box-sizing:border-box}
#gtr-x *{box-sizing:border-box}
body{margin:0;background:transparent}
#gtr-x hr,#gtr-x p:empty,#gtr-x del,#gtr-x s{display:none!important}
#gtr-x .hd{padding:20px 24px 12px;background:#f8fafd!important;border-bottom:1px solid var(–line)!important}
#gtr-x .dots{display:inline-flex;gap:5px;align-items:center;background:#fff!important;border:1px solid var(–line)!important;border-radius:99px;padding:5px 10px;font-size:11px;font-weight:600;color:var(–mut)!important;letter-spacing:.04em}
#gtr-x .dots i{width:8px;height:8px;border-radius:50%;display:inline-block}
#gtr-x h3{margin:10px 0 4px;font-size:22px;line-height:1.25;color:var(–ink)!important}
#gtr-x .sub{margin:0;color:var(–mut)!important;font-size:14px}
#gtr-x .tabs{display:flex;gap:4px;padding:10px 16px 0;border-bottom:1px solid var(–line)!important;overflow-x:auto;background:#fff!important}
#gtr-x .tab{border:0!important;background:transparent!important;padding:10px 14px;font:600 14px Inter,Roboto,Arial,sans-serif;color:var(–mut)!important;cursor:pointer;border-bottom:3px solid transparent!important;white-space:nowrap}
#gtr-x .tab.on{color:var(–b)!important;border-bottom-color:var(–b)!important}
#gtr-x .pane{display:none;padding:22px 24px;animation:gfade .35s ease}
#gtr-x .pane.on{display:block}
@keyframes gfade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#gtr-x .flow{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}
#gtr-x .st{flex:1;min-width:140px;border:2px solid var(–line)!important;border-radius:12px;padding:12px;background:#fff!important;transition:all .35s ease;opacity:.45}
#gtr-x .st.on{opacity:1;transform:translateY(-3px);box-shadow:0 6px 18px rgba(66,133,244,.18)}
#gtr-x .st b{display:block;font-size:12px;letter-spacing:.05em;margin-bottom:6px}
#gtr-x .st code{display:block;font:600 13px 'Roboto Mono',monospace;color:var(–ink)!important;background:#f1f3f4!important;border:0!important;padding:4px 6px;border-radius:6px;margin-bottom:6px}
#gtr-x .st span{font-size:13px;color:var(–mut)!important;line-height:1.4}
#gtr-x .who{font-size:11px;font-weight:700;padding:2px 8px;border-radius:99px;display:inline-block;margin-top:6px}
#gtr-x .ctl{display:flex;gap:8px;margin-top:16px;align-items:center;flex-wrap:wrap}
#gtr-x .btn{border:0!important;border-radius:99px;padding:9px 16px;font:600 13px Inter,Roboto,Arial,sans-serif;cursor:pointer;background:var(–b)!important;color:#fff!important}
#gtr-x .btn.ghost{background:#e8f0fe!important;color:var(–b)!important}
#gtr-x .note{font-size:12.5px;color:var(–mut)!important;margin:12px 0 0;line-height:1.45}
#gtr-x .cap{font-size:14px;margin:14px 0 0;min-height:40px;line-height:1.5}
#gtr-x .grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#gtr-x .ctx{border:1px solid var(–line)!important;border-radius:12px;padding:12px;background:#fafbfc!important;min-height:230px}
#gtr-x .ctx h4{margin:0 0 8px;font-size:14px;color:var(–ink)!important}
#gtr-x .blk{border-radius:6px;margin:4px 0;padding:6px 8px;font:500 12px 'Roboto Mono',monospace;transition:all .4s ease;overflow:hidden}
#gtr-x .full{background:#fce8e6!important;color:#a50e0e!important;height:30px}
#gtr-x .thin{background:#e8f0fe!important;color:#174ea6!important;height:24px}
#gtr-x .loaded{background:#e6f4ea!important;color:#0d652d!important;height:30px}
#gtr-x .chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
#gtr-x .chip{border:1px solid var(–line)!important;background:#fff!important;border-radius:99px;padding:6px 10px;font:500 12px 'Roboto Mono',monospace;cursor:pointer;color:var(–ink)!important}
#gtr-x .chip.got{background:var(–g)!important;color:#fff!important;border-color:var(–g)!important}
#gtr-x table{width:100%;border-collapse:collapse;font-size:13.5px}
#gtr-x th,#gtr-x td{text-align:left;padding:9px 10px;border-bottom:1px solid var(–line)!important;color:var(–ink)!important;background:#fff!important}
#gtr-x th{font-size:12px;color:var(–mut)!important;text-transform:uppercase;letter-spacing:.04em}
#gtr-x .seg{display:inline-flex;background:#f1f3f4!important;border-radius:99px;padding:3px;margin-bottom:14px}
#gtr-x .seg button{border:0!important;background:transparent!important;border-radius:99px;padding:7px 14px;font:600 13px Inter,Roboto,Arial,sans-serif;cursor:pointer;color:var(–mut)!important}
#gtr-x .seg button.on{background:#fff!important;color:var(–b)!important;box-shadow:0 1px 3px rgba(0,0,0,.15)}
#gtr-x .bar{margin:14px 0}
#gtr-x .bar .lab{display:flex;justify-content:space-between;font-size:13.5px;margin-bottom:5px}
#gtr-x .bar .tr{height:22px;background:#f1f3f4!important;border-radius:99px;overflow:hidden}
#gtr-x .bar .fl{height:100%;width:0;border-radius:99px;transition:width 1.1s cubic-bezier(.2,.8,.2,1)}
#gtr-x .bar .na{height:100%;display:flex;align-items:center;padding-left:12px;font-size:12px;color:var(–mut)!important;background:repeating-linear-gradient(45deg,#f1f3f4,#f1f3f4 6px,#e8eaed 6px,#e8eaed 12px)!important}
#gtr-x .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
#gtr-x .fc{perspective:800px;height:130px;cursor:pointer}
#gtr-x .fc .in{position:relative;width:100%;height:100%;transition:transform .5s;transform-style:preserve-3d}
#gtr-x .fc.flip .in{transform:rotateY(180deg)}
#gtr-x .fc .fa,#gtr-x .fc .ba{position:absolute;inset:0;backface-visibility:hidden;border-radius:12px;padding:12px;display:flex;flex-direction:column;justify-content:center;font-size:13px;line-height:1.4}
#gtr-x .fc .fa{background:#fff!important;border:1px solid var(–line)!important;font-weight:700;font-size:14px}
#gtr-x .fc .ba{background:#202124!important;color:#e8eaed!important;transform:rotateY(180deg)}
#gtr-x .fc .tag{font-size:10.5px;letter-spacing:.06em;font-weight:700;margin-bottom:6px}
#gtr-x .ft{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;padding:12px 24px;border-top:1px solid var(–line)!important;font-size:12px;color:var(–mut)!important;background:#f8fafd!important}
#gtr-x .ft a{color:var(–b)!important;text-decoration:none}
#gtr-x .mtp{color:#76B900!important;font-weight:700}
@media (max-width:640px){#gtr-x .grid2,#gtr-x .cards{grid-template-columns:1fr}#gtr-x h3{font-size:19px}#gtr-x .pane{padding:18px 16px}#gtr-x .st{min-width:100%}#gtr-x .fc{height:120px}#gtr-x table{font-size:12.5px}}
</style></head><body>
<div id="gtr-x">
<div class="hd">
<span class="dots"><i style="background:#4285F4"></i><i style="background:#EA4335"></i><i style="background:#FBBC04"></i><i style="background:#34A853"></i>&nbsp;GEMINI API · PREVIEW</span>
<h3>Tool Retrieval: load tool schemas only when the agent needs them</h3>
<p class="sub">Interactions API, v1beta. Add <b>tool_search</b>, set <b>defer_loading: true</b> on the tools to hold back.</p>
</div>
<div class="tabs">
<button class="tab on" data-t="0">1. How it works</button>
<button class="tab" data-t="1">2. Static vs deferred</button>
<button class="tab" data-t="2">3. Server vs client</button>
<button class="tab" data-t="3">4. Vs Claude &amp; OpenAI</button>
<button class="tab" data-t="4">5. Gotchas</button>
</div>

<div class="pane on" data-p="0">
<div class="flow">
<div class="st" data-s="0"><b style="color:#4285F4">REQUEST</b><code>tool_search</code><span>Model sees deferred tools by name + short description only.</span><br><span class="who" style="background:#e8f0fe;color:#174ea6">You send</span></div>
<div class="st" data-s="1"><b style="color:#EA4335">STEP 1</b><code>tool_search_call</code><span>Model asks for a tool by name, e.g. issue_refund.</span><br><span class="who" style="background:#fce8e6;color:#a50e0e">API resolves</span></div>
<div class="st" data-s="2"><b style="color:#F29900">STEP 2</b><code>tool_search_result</code><span>API returns the full parameter schema.</span><br><span class="who" style="background:#fef7e0;color:#8a5a00">API resolves</span></div>
<div class="st" data-s="3"><b style="color:#34A853">STEP 3</b><code>function_call</code><span>Model emits the call. Your code runs it, returns function_result.</span><br><span class="who" style="background:#e6f4ea;color:#0d652d">You execute</span></div>
</div>
<p class="cap" id="gcap"></p>
<div class="ctl"><button class="btn" id="gplay"> Play</button><button class="btn ghost" id="gnext">Next step</button><button class="btn ghost" id="greset">Reset</button></div>
<p class="note">In server-side mode all 3 steps come back in 1 API request. Source: Google blog and Tool Retrieval docs.</p>
</div>

<div class="pane" data-p="1">
<div class="grid2">
<div class="ctx"><h4>Static: every schema, every request</h4><div id="gstatic"></div></div>
<div class="ctx"><h4>Deferred: names now, schemas on demand</h4><div id="gdef"></div></div>
</div>
<div class="chips" id="gchips"></div>
<p class="note">Click a tool to simulate the model retrieving it. Block sizes are illustrative, not measured. Google’s docs: a few dozen declarations can cost tens of thousands of tokens per request. Loaded schemas stay in context and cannot be unloaded.</p>
</div>

<div class="pane" data-p="2">
<div class="seg"><button class="on" data-m="s">Server-side (default)</button><button data-m="c">Client-side</button></div>
<table><tbody id="gmode"></tbody></table>
<p class="note">The 2 modes cannot be combined in 1 request. Only 1 tool_search entry per request. Google suggests static loading for fewer than 20 stable tools.</p>
</div>

<div class="pane" data-p="3">
<p class="sub" style="margin:0 0 4px">Published token savings from each vendor’s own tests</p>
<div class="bar"><div class="lab"><span><b>Anthropic Tool Search Tool</b> (77K to 8.7K tokens)</span><b>85%</b></div><div class="tr"><div class="fl" data-w="85" style="background:#D97757"></div></div></div>
<div class="bar"><div class="lab"><span><b>OpenAI tool search</b> (250 MCP Atlas tasks, 36 servers)</span><b>47%</b></div><div class="tr"><div class="fl" data-w="47" style="background:#10A37F"></div></div></div>
<div class="bar"><div class="lab"><span><b>Gemini API Tool Retrieval</b></span><b>Not published</b></div><div class="tr"><div class="na">Google asks developers to measure on their own traffic</div></div></div>
<button class="btn ghost" id="greplay" style="margin-top:6px">Replay bars</button>
<p class="note">All figures self-reported and measured on different workloads, so they are not directly comparable. Anthropic also reports Opus 4.5 MCP eval accuracy rising from 79.5% to 88.1%.</p>
</div>

<div class="pane" data-p="4">
<div class="cards">
<div class="fc"><div class="in"><div class="fa"><span class="tag" style="color:#EA4335">CAVEAT</span>Preview only</div><div class="ba">v1beta, Interactions API only. generateContent is not supported. API may change before GA.</div></div></div>
<div class="fc"><div class="in"><div class="fa"><span class="tag" style="color:#EA4335">CAVEAT</span>No unloading</div><div class="ba">Each loaded schema stays in context and is billed as input for the rest of the conversation.</div></div></div>
<div class="fc"><div class="in"><div class="fa"><span class="tag" style="color:#F29900">COST</span>Extra model pass</div><div class="ba">Each server-side search adds a model call, reported in total_tool_use_tokens at the input rate.</div></div></div>
<div class="fc"><div class="in"><div class="fa"><span class="tag" style="color:#F29900">GOTCHA</span>Resend all tools</div><div class="ba">Tool declarations are not persisted. Send the full tools array on every request.</div></div></div>
<div class="fc"><div class="in"><div class="fa"><span class="tag" style="color:#F29900">GOTCHA</span>Strict replay</div><div class="ba">Stateless mode: dropping tool_search_call or a signature returns a 400 error.</div></div></div>
<div class="fc"><div class="in"><div class="fa"><span class="tag" style="color:#34A853">TIP</span>Defer the long tail</div><div class="ba">Keep core tools and tools named in system instructions loaded. Prefix names by service.</div></div></div>
</div>
<p class="note">Tap a card to flip it. Source: Tool Retrieval docs.</p>
</div>

<div class="ft"><span>Sources: <a href="https://blog.google/innovation-and-ai/technology/developers-tools/gemini-api-tool-retrieval/" target="_blank" rel="noopener">Google blog</a> · <a href="https://aistudio.google.com/docs/tool-retrieval" target="_blank" rel="noopener">Docs</a></span><span class="mtp">Built by Marktechpost</span></div>
</div>
<script>
(function(){
var R=document.getElementById(‘gtr-x’);
function post(){try{parent.postMessage({gtrHeight:R.offsetHeight+40},’*’)}catch(e){}}
var tabs=R.querySelectorAll(‘.tab’),panes=R.querySelectorAll(‘.pane’);
tabs.forEach(function(t){t.onclick=function(){tabs.forEach(function(x){x.classList.remove(‘on’)});panes.forEach(function(p){p.classList.remove(‘on’)});t.classList.add(‘on’);R.querySelector(‘[data-p="’+t.dataset.t+’"]’).classList.add(‘on’);if(t.dataset.t===’3′)bars();setTimeout(post,60)}});
// flow
var caps=[‘You send a request with tool_search plus deferred tools. Only names and short descriptions enter the prompt.’,’The model decides it needs issue_refund and emits tool_search_call.’,’The API loads the issue_refund parameter schema into context as tool_search_result.’,’The model emits function_call with order_id and amount. Your code runs the refund.’];
var st=R.querySelectorAll(‘.st’),cur=-1,timer=null,cap=R.querySelector(‘#gcap’);
function show(i){cur=i;st.forEach(function(s,j){s.classList.toggle(‘on’,j<=i)});cap.textContent=i>=0?caps[i]:’Press Play to step through a single Tool Retrieval request.’;post()}
show(-1);
R.querySelector(‘#gnext’).onclick=function(){clearInterval(timer);show(cur>=3?0:cur+1)};
R.querySelector(‘#greset’).onclick=function(){clearInterval(timer);show(-1)};
R.querySelector(‘#gplay’).onclick=function(){clearInterval(timer);show(0);timer=setInterval(function(){if(cur>=3){clearInterval(timer);return}show(cur+1)},1400)};
// static vs deferred
var tools=[‘issue_refund’,’get_order’,’billing_get_customer’,’ship_label’,’crm_update’,’calendar_book’];
var got={};
function draw(){var s=””,d=”;tools.forEach(function(t){s+='<div class="blk full">’+t+’ {full schema}</div>’;d+=got[t]?'<div class="blk loaded">’+t+’ {schema loaded}</div>’:'<div class="blk thin">’+t+’: short description</div>’});R.querySelector(‘#gstatic’).innerHTML=s;R.querySelector(‘#gdef’).innerHTML=d;var c=””;tools.forEach(function(t){c+='<button class="chip’+(got[t]?’ got’:”)+’" data-tool="’+t+’">’+(got[t]?’✓ ‘:’+ ‘)+t+'</button>’});R.querySelector(‘#gchips’).innerHTML=c;R.querySelectorAll(‘.chip’).forEach(function(b){b.onclick=function(){got[b.dataset.tool]=true;draw()}});post()}
draw();
// modes
var M={s:[[‘Who runs the search’,’Gemini, on Google servers’],[‘Retrieval code you write’,’None’],[‘Extra round trips’,’None’],[‘Remote MCP servers’,’Yes, defer a whole mcp_server’],[‘Best for’,’Large known libraries and MCP servers’]],c:[[‘Who runs the search’,’Your app (registry, embeddings, permission filter)’],[‘Retrieval code you write’,’Yes’],[‘Extra round trips’,’1 per search’],[‘Remote MCP servers’,’Not applicable’],[‘Best for’,’Dynamic registries, namespaces, per-user tools’]]};
function mode(m){var h=””;M[m].forEach(function(r){h+='<tr><th>’+r[0]+'</th><td>’+r[1]+'</td></tr>’});R.querySelector(‘#gmode’).innerHTML=h;R.querySelectorAll(‘.seg button’).forEach(function(b){b.classList.toggle(‘on’,b.dataset.m===m)});post()}
R.querySelectorAll(‘.seg button’).forEach(function(b){b.onclick=function(){mode(b.dataset.m)}});mode(‘s’);
function bars(){var f=R.querySelectorAll(‘.fl’);f.forEach(function(x){x.style.width=”0″});setTimeout(function(){f.forEach(function(x){x.style.width=x.dataset.w+’%’})},80)}
R.querySelector(‘#greplay’).onclick=bars;
R.querySelectorAll(‘.fc’).forEach(function(c){c.onclick=function(){c.classList.toggle(‘flip’)}});
window.addEventListener(‘load’,post);window.addEventListener(‘resize’,post);setTimeout(post,300);
})();
</script>
</body></html>
” style=”width:100%;height:600px;border:0;display:block;” loading=”lazy”>

window.addEventListener(“message”,function(e){if(e.data&&e.data.gtrHeight){var f=document.getElementById(“gtr-frame”);if(f&&e.source===f.contentWindow)f.style.height=e.data.gtrHeight+”px”;}});

Key Takeaways

  • Gemini API Tool Retrieval defers tool schemas until the model requests them.
  • Server mode resolves search, load and call in 1 API request.
  • Client mode supports custom registries, at 1 extra round trip per search.
  • No extra fee, but loaded schemas stay billed and cannot be unloaded.
  • Google published no savings data; Anthropic reports 85%, OpenAI 47%.


Check out the Google blog post, the Tool Retrieval docs and the MCP function calling docs. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

YOU MAY ALSO LIKE

Tesla Rolls Out FSD V15 with Reality View and Vision Upgrades – Unite.AI

OpenRouter Cuts Three Providers After AI Prompt Exposure Findings – Unite.AI

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

The post Google AI Previews Tool Retrieval in the Gemini API for Large Tool Libraries appeared first on MarkTechPost.

Credit: Source link

ShareTweetSendSharePin

Related Posts

Tesla Rolls Out FSD V15 with Reality View and Vision Upgrades – Unite.AI
AI & Technology

Tesla Rolls Out FSD V15 with Reality View and Vision Upgrades – Unite.AI

November 22, 2026
OpenRouter Cuts Three Providers After AI Prompt Exposure Findings – Unite.AI
AI & Technology

OpenRouter Cuts Three Providers After AI Prompt Exposure Findings – Unite.AI

November 22, 2026
Is It Actually Worth Upgrading To The Pixel 11?
AI & Technology

Is It Actually Worth Upgrading To The Pixel 11?

November 22, 2026
What’s The Difference Between Them?
AI & Technology

What’s The Difference Between Them?

November 22, 2026
Next Post
Munich RE: A High-Quality Reinsurer Trading Near Fair Value Following Q3 Earnings

Munich RE: A High-Quality Reinsurer Trading Near Fair Value Following Q3 Earnings

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Ted Bundy tied to another 1970s killing

Ted Bundy tied to another 1970s killing

November 15, 2026
Don’t Buy Anthropic IPO Until You Watch This! ⚠️

Don’t Buy Anthropic IPO Until You Watch This! ⚠️

November 19, 2026
Trump doubles down on defending attack ad against Amy Acton

Trump doubles down on defending attack ad against Amy Acton

November 17, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!