[{"data":1,"prerenderedAt":253},["ShallowReactive",2],{"navigation_docs":3,"-features-tools":98,"-features-tools-surround":248},[4,26,77],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Overview","\u002Fgetting-started\u002Foverview","1.getting-started\u002F1.overview","i-lucide-info",{"title":16,"path":17,"stem":18,"icon":19},"Platform Navigation","\u002Fgetting-started\u002Fplatform-navigation","1.getting-started\u002F2.platform-navigation","i-lucide-compass",{"title":21,"path":22,"stem":23,"icon":24},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F3.quickstart","i-lucide-play-circle",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Features","i-lucide-star","\u002Ffeatures","2.features",[32,37,42,47,52,57,62,67,72],{"title":33,"path":34,"stem":35,"icon":36},"Feature Overview","\u002Ffeatures\u002Foverview","2.features\u002F1.overview","i-lucide-list",{"title":38,"path":39,"stem":40,"icon":41},"Company Setup","\u002Ffeatures\u002Fcompany-setup","2.features\u002F2.company-setup","i-lucide-building-2",{"title":43,"path":44,"stem":45,"icon":46},"Applications","\u002Ffeatures\u002Fapplications","2.features\u002F3.applications","i-lucide-box",{"title":48,"path":49,"stem":50,"icon":51},"Observability","\u002Ffeatures\u002Fobservability","2.features\u002F4.observability","i-lucide-activity",{"title":53,"path":54,"stem":55,"icon":56},"Guardrails","\u002Ffeatures\u002Fguardrails","2.features\u002F5.guardrails","i-lucide-shield-alert",{"title":58,"path":59,"stem":60,"icon":61},"Data Integrations","\u002Ffeatures\u002Fdata-integrations","2.features\u002F6.data-integrations","i-lucide-database",{"title":63,"path":64,"stem":65,"icon":66},"Models and Routing","\u002Ffeatures\u002Fmodels-and-routing","2.features\u002F7.models-and-routing","i-lucide-git-branch",{"title":68,"path":69,"stem":70,"icon":71},"Governance","\u002Ffeatures\u002Fgovernance","2.features\u002F8.governance","i-lucide-shield-check",{"title":73,"path":74,"stem":75,"icon":76},"Tools","\u002Ffeatures\u002Ftools","2.features\u002F9.tools","i-lucide-globe",{"title":78,"icon":79,"path":80,"stem":81,"children":82,"page":25},"Integrations","i-lucide-plug","\u002Fintegrations","3.integrations",[83,88,93],{"title":84,"path":85,"stem":86,"icon":87},"Using the API","\u002Fintegrations\u002Fapi-usage","3.integrations\u002F3.api-usage","i-lucide-terminal-square",{"title":89,"path":90,"stem":91,"icon":92},"API Keys","\u002Fintegrations\u002Fapi-keys","3.integrations\u002Fapi-keys","i-lucide-key-round",{"title":94,"path":95,"stem":96,"icon":97},"Providers","\u002Fintegrations\u002Fproviders","3.integrations\u002Fproviders","i-lucide-cpu",{"id":99,"title":73,"body":100,"description":241,"extension":242,"links":243,"meta":244,"navigation":245,"path":74,"seo":246,"stem":75,"__hash__":247},"docs\u002F2.features\u002F9.tools.md",{"type":101,"value":102,"toc":233},"minimark",[103,112,117,123,139,143,150,153,183,192,196,205,209,215,219,222],[104,105,106,107,111],"p",{},"Tools let applications enrich a prompt with external context before a request reaches a model. Optiak currently supports ",[108,109,110],"strong",{},"Web Search",".",[113,114,116],"h2",{"id":115},"organization-setup","Organization Setup",[104,118,119,120,111],{},"Admins control web search availability for the whole organization in ",[108,121,122],{},"Company Setup -> Tools",[124,125,126,133],"ul",{},[127,128,129,132],"li",{},[108,130,131],{},"Allow"," - Web search is available to applications; each application still chooses whether and how to use it.",[127,134,135,138],{},[108,136,137],{},"Block"," - Web search is disabled for every application in the organization. Applications cannot enable it, even if they were previously configured to use it.",[113,140,142],{"id":141},"application-setup","Application Setup",[104,144,145,146,149],{},"Applications configure web search in ",[108,147,148],{},"Modules -> Tools",". This is only available when the organization allows web search.",[104,151,152],{},"Application modes:",[124,154,155,161,171,177],{},[127,156,157,160],{},[108,158,159],{},"Disabled"," - Web search does not run for the application.",[127,162,163,166,167,111],{},[108,164,165],{},"Per request"," - Web search is off by default; requests must opt in with ",[168,169,170],"code",{},"web_search_enabled: true",[127,172,173,176],{},[108,174,175],{},"Always on"," - Web search runs for every supported request to the application and cannot be turned off by a request flag.",[127,178,179,182],{},[108,180,181],{},"LLM Decides"," - Web search is exposed to the model as a tool it can call; the model decides whether and how to use it.",[104,184,185,186,189,190,111],{},"If the organization blocks web search, the application's Tools section shows ",[108,187,188],{},"Blocked by organization"," and cannot be changed until an admin allows it in ",[108,191,122],{},[113,193,195],{"id":194},"request-level-opt-in","Request-Level Opt-In",[104,197,198,199,201,202,204],{},"When an application is set to ",[108,200,165],{},", each request can choose whether to use web search via a simple opt-in flag. This cannot override an organization block or turn off an application's ",[108,203,175],{}," setting.",[113,206,208],{"id":207},"llm-decides-mode","LLM Decides Mode",[104,210,211,212,214],{},"In ",[108,213,181],{}," mode, web search is not run ahead of the request. Instead, Optiak exposes it to the model as a callable tool alongside the request's own function definitions, and the model decides at inference time whether the request needs it. If the model calls it, Optiak executes the search server-side, feeds the results back to the model, and lets the model decide whether to call it again (up to a bounded number of turns) or finish its response. Requests that don't need current information continue without a search.",[216,217,218],"callout",{},"LLM Decides Web Search requires a model that supports tool calling and Web Search to be available for the organization. Streaming requests do not run the LLM Decides tool loop.",[104,220,221],{},"Current limitations:",[124,223,224,227,230],{},[127,225,226],{},"A request that disables tool use cannot use LLM Decides Web Search.",[127,228,229],{},"Some combinations with caller-provided tool calls are not supported.",[127,231,232],{},"Execution is bounded; repeated or invalid tool calls can cause the request to fail.",{"title":234,"searchDepth":235,"depth":235,"links":236},"",2,[237,238,239,240],{"id":115,"depth":235,"text":116},{"id":141,"depth":235,"text":142},{"id":194,"depth":235,"text":195},{"id":207,"depth":235,"text":208},"Let applications augment prompts with real-time web search.","md",null,{},{"icon":76},{"title":73,"description":241},"Ogogz05SAQ8fdj0iiJZDVM_jl7BZMs-nvIMPOkxikC4",[249,251],{"title":68,"path":69,"stem":70,"description":250,"icon":71,"children":-1},"Organization-wide policies for data residency and model training.",{"title":84,"path":85,"stem":86,"description":252,"icon":87,"children":-1},"How to call Optiak from your application.",1789640937839]