Skip to content

Variable: RequestedFeaturesSchema

const RequestedFeaturesSchema: ZodObject<{ background: ZodBoolean; customTools: ZodBoolean; parallelTools: ZodBoolean; previousResponse: ZodBoolean; reasoning: ZodBoolean; storage: ZodBoolean; structuredOutput: ZodBoolean; tools: ZodBoolean; unsupportedOpenResponsesTools: ZodBoolean; webSearch: ZodBoolean; }, $strip>

Request features that constrain direct protocol routes.

  • background: True when the client requested a background run.
  • customTools: True when the request includes custom tools.
  • parallelTools: True when the request asks for parallel tool calls.
  • previousResponse: True when the request continues a stored response.
  • reasoning: True when the request sets reasoning effort.
  • storage: True when the request asks the provider to persist the response.
  • structuredOutput: True when the request requires structured output.
  • tools: True when the request includes tools.
  • unsupportedOpenResponsesTools: True when tools cannot ride the Open Responses fast path.
  • webSearch: True when the request includes web search.