Skip to content

Type Alias: RequestedFeatures

RequestedFeatures = z.infer<typeof RequestedFeaturesSchema>

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.