DeferredToolsControl
Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
import { DeferredToolsControl } from "@openrouter/sdk/models";
let value: DeferredToolsControl = {
profile: "portable",
protocol: "v1",
search: {
type: "bm25",
},
validation: "runtime",
};
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
profile | models.Profile | ✔️ | Loading profile. Only portable is available in this release: OpenRouter serves deferral with router-built search and call wrappers on any model. | |
protocol | models.Protocol | ✔️ | N/A | |
search | models.DeferredToolsSearchStrategy | ✔️ | Router-local regex/BM25 or caller-owned custom search. | { “max_results”: 5, “type”: “bm25” } |
validation | models.Validation | ✔️ | Where tool-call arguments are checked against the original schema. Only runtime (in OpenRouter) is available in this release. |
Was this page helpful?
Suggestions