Skip to main content

search_tools_definition

Function search_tools_definition 

Source
pub async fn search_tools_definition() -> Option<Value>
Expand description

OpenAI tool JSON of the search_tools control the orchestrator adds to the request whenever deferred MCP tools exist. Built from a scratch registry so admission counts exactly the descriptor the first request carries. None when the control cannot be built; the orchestrator then counts the actual request tools per step.