16 16
17* `context_management` (array | null) — Optional context-management directives (e.g. compaction). Parsed but not yet executed.17* `context_management` (array | null) — Optional context-management directives (e.g. compaction). Parsed but not yet executed.
18 18
19* `guidelines` (array | null) — Per-category instructions for model output. See \[\`Guideline\`].
20 Omitted requests leave this unset.
21
19* `include` (array | null) — What additional output data to include in the response. Supported values include22* `include` (array | null) — What additional output data to include in the response. Supported values include
20 \`reasoning.encrypted\_content\` (encrypted reasoning tokens) and tool-output options.23 \`reasoning.encrypted\_content\` (encrypted reasoning tokens) and tool-output options.
21 OpenAI's \`message.output\_text.logprobs\` is accepted for compatibility but silently ignored.24 OpenAI's \`message.output\_text.logprobs\` is accepted for compatibility but silently ignored.
91 94
92* `tool_choice` (string | object)95* `tool_choice` (string | object)
93 96
94* `tools` (array | null) — A list of tools the model may call in JSON-schema. Currently, only functions and web search are supported as tools. A max of 350 tools are supported.\`web\_search\_preview\` tool, if specified, will be overridden by \`search\_parameters\`.97* `tools` (array | null) — A list of tools the model may call in JSON-schema. Currently, only functions and web search are supported as tools. A max of 1000 tools are supported.
95 98
96* `top_k` (integer | null) — Top-k sampling: only the \`top\_k\` most probable tokens are considered at each sampling step. Disabled when unset.99* `top_k` (integer | null) — Top-k sampling: only the \`top\_k\` most probable tokens are considered at each sampling step. Disabled when unset.
97 100
171 174
172 * `type` (string, required) — Type is always \`"function"\`.175 * `type` (string, required) — Type is always \`"function"\`.
173 176
174* `tools` (array\<object | object | object | object | object | object | object | object | object>, required) — A list of tools the model may call in JSON-schema. Currently, only functions and web search are supported as tools. A max of 350 tools are supported.177* `tools` (array\<object | object | object | object | object | object | object | object | object>, required) — A list of tools the model may call in JSON-schema. Currently, only functions and web search are supported as tools. A max of 1000 tools are supported.
175 178
176* `top_logprobs` (integer, required) — An integer between 0 and 8 specifying the number of most likely tokens to return at each token position.179* `top_logprobs` (integer, required) — An integer between 0 and 8 specifying the number of most likely tokens to return at each token position.
177 180
431 434
432 * `type` (string, required) — Type is always \`"function"\`.435 * `type` (string, required) — Type is always \`"function"\`.
433 436
434* `tools` (array\<object | object | object | object | object | object | object | object | object>, required) — A list of tools the model may call in JSON-schema. Currently, only functions and web search are supported as tools. A max of 350 tools are supported.437* `tools` (array\<object | object | object | object | object | object | object | object | object>, required) — A list of tools the model may call in JSON-schema. Currently, only functions and web search are supported as tools. A max of 1000 tools are supported.
435 438
436* `top_logprobs` (integer, required) — An integer between 0 and 8 specifying the number of most likely tokens to return at each token position.439* `top_logprobs` (integer, required) — An integer between 0 and 8 specifying the number of most likely tokens to return at each token position.
437 440