SpyBara
Go Premium

Reference 2026-09-02 01:58 UTC to 2026-09-03 23:00 UTC

42 files changed +3,739 −746. View all changes and history on the product overview
2026
Wed 30 22:59 Tue 29 22:57 Mon 28 22:57 Sun 27 23:58 Sat 26 23:59 Fri 25 23:58 Thu 24 23:58 Wed 23 23:58 Tue 22 23:57 Mon 21 23:00 Sat 19 23:00 Fri 18 22:59 Wed 16 22:58 Fri 11 20:00 Thu 10 18:01 Wed 9 16:02 Fri 4 23:59 Thu 3 23:00 Wed 2 01:58 Tue 1 01:57
Details

4 4 

5### All Models5### All Models

6 6 

7- `AllModels = string or "gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 80 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 16 more`7- `AllModels = string or "gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 81 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 16 more`

8 8 

9 - `string`9 - `string`

10 10 

11 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 80 more`11 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 81 more`

12 

13 - `"gpt-6-astra"`

12 14 

13 - `"gpt-5.6-sol"`15 - `"gpt-5.6-sol"`

14 16 


384 386 

385### Error Object387### Error Object

386 388 

387- `ErrorObject object { code, message, param, type }`389- `ErrorObject object { code, message, param, 2 more }`

388 390 

389 - `code: string or null`391 - `code: string or null`

390 392 


394 396 

395 - `type: string`397 - `type: string`

396 398 

399 - `misalignment: optional object { detailed_explanation, error_type, steer }`

400 

401 - `detailed_explanation: optional string`

402 

403 The public explanation for this block.

404 

405 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

406 

407 An optional classification; clients must accept additional values.

408 

409 - `string`

410 

411 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

412 

413 An optional classification; clients must accept additional values.

414 

415 - `"potentially_unintended_data_transfer"`

416 

417 - `"potentially_unintended_data_access"`

418 

419 - `"potentially_unintended_destructive_activity"`

420 

421 - `"other"`

422 

423 - `steer: optional object { message }`

424 

425 An optional public continuation instruction.

426 

427 - `message: string`

428 

429 The public continuation instruction.

430 

397### Function Definition431### Function Definition

398 432 

399- `FunctionDefinition object { name, description, parameters, strict }`433- `FunctionDefinition object { name, description, parameters, strict }`


653 687 

654### Responses Model688### Responses Model

655 689 

656- `ResponsesModel = string or "gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 80 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 16 more`690- `ResponsesModel = string or "gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 81 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 16 more`

657 691 

658 - `string`692 - `string`

659 693 

660 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 80 more`694 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 81 more`

695 

696 - `"gpt-6-astra"`

661 697 

662 - `"gpt-5.6-sol"`698 - `"gpt-5.6-sol"`

663 699 

Details

40 40 

41- `line_items: optional array of string`41- `line_items: optional array of string`

42 42 

43 Return only costs for these exact line item names. Each value must match the complete `line_item` value, for example `gpt-5.6-sol, input_tokens`.43 Return only costs for these exact line item names. Each value must match the complete `line_item` value, for example `gpt-6-astra, input_tokens`.

44 44 

45- `page: optional string`45- `page: optional string`

46 46 

Details

127 127 

128 - `model: optional string`128 - `model: optional string`

129 129 

130 Model ID used to process the batch, like `gpt-5.6-sol`. OpenAI130 Model ID used to process the batch, like `gpt-6-astra`. OpenAI

131 offers a wide range of models with different capabilities, performance131 offers a wide range of models with different capabilities, performance

132 characteristics, and price points. Refer to the [model132 characteristics, and price points. Refer to the [model

133 guide](/docs/models) to browse and compare available models.133 guide](/docs/models) to browse and compare available models.

Details

182 182 

183 - `model: optional string`183 - `model: optional string`

184 184 

185 Model ID used to process the batch, like `gpt-5.6-sol`. OpenAI185 Model ID used to process the batch, like `gpt-6-astra`. OpenAI

186 offers a wide range of models with different capabilities, performance186 offers a wide range of models with different capabilities, performance

187 characteristics, and price points. Refer to the [model187 characteristics, and price points. Refer to the [model

188 guide](/docs/models) to browse and compare available models.188 guide](/docs/models) to browse and compare available models.

Details

133 133 

134 - `model: optional string`134 - `model: optional string`

135 135 

136 Model ID used to process the batch, like `gpt-5.6-sol`. OpenAI136 Model ID used to process the batch, like `gpt-6-astra`. OpenAI

137 offers a wide range of models with different capabilities, performance137 offers a wide range of models with different capabilities, performance

138 characteristics, and price points. Refer to the [model138 characteristics, and price points. Refer to the [model

139 guide](/docs/models) to browse and compare available models.139 guide](/docs/models) to browse and compare available models.

Details

127 127 

128 - `model: optional string`128 - `model: optional string`

129 129 

130 Model ID used to process the batch, like `gpt-5.6-sol`. OpenAI130 Model ID used to process the batch, like `gpt-6-astra`. OpenAI

131 offers a wide range of models with different capabilities, performance131 offers a wide range of models with different capabilities, performance

132 characteristics, and price points. Refer to the [model132 characteristics, and price points. Refer to the [model

133 guide](/docs/models) to browse and compare available models.133 guide](/docs/models) to browse and compare available models.

Details

18 18 

19### Returns19### Returns

20 20 

21- `BetaResponse object { id, created_at, error, 32 more }`21- `BetaResponse object { id, created_at, error, 33 more }`

22 22 

23 - `id: string`23 - `id: string`

24 24 


32 32 

33 An error object returned when the model fails to generate a Response.33 An error object returned when the model fails to generate a Response.

34 34 

35 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 17 more`35 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 18 more`

36 36 

37 The error code for the response.37 The error code for the response.

38 38 


46 46 

47 - `"bio_policy"`47 - `"bio_policy"`

48 48 

49 - `"misalignment_policy_violation"`

50 

49 - `"vector_store_timeout"`51 - `"vector_store_timeout"`

50 52 

51 - `"invalid_image"`53 - `"invalid_image"`


80 82 

81 A human-readable description of the error.83 A human-readable description of the error.

82 84 

85 - `misalignment: optional object { detailed_explanation, error_type, steer }`

86 

87 - `detailed_explanation: optional string`

88 

89 The public explanation for this block.

90 

91 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

92 

93 An optional classification; clients must accept additional values.

94 

95 - `string`

96 

97 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

98 

99 An optional classification; clients must accept additional values.

100 

101 - `"potentially_unintended_data_transfer"`

102 

103 - `"potentially_unintended_data_access"`

104 

105 - `"potentially_unintended_destructive_activity"`

106 

107 - `"other"`

108 

109 - `steer: optional object { message }`

110 

111 An optional public continuation instruction.

112 

113 - `message: string`

114 

115 The public continuation instruction.

116 

83 - `incomplete_details: object { reason } or null`117 - `incomplete_details: object { reason } or null`

84 118 

85 Details about why the response is incomplete.119 Details about why the response is incomplete.

86 120 

87 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter"`121 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter" or "steered"`

88 122 

89 The reason why the response is incomplete.123 The reason why the response is incomplete. `steered` means

124 the response stopped at a safe output boundary after a

125 WebSocket `response.steer` event. The server can then create

126 a successor response automatically with the queued input.

90 127 

91 - `"max_output_tokens"`128 - `"max_output_tokens"`

92 129 


94 131 

95 - `"content_filter"`132 - `"content_filter"`

96 133 

97 - `instructions: string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more or null`134 - `"steered"`

135 

136 - `instructions: string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more or null`

98 137 

99 A system (or developer) message inserted into the model's context.138 A system (or developer) message inserted into the model's context.

100 139 


107 A text input to the model, equivalent to a text input with the146 A text input to the model, equivalent to a text input with the

108 `developer` role.147 `developer` role.

109 148 

110 - `InputItemList = array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more`149 - `InputItemList = array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more`

111 150 

112 A list of one or many input items to the model, containing151 A list of one or many input items to the model, containing

113 different content types.152 different content types.


1057 1096 

1058 The canonical name of the agent that produced this item.1097 The canonical name of the agent that produced this item.

1059 1098 

1060 - `FunctionCall object { arguments, call_id, name, 6 more }`1099 - `FunctionCall object { arguments, call_id, name, 7 more }`

1061 1100 

1062 A tool call to run a function. See the1101 A tool call to run a function. See the

1063 [function calling guide](/docs/guides/function-calling) for more information.1102 [function calling guide](/docs/guides/function-calling) for more information.


1092 1131 

1093 The canonical name of the agent that produced this item.1132 The canonical name of the agent that produced this item.

1094 1133 

1134 - `async: optional boolean`

1135 

1136 Whether the function tool call runs asynchronously.

1137 

1095 - `caller: optional object { type } or object { caller_id, type } or null`1138 - `caller: optional object { type } or object { caller_id, type } or null`

1096 1139 

1097 The execution context that produced this tool call.1140 The execution context that produced this tool call.


1587 1630 

1588 - `ToolSearchOutput object { tools, type, id, 4 more }`1631 - `ToolSearchOutput object { tools, type, id, 4 more }`

1589 1632 

1590 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1633 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1591 1634 

1592 The loaded tool definitions returned by the tool search output.1635 The loaded tool definitions returned by the tool search output.

1593 1636 

1594 - `Function object { name, parameters, strict, 5 more }`1637 - `Function object { name, parameters, strict, 6 more }`

1595 1638 

1596 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1639 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1597 1640 


1621 1664 

1622 - `"programmatic"`1665 - `"programmatic"`

1623 1666 

1667 - `async: optional boolean`

1668 

1624 - `defer_loading: optional boolean`1669 - `defer_loading: optional boolean`

1625 1670 

1626 Whether this function is deferred and loaded via tool search.1671 Whether this function is deferred and loaded via tool search.


2463 2508 

2464 - `"container_reference"`2509 - `"container_reference"`

2465 2510 

2466 - `Custom object { name, type, allowed_callers, 3 more }`2511 - `Custom object { name, type, allowed_callers, 4 more }`

2467 2512 

2468 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2513 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2469 2514 


2485 2530 

2486 - `"programmatic"`2531 - `"programmatic"`

2487 2532 

2533 - `async: optional boolean`

2534 

2535 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2536 

2488 - `defer_loading: optional boolean`2537 - `defer_loading: optional boolean`

2489 2538 

2490 Whether this tool should be deferred and discovered via tool search.2539 Whether this tool should be deferred and discovered via tool search.


2541 2590 

2542 The namespace name used in tool calls (for example, `crm`).2591 The namespace name used in tool calls (for example, `crm`).

2543 2592 

2544 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2593 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2545 2594 

2546 The function/custom tools available inside this namespace.2595 The function/custom tools available inside this namespace.

2547 2596 

2548 - `Function object { name, type, allowed_callers, 5 more }`2597 - `Function object { name, type, allowed_callers, 6 more }`

2549 2598 

2550 - `name: string`2599 - `name: string`

2551 2600 


2561 2610 

2562 - `"programmatic"`2611 - `"programmatic"`

2563 2612 

2613 - `async: optional boolean`

2614 

2615 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2616 

2564 - `defer_loading: optional boolean`2617 - `defer_loading: optional boolean`

2565 2618 

2566 Whether this function should be deferred and discovered via tool search.2619 Whether this function should be deferred and discovered via tool search.


2577 2630 

2578 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2631 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2579 2632 

2580 - `Custom object { name, type, allowed_callers, 3 more }`2633 - `Custom object { name, type, allowed_callers, 4 more }`

2581 2634 

2582 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2635 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2583 2636 


2599 2652 

2600 - `"programmatic"`2653 - `"programmatic"`

2601 2654 

2655 - `async: optional boolean`

2656 

2657 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2658 

2602 - `defer_loading: optional boolean`2659 - `defer_loading: optional boolean`

2603 2660 

2604 Whether this tool should be deferred and discovered via tool search.2661 Whether this tool should be deferred and discovered via tool search.


2795 2852 

2796 - `"developer"`2853 - `"developer"`

2797 2854 

2798 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2855 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2799 2856 

2800 A list of additional tools made available at this item.2857 A list of additional tools made available at this item.

2801 2858 

2802 - `Function object { name, parameters, strict, 5 more }`2859 - `Function object { name, parameters, strict, 6 more }`

2803 2860 

2804 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2861 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2805 2862 


2829 2886 

2830 - `"programmatic"`2887 - `"programmatic"`

2831 2888 

2889 - `async: optional boolean`

2890 

2832 - `defer_loading: optional boolean`2891 - `defer_loading: optional boolean`

2833 2892 

2834 Whether this function is deferred and loaded via tool search.2893 Whether this function is deferred and loaded via tool search.


3521 3580 

3522 - `BetaContainerReference object { container_id, type }`3581 - `BetaContainerReference object { container_id, type }`

3523 3582 

3524 - `Custom object { name, type, allowed_callers, 3 more }`3583 - `Custom object { name, type, allowed_callers, 4 more }`

3525 3584 

3526 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3585 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3527 3586 


3543 3602 

3544 - `"programmatic"`3603 - `"programmatic"`

3545 3604 

3605 - `async: optional boolean`

3606 

3607 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3608 

3546 - `defer_loading: optional boolean`3609 - `defer_loading: optional boolean`

3547 3610 

3548 Whether this tool should be deferred and discovered via tool search.3611 Whether this tool should be deferred and discovered via tool search.


3599 3662 

3600 The namespace name used in tool calls (for example, `crm`).3663 The namespace name used in tool calls (for example, `crm`).

3601 3664 

3602 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3665 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3603 3666 

3604 The function/custom tools available inside this namespace.3667 The function/custom tools available inside this namespace.

3605 3668 

3606 - `Function object { name, type, allowed_callers, 5 more }`3669 - `Function object { name, type, allowed_callers, 6 more }`

3607 3670 

3608 - `name: string`3671 - `name: string`

3609 3672 


3619 3682 

3620 - `"programmatic"`3683 - `"programmatic"`

3621 3684 

3685 - `async: optional boolean`

3686 

3687 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3688 

3622 - `defer_loading: optional boolean`3689 - `defer_loading: optional boolean`

3623 3690 

3624 Whether this function should be deferred and discovered via tool search.3691 Whether this function should be deferred and discovered via tool search.


3635 3702 

3636 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3703 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3637 3704 

3638 - `Custom object { name, type, allowed_callers, 3 more }`3705 - `Custom object { name, type, allowed_callers, 4 more }`

3639 3706 

3640 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3707 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3641 3708 


3657 3724 

3658 - `"programmatic"`3725 - `"programmatic"`

3659 3726 

3727 - `async: optional boolean`

3728 

3729 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3730 

3660 - `defer_loading: optional boolean`3731 - `defer_loading: optional boolean`

3661 3732 

3662 Whether this tool should be deferred and discovered via tool search.3733 Whether this tool should be deferred and discovered via tool search.


3823 3894 

3824 The canonical name of the agent that produced this item.3895 The canonical name of the agent that produced this item.

3825 3896 

3897 - `ConfigurationUpdate object { type, id, agent, reasoning }`

3898 

3899 An update to the conversation's response configuration. The configuration

3900 remains in effect for subsequent responses until it is replaced by another

3901 configuration update.

3902 

3903 - `type: "configuration_update"`

3904 

3905 The item type. Always `configuration_update`.

3906 

3907 - `"configuration_update"`

3908 

3909 - `id: optional string or null`

3910 

3911 The unique ID of the configuration update item.

3912 

3913 - `agent: optional object { agent_name } or null`

3914 

3915 The agent that produced this item.

3916 

3917 - `agent_name: string`

3918 

3919 The canonical name of the agent that produced this item.

3920 

3921 - `reasoning: optional object { effort }`

3922 

3923 Updates to reasoning configuration. Only effort is supported.

3924 

3925 - `effort: optional "none" or "minimal" or "low" or 4 more or null`

3926 

3927 The reasoning effort to use for subsequent responses until another

3928 configuration update replaces it.

3929 

3930 - `"none"`

3931 

3932 - `"minimal"`

3933 

3934 - `"low"`

3935 

3936 - `"medium"`

3937 

3938 - `"high"`

3939 

3940 - `"xhigh"`

3941 

3942 - `"max"`

3943 

3826 - `Reasoning object { id, summary, type, 4 more }`3944 - `Reasoning object { id, summary, type, 4 more }`

3827 3945 

3828 A description of the chain of thought used by a reasoning model while generating3946 A description of the chain of thought used by a reasoning model while generating


4786 4904 

4787 - `"program"`4905 - `"program"`

4788 4906 

4789 - `CustomToolCall object { call_id, input, name, 5 more }`4907 - `CustomToolCall object { call_id, input, name, 6 more }`

4790 4908 

4791 A call to a custom tool created by the model.4909 A call to a custom tool created by the model.

4792 4910 


4820 4938 

4821 The canonical name of the agent that produced this item.4939 The canonical name of the agent that produced this item.

4822 4940 

4941 - `async: optional boolean`

4942 

4943 Whether the custom tool call runs asynchronously.

4944 

4823 - `caller: optional object { type } or object { caller_id, type } or null`4945 - `caller: optional object { type } or object { caller_id, type } or null`

4824 4946 

4825 The execution context that produced this tool call.4947 The execution context that produced this tool call.


4965 Keys are strings with a maximum length of 64 characters. Values are strings5087 Keys are strings with a maximum length of 64 characters. Values are strings

4966 with a maximum length of 512 characters.5088 with a maximum length of 512 characters.

4967 5089 

4968 - `model: "gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more or string`5090 - `model: "gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more or string`

4969 5091 

4970 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI5092 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

4971 offers a wide range of models with different capabilities, performance5093 offers a wide range of models with different capabilities, performance

4972 characteristics, and price points. Refer to the [model guide](/docs/models)5094 characteristics, and price points. Refer to the [model guide](/docs/models)

4973 to browse and compare available models.5095 to browse and compare available models.

4974 5096 

4975 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more`5097 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more`

4976 5098 

4977 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI5099 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

4978 offers a wide range of models with different capabilities, performance5100 offers a wide range of models with different capabilities, performance

4979 characteristics, and price points. Refer to the [model guide](/docs/models)5101 characteristics, and price points. Refer to the [model guide](/docs/models)

4980 to browse and compare available models.5102 to browse and compare available models.

4981 5103 

5104 - `"gpt-6-astra"`

5105 

4982 - `"gpt-5.6-sol"`5106 - `"gpt-5.6-sol"`

4983 5107 

4984 - `"gpt-5.6-terra"`5108 - `"gpt-5.6-terra"`


5282 5406 

5283 The text that was retrieved from the file.5407 The text that was retrieved from the file.

5284 5408 

5285 - `FunctionCall object { arguments, call_id, name, 6 more }`5409 - `FunctionCall object { arguments, call_id, name, 7 more }`

5286 5410 

5287 A tool call to run a function. See the5411 A tool call to run a function. See the

5288 [function calling guide](/docs/guides/function-calling) for more information.5412 [function calling guide](/docs/guides/function-calling) for more information.


5317 5441 

5318 The canonical name of the agent that produced this item.5442 The canonical name of the agent that produced this item.

5319 5443 

5444 - `async: optional boolean`

5445 

5446 Whether the function tool call runs asynchronously.

5447 

5320 - `caller: optional object { type } or object { caller_id, type } or null`5448 - `caller: optional object { type } or object { caller_id, type } or null`

5321 5449 

5322 The execution context that produced this tool call.5450 The execution context that produced this tool call.


6137 6265 

6138 - `"incomplete"`6266 - `"incomplete"`

6139 6267 

6140 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`6268 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

6141 6269 

6142 The loaded tool definitions returned by tool search.6270 The loaded tool definitions returned by tool search.

6143 6271 

6144 - `Function object { name, parameters, strict, 5 more }`6272 - `Function object { name, parameters, strict, 6 more }`

6145 6273 

6146 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).6274 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

6147 6275 


6171 6299 

6172 - `"programmatic"`6300 - `"programmatic"`

6173 6301 

6302 - `async: optional boolean`

6303 

6174 - `defer_loading: optional boolean`6304 - `defer_loading: optional boolean`

6175 6305 

6176 Whether this function is deferred and loaded via tool search.6306 Whether this function is deferred and loaded via tool search.


6863 6993 

6864 - `BetaContainerReference object { container_id, type }`6994 - `BetaContainerReference object { container_id, type }`

6865 6995 

6866 - `Custom object { name, type, allowed_callers, 3 more }`6996 - `Custom object { name, type, allowed_callers, 4 more }`

6867 6997 

6868 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6998 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6869 6999 


6885 7015 

6886 - `"programmatic"`7016 - `"programmatic"`

6887 7017 

7018 - `async: optional boolean`

7019 

7020 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

7021 

6888 - `defer_loading: optional boolean`7022 - `defer_loading: optional boolean`

6889 7023 

6890 Whether this tool should be deferred and discovered via tool search.7024 Whether this tool should be deferred and discovered via tool search.


6941 7075 

6942 The namespace name used in tool calls (for example, `crm`).7076 The namespace name used in tool calls (for example, `crm`).

6943 7077 

6944 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`7078 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

6945 7079 

6946 The function/custom tools available inside this namespace.7080 The function/custom tools available inside this namespace.

6947 7081 

6948 - `Function object { name, type, allowed_callers, 5 more }`7082 - `Function object { name, type, allowed_callers, 6 more }`

6949 7083 

6950 - `name: string`7084 - `name: string`

6951 7085 


6961 7095 

6962 - `"programmatic"`7096 - `"programmatic"`

6963 7097 

7098 - `async: optional boolean`

7099 

7100 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

7101 

6964 - `defer_loading: optional boolean`7102 - `defer_loading: optional boolean`

6965 7103 

6966 Whether this function should be deferred and discovered via tool search.7104 Whether this function should be deferred and discovered via tool search.


6977 7115 

6978 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.7116 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

6979 7117 

6980 - `Custom object { name, type, allowed_callers, 3 more }`7118 - `Custom object { name, type, allowed_callers, 4 more }`

6981 7119 

6982 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)7120 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6983 7121 


6999 7137 

7000 - `"programmatic"`7138 - `"programmatic"`

7001 7139 

7140 - `async: optional boolean`

7141 

7142 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

7143 

7002 - `defer_loading: optional boolean`7144 - `defer_loading: optional boolean`

7003 7145 

7004 Whether this tool should be deferred and discovered via tool search.7146 Whether this tool should be deferred and discovered via tool search.


7191 7333 

7192 - `"tool"`7334 - `"tool"`

7193 7335 

7194 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`7336 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

7195 7337 

7196 The additional tool definitions made available at this item.7338 The additional tool definitions made available at this item.

7197 7339 

7198 - `Function object { name, parameters, strict, 5 more }`7340 - `Function object { name, parameters, strict, 6 more }`

7199 7341 

7200 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).7342 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

7201 7343 


7225 7367 

7226 - `"programmatic"`7368 - `"programmatic"`

7227 7369 

7370 - `async: optional boolean`

7371 

7228 - `defer_loading: optional boolean`7372 - `defer_loading: optional boolean`

7229 7373 

7230 Whether this function is deferred and loaded via tool search.7374 Whether this function is deferred and loaded via tool search.


7917 8061 

7918 - `BetaContainerReference object { container_id, type }`8062 - `BetaContainerReference object { container_id, type }`

7919 8063 

7920 - `Custom object { name, type, allowed_callers, 3 more }`8064 - `Custom object { name, type, allowed_callers, 4 more }`

7921 8065 

7922 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8066 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

7923 8067 


7939 8083 

7940 - `"programmatic"`8084 - `"programmatic"`

7941 8085 

8086 - `async: optional boolean`

8087 

8088 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8089 

7942 - `defer_loading: optional boolean`8090 - `defer_loading: optional boolean`

7943 8091 

7944 Whether this tool should be deferred and discovered via tool search.8092 Whether this tool should be deferred and discovered via tool search.


7995 8143 

7996 The namespace name used in tool calls (for example, `crm`).8144 The namespace name used in tool calls (for example, `crm`).

7997 8145 

7998 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`8146 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

7999 8147 

8000 The function/custom tools available inside this namespace.8148 The function/custom tools available inside this namespace.

8001 8149 

8002 - `Function object { name, type, allowed_callers, 5 more }`8150 - `Function object { name, type, allowed_callers, 6 more }`

8003 8151 

8004 - `name: string`8152 - `name: string`

8005 8153 


8015 8163 

8016 - `"programmatic"`8164 - `"programmatic"`

8017 8165 

8166 - `async: optional boolean`

8167 

8168 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8169 

8018 - `defer_loading: optional boolean`8170 - `defer_loading: optional boolean`

8019 8171 

8020 Whether this function should be deferred and discovered via tool search.8172 Whether this function should be deferred and discovered via tool search.


8031 8183 

8032 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.8184 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

8033 8185 

8034 - `Custom object { name, type, allowed_callers, 3 more }`8186 - `Custom object { name, type, allowed_callers, 4 more }`

8035 8187 

8036 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8188 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

8037 8189 


8053 8205 

8054 - `"programmatic"`8206 - `"programmatic"`

8055 8207 

8208 - `async: optional boolean`

8209 

8210 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8211 

8056 - `defer_loading: optional boolean`8212 - `defer_loading: optional boolean`

8057 8213 

8058 Whether this tool should be deferred and discovered via tool search.8214 Whether this tool should be deferred and discovered via tool search.


9023 9179 

9024 Optional reason for the decision.9180 Optional reason for the decision.

9025 9181 

9026 - `CustomToolCall object { call_id, input, name, 5 more }`9182 - `CustomToolCall object { call_id, input, name, 6 more }`

9027 9183 

9028 A call to a custom tool created by the model.9184 A call to a custom tool created by the model.

9029 9185 


9057 9213 

9058 The canonical name of the agent that produced this item.9214 The canonical name of the agent that produced this item.

9059 9215 

9216 - `async: optional boolean`

9217 

9218 Whether the custom tool call runs asynchronously.

9219 

9060 - `caller: optional object { type } or object { caller_id, type } or null`9220 - `caller: optional object { type } or object { caller_id, type } or null`

9061 9221 

9062 The execution context that produced this tool call.9222 The execution context that produced this tool call.


9348 9508 

9349 - `"shell"`9509 - `"shell"`

9350 9510 

9351 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`9511 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

9352 9512 

9353 An array of tools the model may call while generating a response. You9513 An array of tools the model may call while generating a response. You

9354 can specify which tool to use by setting the `tool_choice` parameter.9514 can specify which tool to use by setting the `tool_choice` parameter.


9368 [function calling](/docs/guides/function-calling). You can also use9528 [function calling](/docs/guides/function-calling). You can also use

9369 custom tools to call your own code.9529 custom tools to call your own code.

9370 9530 

9371 - `Function object { name, parameters, strict, 5 more }`9531 - `Function object { name, parameters, strict, 6 more }`

9372 9532 

9373 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).9533 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

9374 9534 


9398 9558 

9399 - `"programmatic"`9559 - `"programmatic"`

9400 9560 

9561 - `async: optional boolean`

9562 

9401 - `defer_loading: optional boolean`9563 - `defer_loading: optional boolean`

9402 9564 

9403 Whether this function is deferred and loaded via tool search.9565 Whether this function is deferred and loaded via tool search.


10090 10252 

10091 - `BetaContainerReference object { container_id, type }`10253 - `BetaContainerReference object { container_id, type }`

10092 10254 

10093 - `Custom object { name, type, allowed_callers, 3 more }`10255 - `Custom object { name, type, allowed_callers, 4 more }`

10094 10256 

10095 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)10257 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

10096 10258 


10112 10274 

10113 - `"programmatic"`10275 - `"programmatic"`

10114 10276 

10277 - `async: optional boolean`

10278 

10279 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

10280 

10115 - `defer_loading: optional boolean`10281 - `defer_loading: optional boolean`

10116 10282 

10117 Whether this tool should be deferred and discovered via tool search.10283 Whether this tool should be deferred and discovered via tool search.


10168 10334 

10169 The namespace name used in tool calls (for example, `crm`).10335 The namespace name used in tool calls (for example, `crm`).

10170 10336 

10171 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`10337 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

10172 10338 

10173 The function/custom tools available inside this namespace.10339 The function/custom tools available inside this namespace.

10174 10340 

10175 - `Function object { name, type, allowed_callers, 5 more }`10341 - `Function object { name, type, allowed_callers, 6 more }`

10176 10342 

10177 - `name: string`10343 - `name: string`

10178 10344 


10188 10354 

10189 - `"programmatic"`10355 - `"programmatic"`

10190 10356 

10357 - `async: optional boolean`

10358 

10359 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

10360 

10191 - `defer_loading: optional boolean`10361 - `defer_loading: optional boolean`

10192 10362 

10193 Whether this function should be deferred and discovered via tool search.10363 Whether this function should be deferred and discovered via tool search.


10204 10374 

10205 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.10375 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

10206 10376 

10207 - `Custom object { name, type, allowed_callers, 3 more }`10377 - `Custom object { name, type, allowed_callers, 4 more }`

10208 10378 

10209 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)10379 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

10210 10380 


10226 10396 

10227 - `"programmatic"`10397 - `"programmatic"`

10228 10398 

10399 - `async: optional boolean`

10400 

10401 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

10402 

10229 - `defer_loading: optional boolean`10403 - `defer_loading: optional boolean`

10230 10404 

10231 Whether this tool should be deferred and discovered via tool search.10405 Whether this tool should be deferred and discovered via tool search.


10570 10744 

10571 Optional version of the prompt template.10745 Optional version of the prompt template.

10572 10746 

10747 - `prompt_cache_diagnostics: optional object { cache_missed_tokens, reason, type, comparison_reusable_tokens } or object { type } or object { type } or object { type }`

10748 

10749 Prompt cache diagnostics requested for this response.

10750 

10751 - `CacheMiss object { cache_missed_tokens, reason, type, comparison_reusable_tokens }`

10752 

10753 - `cache_missed_tokens: number`

10754 

10755 The estimated number of input tokens affected after the first detected divergence.

10756 

10757 - `reason: "model_changed" or "prompt_cache_key_changed" or "tools_changed" or 6 more`

10758 

10759 The reason prompt cache reuse did not occur.

10760 

10761 - `"model_changed"`

10762 

10763 - `"prompt_cache_key_changed"`

10764 

10765 - `"tools_changed"`

10766 

10767 - `"text_format_changed"`

10768 

10769 - `"reasoning_effort_changed"`

10770 

10771 - `"verbosity_changed"`

10772 

10773 - `"context_compacted"`

10774 

10775 - `"input_changed"`

10776 

10777 - `"service_tier_changed"`

10778 

10779 - `type: "cache_miss"`

10780 

10781 - `"cache_miss"`

10782 

10783 - `comparison_reusable_tokens: optional number`

10784 

10785 The raw token count of the reusable prefix in the compared response.

10786 

10787 - `CacheHit object { type }`

10788 

10789 - `type: "cache_hit"`

10790 

10791 - `"cache_hit"`

10792 

10793 - `ComparisonResponseNotFound object { type }`

10794 

10795 - `type: "comparison_response_not_found"`

10796 

10797 - `"comparison_response_not_found"`

10798 

10799 - `Unavailable object { type }`

10800 

10801 - `type: "unavailable"`

10802 

10803 - `"unavailable"`

10804 

10573 - `prompt_cache_key: optional string or null`10805 - `prompt_cache_key: optional string or null`

10574 10806 

10575 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).10807 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).

10576 10808 

10577 - `prompt_cache_options: optional object { mode, ttl }`10809 - `prompt_cache_options: optional object { mode, ttl, comparison_response_id }`

10578 10810 

10579 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.10811 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.

10580 10812 


10592 10824 

10593 - `"30m"`10825 - `"30m"`

10594 10826 

10827 - `comparison_response_id: optional string or null`

10828 

10829 The response ID supplied as the prompt cache diagnostics comparison.

10830 

10595 - `prompt_cache_retention: optional "in_memory" or "24h" or null`10831 - `prompt_cache_retention: optional "in_memory" or "24h" or null`

10596 10832 

10597 Deprecated. Use `prompt_cache_options.ttl` instead.10833 Deprecated. Use `prompt_cache_options.ttl` instead.


10926 "created_at": 0,11162 "created_at": 0,

10927 "error": {11163 "error": {

10928 "code": "server_error",11164 "code": "server_error",

11165 "message": "message",

11166 "misalignment": {

11167 "detailed_explanation": "detailed_explanation",

11168 "error_type": "potentially_unintended_data_transfer",

11169 "steer": {

10929 "message": "message"11170 "message": "message"

11171 }

11172 }

10930 },11173 },

10931 "incomplete_details": {11174 "incomplete_details": {

10932 "reason": "max_output_tokens"11175 "reason": "max_output_tokens"


10935 "metadata": {11178 "metadata": {

10936 "foo": "string"11179 "foo": "string"

10937 },11180 },

10938 "model": "gpt-5.6-sol",11181 "model": "gpt-6-astra",

10939 "object": "response",11182 "object": "response",

10940 "output": [11183 "output": [

10941 {11184 {


10995 "allowed_callers": [11238 "allowed_callers": [

10996 "direct"11239 "direct"

10997 ],11240 ],

11241 "async": true,

10998 "defer_loading": true,11242 "defer_loading": true,

10999 "description": "description",11243 "description": "description",

11000 "output_schema": {11244 "output_schema": {


11053 },11297 },

11054 "version": "version"11298 "version": "version"

11055 },11299 },

11300 "prompt_cache_diagnostics": {

11301 "cache_missed_tokens": 0,

11302 "reason": "model_changed",

11303 "type": "cache_miss",

11304 "comparison_reusable_tokens": 0

11305 },

11056 "prompt_cache_key": "prompt-cache-key-1234",11306 "prompt_cache_key": "prompt-cache-key-1234",

11057 "prompt_cache_options": {11307 "prompt_cache_options": {

11058 "mode": "implicit",11308 "mode": "implicit",

11059 "ttl": "30m"11309 "ttl": "30m",

11310 "comparison_response_id": "comparison_response_id"

11060 },11311 },

11061 "prompt_cache_retention": "in_memory",11312 "prompt_cache_retention": "in_memory",

11062 "reasoning": {11313 "reasoning": {


11115 "incomplete_details": null,11366 "incomplete_details": null,

11116 "instructions": null,11367 "instructions": null,

11117 "max_output_tokens": null,11368 "max_output_tokens": null,

11118 "model": "gpt-5.6-sol",11369 "model": "gpt-6-astra",

11119 "output": [11370 "output": [

11120 {11371 {

11121 "type": "message",11372 "type": "message",

Details

14 14 

15### Body Parameters15### Body Parameters

16 16 

17- `model: "gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more or string or null`17- `model: "gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more or string or null`

18 18 

19 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/docs/models) to browse and compare available models.19 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/docs/models) to browse and compare available models.

20 20 

21 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more`21 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more`

22 22 

23 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/docs/models) to browse and compare available models.23 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/docs/models) to browse and compare available models.

24 

25 - `"gpt-6-astra"`

24 26 

25 - `"gpt-5.6-sol"`27 - `"gpt-5.6-sol"`

26 28 


228 230 

229 - `string`231 - `string`

230 232 

231- `input: optional string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more or null`233- `input: optional string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more or null`

232 234 

233 Text, image, or file inputs to the model, used to generate a response235 Text, image, or file inputs to the model, used to generate a response

234 236 


236 238 

237 A text input to the model, equivalent to a text input with the `user` role.239 A text input to the model, equivalent to a text input with the `user` role.

238 240 

239 - `array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more`241 - `array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more`

240 242 

241 A list of one or many input items to the model, containing different content types.243 A list of one or many input items to the model, containing different content types.

242 244 


1185 1187 

1186 The canonical name of the agent that produced this item.1188 The canonical name of the agent that produced this item.

1187 1189 

1188 - `FunctionCall object { arguments, call_id, name, 6 more }`1190 - `FunctionCall object { arguments, call_id, name, 7 more }`

1189 1191 

1190 A tool call to run a function. See the1192 A tool call to run a function. See the

1191 [function calling guide](/docs/guides/function-calling) for more information.1193 [function calling guide](/docs/guides/function-calling) for more information.


1220 1222 

1221 The canonical name of the agent that produced this item.1223 The canonical name of the agent that produced this item.

1222 1224 

1225 - `async: optional boolean`

1226 

1227 Whether the function tool call runs asynchronously.

1228 

1223 - `caller: optional object { type } or object { caller_id, type } or null`1229 - `caller: optional object { type } or object { caller_id, type } or null`

1224 1230 

1225 The execution context that produced this tool call.1231 The execution context that produced this tool call.


1715 1721 

1716 - `ToolSearchOutput object { tools, type, id, 4 more }`1722 - `ToolSearchOutput object { tools, type, id, 4 more }`

1717 1723 

1718 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1724 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1719 1725 

1720 The loaded tool definitions returned by the tool search output.1726 The loaded tool definitions returned by the tool search output.

1721 1727 

1722 - `Function object { name, parameters, strict, 5 more }`1728 - `Function object { name, parameters, strict, 6 more }`

1723 1729 

1724 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1730 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1725 1731 


1749 1755 

1750 - `"programmatic"`1756 - `"programmatic"`

1751 1757 

1758 - `async: optional boolean`

1759 

1752 - `defer_loading: optional boolean`1760 - `defer_loading: optional boolean`

1753 1761 

1754 Whether this function is deferred and loaded via tool search.1762 Whether this function is deferred and loaded via tool search.


2591 2599 

2592 - `"container_reference"`2600 - `"container_reference"`

2593 2601 

2594 - `Custom object { name, type, allowed_callers, 3 more }`2602 - `Custom object { name, type, allowed_callers, 4 more }`

2595 2603 

2596 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2604 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2597 2605 


2613 2621 

2614 - `"programmatic"`2622 - `"programmatic"`

2615 2623 

2624 - `async: optional boolean`

2625 

2626 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2627 

2616 - `defer_loading: optional boolean`2628 - `defer_loading: optional boolean`

2617 2629 

2618 Whether this tool should be deferred and discovered via tool search.2630 Whether this tool should be deferred and discovered via tool search.


2669 2681 

2670 The namespace name used in tool calls (for example, `crm`).2682 The namespace name used in tool calls (for example, `crm`).

2671 2683 

2672 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2684 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2673 2685 

2674 The function/custom tools available inside this namespace.2686 The function/custom tools available inside this namespace.

2675 2687 

2676 - `Function object { name, type, allowed_callers, 5 more }`2688 - `Function object { name, type, allowed_callers, 6 more }`

2677 2689 

2678 - `name: string`2690 - `name: string`

2679 2691 


2689 2701 

2690 - `"programmatic"`2702 - `"programmatic"`

2691 2703 

2704 - `async: optional boolean`

2705 

2706 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2707 

2692 - `defer_loading: optional boolean`2708 - `defer_loading: optional boolean`

2693 2709 

2694 Whether this function should be deferred and discovered via tool search.2710 Whether this function should be deferred and discovered via tool search.


2705 2721 

2706 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2722 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2707 2723 

2708 - `Custom object { name, type, allowed_callers, 3 more }`2724 - `Custom object { name, type, allowed_callers, 4 more }`

2709 2725 

2710 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2726 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2711 2727 


2727 2743 

2728 - `"programmatic"`2744 - `"programmatic"`

2729 2745 

2746 - `async: optional boolean`

2747 

2748 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2749 

2730 - `defer_loading: optional boolean`2750 - `defer_loading: optional boolean`

2731 2751 

2732 Whether this tool should be deferred and discovered via tool search.2752 Whether this tool should be deferred and discovered via tool search.


2923 2943 

2924 - `"developer"`2944 - `"developer"`

2925 2945 

2926 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2946 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2927 2947 

2928 A list of additional tools made available at this item.2948 A list of additional tools made available at this item.

2929 2949 

2930 - `Function object { name, parameters, strict, 5 more }`2950 - `Function object { name, parameters, strict, 6 more }`

2931 2951 

2932 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2952 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2933 2953 


2957 2977 

2958 - `"programmatic"`2978 - `"programmatic"`

2959 2979 

2980 - `async: optional boolean`

2981 

2960 - `defer_loading: optional boolean`2982 - `defer_loading: optional boolean`

2961 2983 

2962 Whether this function is deferred and loaded via tool search.2984 Whether this function is deferred and loaded via tool search.


3649 3671 

3650 - `BetaContainerReference object { container_id, type }`3672 - `BetaContainerReference object { container_id, type }`

3651 3673 

3652 - `Custom object { name, type, allowed_callers, 3 more }`3674 - `Custom object { name, type, allowed_callers, 4 more }`

3653 3675 

3654 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3676 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3655 3677 


3671 3693 

3672 - `"programmatic"`3694 - `"programmatic"`

3673 3695 

3696 - `async: optional boolean`

3697 

3698 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3699 

3674 - `defer_loading: optional boolean`3700 - `defer_loading: optional boolean`

3675 3701 

3676 Whether this tool should be deferred and discovered via tool search.3702 Whether this tool should be deferred and discovered via tool search.


3727 3753 

3728 The namespace name used in tool calls (for example, `crm`).3754 The namespace name used in tool calls (for example, `crm`).

3729 3755 

3730 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3756 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3731 3757 

3732 The function/custom tools available inside this namespace.3758 The function/custom tools available inside this namespace.

3733 3759 

3734 - `Function object { name, type, allowed_callers, 5 more }`3760 - `Function object { name, type, allowed_callers, 6 more }`

3735 3761 

3736 - `name: string`3762 - `name: string`

3737 3763 


3747 3773 

3748 - `"programmatic"`3774 - `"programmatic"`

3749 3775 

3776 - `async: optional boolean`

3777 

3778 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3779 

3750 - `defer_loading: optional boolean`3780 - `defer_loading: optional boolean`

3751 3781 

3752 Whether this function should be deferred and discovered via tool search.3782 Whether this function should be deferred and discovered via tool search.


3763 3793 

3764 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3794 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3765 3795 

3766 - `Custom object { name, type, allowed_callers, 3 more }`3796 - `Custom object { name, type, allowed_callers, 4 more }`

3767 3797 

3768 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3798 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3769 3799 


3785 3815 

3786 - `"programmatic"`3816 - `"programmatic"`

3787 3817 

3818 - `async: optional boolean`

3819 

3820 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3821 

3788 - `defer_loading: optional boolean`3822 - `defer_loading: optional boolean`

3789 3823 

3790 Whether this tool should be deferred and discovered via tool search.3824 Whether this tool should be deferred and discovered via tool search.


3951 3985 

3952 The canonical name of the agent that produced this item.3986 The canonical name of the agent that produced this item.

3953 3987 

3988 - `ConfigurationUpdate object { type, id, agent, reasoning }`

3989 

3990 An update to the conversation's response configuration. The configuration

3991 remains in effect for subsequent responses until it is replaced by another

3992 configuration update.

3993 

3994 - `type: "configuration_update"`

3995 

3996 The item type. Always `configuration_update`.

3997 

3998 - `"configuration_update"`

3999 

4000 - `id: optional string or null`

4001 

4002 The unique ID of the configuration update item.

4003 

4004 - `agent: optional object { agent_name } or null`

4005 

4006 The agent that produced this item.

4007 

4008 - `agent_name: string`

4009 

4010 The canonical name of the agent that produced this item.

4011 

4012 - `reasoning: optional object { effort }`

4013 

4014 Updates to reasoning configuration. Only effort is supported.

4015 

4016 - `effort: optional "none" or "minimal" or "low" or 4 more or null`

4017 

4018 The reasoning effort to use for subsequent responses until another

4019 configuration update replaces it.

4020 

4021 - `"none"`

4022 

4023 - `"minimal"`

4024 

4025 - `"low"`

4026 

4027 - `"medium"`

4028 

4029 - `"high"`

4030 

4031 - `"xhigh"`

4032 

4033 - `"max"`

4034 

3954 - `Reasoning object { id, summary, type, 4 more }`4035 - `Reasoning object { id, summary, type, 4 more }`

3955 4036 

3956 A description of the chain of thought used by a reasoning model while generating4037 A description of the chain of thought used by a reasoning model while generating


4914 4995 

4915 - `"program"`4996 - `"program"`

4916 4997 

4917 - `CustomToolCall object { call_id, input, name, 5 more }`4998 - `CustomToolCall object { call_id, input, name, 6 more }`

4918 4999 

4919 A call to a custom tool created by the model.5000 A call to a custom tool created by the model.

4920 5001 


4948 5029 

4949 The canonical name of the agent that produced this item.5030 The canonical name of the agent that produced this item.

4950 5031 

5032 - `async: optional boolean`

5033 

5034 Whether the custom tool call runs asynchronously.

5035 

4951 - `caller: optional object { type } or object { caller_id, type } or null`5036 - `caller: optional object { type } or object { caller_id, type } or null`

4952 5037 

4953 The execution context that produced this tool call.5038 The execution context that produced this tool call.


5125 5210 

5126- `service_tier: optional "auto" or "default" or "fast" or 2 more or null`5211- `service_tier: optional "auto" or "default" or "fast" or 2 more or null`

5127 5212 

5128 Specifies the processing type used for serving the request. - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'. - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model. - If set to '[flex](/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier. - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request. - When not set, the default behavior is 'auto'.5213 Specifies the processing type used for serving the request. - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'. - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model. - If set to '[flex](/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier. - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. For models with a dedicated Fast tier, either value resolves to `service_tier=fast`; for other models, either value resolves to `service_tier=priority`. - When not set, the default behavior is 'auto'.

5129 When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.5214 When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.

5130 5215 

5131 - `"auto"`5216 - `"auto"`


5630 5715 

5631 The canonical name of the agent that produced this item.5716 The canonical name of the agent that produced this item.

5632 5717 

5633 - `FunctionCall object { arguments, call_id, name, 6 more }`5718 - `FunctionCall object { arguments, call_id, name, 7 more }`

5634 5719 

5635 A tool call to run a function. See the5720 A tool call to run a function. See the

5636 [function calling guide](/docs/guides/function-calling) for more information.5721 [function calling guide](/docs/guides/function-calling) for more information.


5665 5750 

5666 The canonical name of the agent that produced this item.5751 The canonical name of the agent that produced this item.

5667 5752 

5753 - `async: optional boolean`

5754 

5755 Whether the function tool call runs asynchronously.

5756 

5668 - `caller: optional object { type } or object { caller_id, type } or null`5757 - `caller: optional object { type } or object { caller_id, type } or null`

5669 5758 

5670 The execution context that produced this tool call.5759 The execution context that produced this tool call.


5880 5969 

5881 - `"incomplete"`5970 - `"incomplete"`

5882 5971 

5883 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`5972 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

5884 5973 

5885 The loaded tool definitions returned by tool search.5974 The loaded tool definitions returned by tool search.

5886 5975 

5887 - `Function object { name, parameters, strict, 5 more }`5976 - `Function object { name, parameters, strict, 6 more }`

5888 5977 

5889 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).5978 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

5890 5979 


5914 6003 

5915 - `"programmatic"`6004 - `"programmatic"`

5916 6005 

6006 - `async: optional boolean`

6007 

5917 - `defer_loading: optional boolean`6008 - `defer_loading: optional boolean`

5918 6009 

5919 Whether this function is deferred and loaded via tool search.6010 Whether this function is deferred and loaded via tool search.


6756 6847 

6757 - `"container_reference"`6848 - `"container_reference"`

6758 6849 

6759 - `Custom object { name, type, allowed_callers, 3 more }`6850 - `Custom object { name, type, allowed_callers, 4 more }`

6760 6851 

6761 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6852 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6762 6853 


6778 6869 

6779 - `"programmatic"`6870 - `"programmatic"`

6780 6871 

6872 - `async: optional boolean`

6873 

6874 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6875 

6781 - `defer_loading: optional boolean`6876 - `defer_loading: optional boolean`

6782 6877 

6783 Whether this tool should be deferred and discovered via tool search.6878 Whether this tool should be deferred and discovered via tool search.


6834 6929 

6835 The namespace name used in tool calls (for example, `crm`).6930 The namespace name used in tool calls (for example, `crm`).

6836 6931 

6837 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`6932 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

6838 6933 

6839 The function/custom tools available inside this namespace.6934 The function/custom tools available inside this namespace.

6840 6935 

6841 - `Function object { name, type, allowed_callers, 5 more }`6936 - `Function object { name, type, allowed_callers, 6 more }`

6842 6937 

6843 - `name: string`6938 - `name: string`

6844 6939 


6854 6949 

6855 - `"programmatic"`6950 - `"programmatic"`

6856 6951 

6952 - `async: optional boolean`

6953 

6954 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6955 

6857 - `defer_loading: optional boolean`6956 - `defer_loading: optional boolean`

6858 6957 

6859 Whether this function should be deferred and discovered via tool search.6958 Whether this function should be deferred and discovered via tool search.


6870 6969 

6871 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.6970 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

6872 6971 

6873 - `Custom object { name, type, allowed_callers, 3 more }`6972 - `Custom object { name, type, allowed_callers, 4 more }`

6874 6973 

6875 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6974 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6876 6975 


6892 6991 

6893 - `"programmatic"`6992 - `"programmatic"`

6894 6993 

6994 - `async: optional boolean`

6995 

6996 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6997 

6895 - `defer_loading: optional boolean`6998 - `defer_loading: optional boolean`

6896 6999 

6897 Whether this tool should be deferred and discovered via tool search.7000 Whether this tool should be deferred and discovered via tool search.


7084 7187 

7085 - `"tool"`7188 - `"tool"`

7086 7189 

7087 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`7190 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

7088 7191 

7089 The additional tool definitions made available at this item.7192 The additional tool definitions made available at this item.

7090 7193 

7091 - `Function object { name, parameters, strict, 5 more }`7194 - `Function object { name, parameters, strict, 6 more }`

7092 7195 

7093 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).7196 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

7094 7197 


7118 7221 

7119 - `"programmatic"`7222 - `"programmatic"`

7120 7223 

7224 - `async: optional boolean`

7225 

7121 - `defer_loading: optional boolean`7226 - `defer_loading: optional boolean`

7122 7227 

7123 Whether this function is deferred and loaded via tool search.7228 Whether this function is deferred and loaded via tool search.


7810 7915 

7811 - `BetaContainerReference object { container_id, type }`7916 - `BetaContainerReference object { container_id, type }`

7812 7917 

7813 - `Custom object { name, type, allowed_callers, 3 more }`7918 - `Custom object { name, type, allowed_callers, 4 more }`

7814 7919 

7815 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)7920 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

7816 7921 


7832 7937 

7833 - `"programmatic"`7938 - `"programmatic"`

7834 7939 

7940 - `async: optional boolean`

7941 

7942 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

7943 

7835 - `defer_loading: optional boolean`7944 - `defer_loading: optional boolean`

7836 7945 

7837 Whether this tool should be deferred and discovered via tool search.7946 Whether this tool should be deferred and discovered via tool search.


7888 7997 

7889 The namespace name used in tool calls (for example, `crm`).7998 The namespace name used in tool calls (for example, `crm`).

7890 7999 

7891 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`8000 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

7892 8001 

7893 The function/custom tools available inside this namespace.8002 The function/custom tools available inside this namespace.

7894 8003 

7895 - `Function object { name, type, allowed_callers, 5 more }`8004 - `Function object { name, type, allowed_callers, 6 more }`

7896 8005 

7897 - `name: string`8006 - `name: string`

7898 8007 


7908 8017 

7909 - `"programmatic"`8018 - `"programmatic"`

7910 8019 

8020 - `async: optional boolean`

8021 

8022 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8023 

7911 - `defer_loading: optional boolean`8024 - `defer_loading: optional boolean`

7912 8025 

7913 Whether this function should be deferred and discovered via tool search.8026 Whether this function should be deferred and discovered via tool search.


7924 8037 

7925 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.8038 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

7926 8039 

7927 - `Custom object { name, type, allowed_callers, 3 more }`8040 - `Custom object { name, type, allowed_callers, 4 more }`

7928 8041 

7929 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8042 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

7930 8043 


7946 8059 

7947 - `"programmatic"`8060 - `"programmatic"`

7948 8061 

8062 - `async: optional boolean`

8063 

8064 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8065 

7949 - `defer_loading: optional boolean`8066 - `defer_loading: optional boolean`

7950 8067 

7951 Whether this tool should be deferred and discovered via tool search.8068 Whether this tool should be deferred and discovered via tool search.


9798 9915 

9799 - `"failed"`9916 - `"failed"`

9800 9917 

9801 - `CustomToolCall object { call_id, input, name, 5 more }`9918 - `CustomToolCall object { call_id, input, name, 6 more }`

9802 9919 

9803 A call to a custom tool created by the model.9920 A call to a custom tool created by the model.

9804 9921 


9832 9949 

9833 The canonical name of the agent that produced this item.9950 The canonical name of the agent that produced this item.

9834 9951 

9952 - `async: optional boolean`

9953 

9954 Whether the custom tool call runs asynchronously.

9955 

9835 - `caller: optional object { type } or object { caller_id, type } or null`9956 - `caller: optional object { type } or object { caller_id, type } or null`

9836 9957 

9837 The execution context that produced this tool call.9958 The execution context that produced this tool call.


9975 -H 'Content-Type: application/json' \10096 -H 'Content-Type: application/json' \

9976 -H "Authorization: Bearer $OPENAI_API_KEY" \10097 -H "Authorization: Bearer $OPENAI_API_KEY" \

9977 -d '{10098 -d '{

9978 "model": "gpt-5.6-sol",10099 "model": "gpt-6-astra",

9979 "previous_response_id": "resp_123"10100 "previous_response_id": "resp_123"

9980 }'10101 }'

9981```10102```


10030 -H "Content-Type: application/json" \10151 -H "Content-Type: application/json" \

10031 -H "Authorization: Bearer $OPENAI_API_KEY" \10152 -H "Authorization: Bearer $OPENAI_API_KEY" \

10032 -d '{10153 -d '{

10033 "model": "gpt-5.6-sol",10154 "model": "gpt-6-astra",

10034 "input": [10155 "input": [

10035 {10156 {

10036 "role": "user",10157 "role": "user",

Details

80 80 

81 - `"message.output_text.logprobs"`81 - `"message.output_text.logprobs"`

82 82 

83- `input: optional string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more`83- `input: optional string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more`

84 84 

85 Text, image, or file inputs to the model, used to generate a response.85 Text, image, or file inputs to the model, used to generate a response.

86 86 


97 A text input to the model, equivalent to a text input with the97 A text input to the model, equivalent to a text input with the

98 `user` role.98 `user` role.

99 99 

100 - `InputItemList = array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more`100 - `InputItemList = array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more`

101 101 

102 A list of one or many input items to the model, containing102 A list of one or many input items to the model, containing

103 different content types.103 different content types.


1047 1047 

1048 The canonical name of the agent that produced this item.1048 The canonical name of the agent that produced this item.

1049 1049 

1050 - `FunctionCall object { arguments, call_id, name, 6 more }`1050 - `FunctionCall object { arguments, call_id, name, 7 more }`

1051 1051 

1052 A tool call to run a function. See the1052 A tool call to run a function. See the

1053 [function calling guide](/docs/guides/function-calling) for more information.1053 [function calling guide](/docs/guides/function-calling) for more information.


1082 1082 

1083 The canonical name of the agent that produced this item.1083 The canonical name of the agent that produced this item.

1084 1084 

1085 - `async: optional boolean`

1086 

1087 Whether the function tool call runs asynchronously.

1088 

1085 - `caller: optional object { type } or object { caller_id, type } or null`1089 - `caller: optional object { type } or object { caller_id, type } or null`

1086 1090 

1087 The execution context that produced this tool call.1091 The execution context that produced this tool call.


1577 1581 

1578 - `ToolSearchOutput object { tools, type, id, 4 more }`1582 - `ToolSearchOutput object { tools, type, id, 4 more }`

1579 1583 

1580 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1584 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1581 1585 

1582 The loaded tool definitions returned by the tool search output.1586 The loaded tool definitions returned by the tool search output.

1583 1587 

1584 - `Function object { name, parameters, strict, 5 more }`1588 - `Function object { name, parameters, strict, 6 more }`

1585 1589 

1586 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1590 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1587 1591 


1611 1615 

1612 - `"programmatic"`1616 - `"programmatic"`

1613 1617 

1618 - `async: optional boolean`

1619 

1614 - `defer_loading: optional boolean`1620 - `defer_loading: optional boolean`

1615 1621 

1616 Whether this function is deferred and loaded via tool search.1622 Whether this function is deferred and loaded via tool search.


2453 2459 

2454 - `"container_reference"`2460 - `"container_reference"`

2455 2461 

2456 - `Custom object { name, type, allowed_callers, 3 more }`2462 - `Custom object { name, type, allowed_callers, 4 more }`

2457 2463 

2458 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2464 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2459 2465 


2475 2481 

2476 - `"programmatic"`2482 - `"programmatic"`

2477 2483 

2484 - `async: optional boolean`

2485 

2486 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2487 

2478 - `defer_loading: optional boolean`2488 - `defer_loading: optional boolean`

2479 2489 

2480 Whether this tool should be deferred and discovered via tool search.2490 Whether this tool should be deferred and discovered via tool search.


2531 2541 

2532 The namespace name used in tool calls (for example, `crm`).2542 The namespace name used in tool calls (for example, `crm`).

2533 2543 

2534 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2544 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2535 2545 

2536 The function/custom tools available inside this namespace.2546 The function/custom tools available inside this namespace.

2537 2547 

2538 - `Function object { name, type, allowed_callers, 5 more }`2548 - `Function object { name, type, allowed_callers, 6 more }`

2539 2549 

2540 - `name: string`2550 - `name: string`

2541 2551 


2551 2561 

2552 - `"programmatic"`2562 - `"programmatic"`

2553 2563 

2564 - `async: optional boolean`

2565 

2566 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2567 

2554 - `defer_loading: optional boolean`2568 - `defer_loading: optional boolean`

2555 2569 

2556 Whether this function should be deferred and discovered via tool search.2570 Whether this function should be deferred and discovered via tool search.


2567 2581 

2568 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2582 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2569 2583 

2570 - `Custom object { name, type, allowed_callers, 3 more }`2584 - `Custom object { name, type, allowed_callers, 4 more }`

2571 2585 

2572 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2586 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2573 2587 


2589 2603 

2590 - `"programmatic"`2604 - `"programmatic"`

2591 2605 

2606 - `async: optional boolean`

2607 

2608 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2609 

2592 - `defer_loading: optional boolean`2610 - `defer_loading: optional boolean`

2593 2611 

2594 Whether this tool should be deferred and discovered via tool search.2612 Whether this tool should be deferred and discovered via tool search.


2785 2803 

2786 - `"developer"`2804 - `"developer"`

2787 2805 

2788 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2806 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2789 2807 

2790 A list of additional tools made available at this item.2808 A list of additional tools made available at this item.

2791 2809 

2792 - `Function object { name, parameters, strict, 5 more }`2810 - `Function object { name, parameters, strict, 6 more }`

2793 2811 

2794 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2812 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2795 2813 


2819 2837 

2820 - `"programmatic"`2838 - `"programmatic"`

2821 2839 

2840 - `async: optional boolean`

2841 

2822 - `defer_loading: optional boolean`2842 - `defer_loading: optional boolean`

2823 2843 

2824 Whether this function is deferred and loaded via tool search.2844 Whether this function is deferred and loaded via tool search.


3511 3531 

3512 - `BetaContainerReference object { container_id, type }`3532 - `BetaContainerReference object { container_id, type }`

3513 3533 

3514 - `Custom object { name, type, allowed_callers, 3 more }`3534 - `Custom object { name, type, allowed_callers, 4 more }`

3515 3535 

3516 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3536 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3517 3537 


3533 3553 

3534 - `"programmatic"`3554 - `"programmatic"`

3535 3555 

3556 - `async: optional boolean`

3557 

3558 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3559 

3536 - `defer_loading: optional boolean`3560 - `defer_loading: optional boolean`

3537 3561 

3538 Whether this tool should be deferred and discovered via tool search.3562 Whether this tool should be deferred and discovered via tool search.


3589 3613 

3590 The namespace name used in tool calls (for example, `crm`).3614 The namespace name used in tool calls (for example, `crm`).

3591 3615 

3592 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3616 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3593 3617 

3594 The function/custom tools available inside this namespace.3618 The function/custom tools available inside this namespace.

3595 3619 

3596 - `Function object { name, type, allowed_callers, 5 more }`3620 - `Function object { name, type, allowed_callers, 6 more }`

3597 3621 

3598 - `name: string`3622 - `name: string`

3599 3623 


3609 3633 

3610 - `"programmatic"`3634 - `"programmatic"`

3611 3635 

3636 - `async: optional boolean`

3637 

3638 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3639 

3612 - `defer_loading: optional boolean`3640 - `defer_loading: optional boolean`

3613 3641 

3614 Whether this function should be deferred and discovered via tool search.3642 Whether this function should be deferred and discovered via tool search.


3625 3653 

3626 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3654 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3627 3655 

3628 - `Custom object { name, type, allowed_callers, 3 more }`3656 - `Custom object { name, type, allowed_callers, 4 more }`

3629 3657 

3630 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3658 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3631 3659 


3647 3675 

3648 - `"programmatic"`3676 - `"programmatic"`

3649 3677 

3678 - `async: optional boolean`

3679 

3680 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3681 

3650 - `defer_loading: optional boolean`3682 - `defer_loading: optional boolean`

3651 3683 

3652 Whether this tool should be deferred and discovered via tool search.3684 Whether this tool should be deferred and discovered via tool search.


3813 3845 

3814 The canonical name of the agent that produced this item.3846 The canonical name of the agent that produced this item.

3815 3847 

3848 - `ConfigurationUpdate object { type, id, agent, reasoning }`

3849 

3850 An update to the conversation's response configuration. The configuration

3851 remains in effect for subsequent responses until it is replaced by another

3852 configuration update.

3853 

3854 - `type: "configuration_update"`

3855 

3856 The item type. Always `configuration_update`.

3857 

3858 - `"configuration_update"`

3859 

3860 - `id: optional string or null`

3861 

3862 The unique ID of the configuration update item.

3863 

3864 - `agent: optional object { agent_name } or null`

3865 

3866 The agent that produced this item.

3867 

3868 - `agent_name: string`

3869 

3870 The canonical name of the agent that produced this item.

3871 

3872 - `reasoning: optional object { effort }`

3873 

3874 Updates to reasoning configuration. Only effort is supported.

3875 

3876 - `effort: optional "none" or "minimal" or "low" or 4 more or null`

3877 

3878 The reasoning effort to use for subsequent responses until another

3879 configuration update replaces it.

3880 

3881 - `"none"`

3882 

3883 - `"minimal"`

3884 

3885 - `"low"`

3886 

3887 - `"medium"`

3888 

3889 - `"high"`

3890 

3891 - `"xhigh"`

3892 

3893 - `"max"`

3894 

3816 - `Reasoning object { id, summary, type, 4 more }`3895 - `Reasoning object { id, summary, type, 4 more }`

3817 3896 

3818 A description of the chain of thought used by a reasoning model while generating3897 A description of the chain of thought used by a reasoning model while generating


4776 4855 

4777 - `"program"`4856 - `"program"`

4778 4857 

4779 - `CustomToolCall object { call_id, input, name, 5 more }`4858 - `CustomToolCall object { call_id, input, name, 6 more }`

4780 4859 

4781 A call to a custom tool created by the model.4860 A call to a custom tool created by the model.

4782 4861 


4810 4889 

4811 The canonical name of the agent that produced this item.4890 The canonical name of the agent that produced this item.

4812 4891 

4892 - `async: optional boolean`

4893 

4894 Whether the custom tool call runs asynchronously.

4895 

4813 - `caller: optional object { type } or object { caller_id, type } or null`4896 - `caller: optional object { type } or object { caller_id, type } or null`

4814 4897 

4815 The execution context that produced this tool call.4898 The execution context that produced this tool call.


4971 Keys are strings with a maximum length of 64 characters. Values are strings5054 Keys are strings with a maximum length of 64 characters. Values are strings

4972 with a maximum length of 512 characters.5055 with a maximum length of 512 characters.

4973 5056 

4974- `model: optional "gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more or string`5057- `model: optional "gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more or string`

4975 5058 

4976 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI5059 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

4977 offers a wide range of models with different capabilities, performance5060 offers a wide range of models with different capabilities, performance

4978 characteristics, and price points. Refer to the [model guide](/docs/models)5061 characteristics, and price points. Refer to the [model guide](/docs/models)

4979 to browse and compare available models.5062 to browse and compare available models.

4980 5063 

4981 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more`5064 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more`

4982 5065 

4983 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI5066 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

4984 offers a wide range of models with different capabilities, performance5067 offers a wide range of models with different capabilities, performance

4985 characteristics, and price points. Refer to the [model guide](/docs/models)5068 characteristics, and price points. Refer to the [model guide](/docs/models)

4986 to browse and compare available models.5069 to browse and compare available models.

4987 5070 

5071 - `"gpt-6-astra"`

5072 

4988 - `"gpt-5.6-sol"`5073 - `"gpt-5.6-sol"`

4989 5074 

4990 - `"gpt-5.6-terra"`5075 - `"gpt-5.6-terra"`


5283 5368 

5284 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).5369 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).

5285 5370 

5286- `prompt_cache_options: optional object { mode, ttl }`5371- `prompt_cache_options: optional object { comparison_response_id, mode, ttl }`

5287 5372 

5288 Options for prompt caching. Supported for `gpt-5.6` and later models. By default, OpenAI automatically chooses one implicit cache breakpoint. You can add explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each request can write up to four breakpoints. For cache matching, OpenAI considers up to the latest 80 breakpoints in the conversation, without a content-block lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The `ttl` defaults to `30m`, which is currently the only supported value. See the [prompt caching guide](/docs/guides/prompt-caching) for current details.5373 Options for prompt caching. Supported for `gpt-5.6` and later models. By default, OpenAI automatically chooses one implicit cache breakpoint. You can add explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each request can write up to four breakpoints. For cache matching, OpenAI considers up to the latest 80 breakpoints in the conversation, without a content-block lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The `ttl` defaults to `30m`, which is currently the only supported value. See the [prompt caching guide](/docs/guides/prompt-caching) for current details.

5289 5374 

5375 - `comparison_response_id: optional string or null`

5376 

5377 The ID of a response to compare when diagnosing prompt cache reuse. Supplying this field requests prompt cache diagnostics when the feature is enabled.

5378 

5290 - `mode: optional "implicit" or "explicit"`5379 - `mode: optional "implicit" or "explicit"`

5291 5380 

5292 Controls whether OpenAI automatically creates an implicit cache breakpoint. Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint and writes up to the latest three explicit breakpoints in the request. With `explicit`, OpenAI does not create an implicit breakpoint and writes up to the latest four explicit breakpoints. If there are no explicit breakpoints, the request does not use prompt caching.5381 Controls whether OpenAI automatically creates an implicit cache breakpoint. Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint and writes up to the latest three explicit breakpoints in the request. With `explicit`, OpenAI does not create an implicit breakpoint and writes up to the latest four explicit breakpoints. If there are no explicit breakpoints, the request does not use prompt caching.


5738 5827 

5739 - `"shell"`5828 - `"shell"`

5740 5829 

5741- `tools: optional array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`5830- `tools: optional array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

5742 5831 

5743 An array of tools the model may call while generating a response. You5832 An array of tools the model may call while generating a response. You

5744 can specify which tool to use by setting the `tool_choice` parameter.5833 can specify which tool to use by setting the `tool_choice` parameter.


5758 [function calling](/docs/guides/function-calling). You can also use5847 [function calling](/docs/guides/function-calling). You can also use

5759 custom tools to call your own code.5848 custom tools to call your own code.

5760 5849 

5761 - `Function object { name, parameters, strict, 5 more }`5850 - `Function object { name, parameters, strict, 6 more }`

5762 5851 

5763 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).5852 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

5764 5853 


5788 5877 

5789 - `"programmatic"`5878 - `"programmatic"`

5790 5879 

5880 - `async: optional boolean`

5881 

5791 - `defer_loading: optional boolean`5882 - `defer_loading: optional boolean`

5792 5883 

5793 Whether this function is deferred and loaded via tool search.5884 Whether this function is deferred and loaded via tool search.


6480 6571 

6481 - `BetaContainerReference object { container_id, type }`6572 - `BetaContainerReference object { container_id, type }`

6482 6573 

6483 - `Custom object { name, type, allowed_callers, 3 more }`6574 - `Custom object { name, type, allowed_callers, 4 more }`

6484 6575 

6485 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6576 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6486 6577 


6502 6593 

6503 - `"programmatic"`6594 - `"programmatic"`

6504 6595 

6596 - `async: optional boolean`

6597 

6598 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6599 

6505 - `defer_loading: optional boolean`6600 - `defer_loading: optional boolean`

6506 6601 

6507 Whether this tool should be deferred and discovered via tool search.6602 Whether this tool should be deferred and discovered via tool search.


6558 6653 

6559 The namespace name used in tool calls (for example, `crm`).6654 The namespace name used in tool calls (for example, `crm`).

6560 6655 

6561 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`6656 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

6562 6657 

6563 The function/custom tools available inside this namespace.6658 The function/custom tools available inside this namespace.

6564 6659 

6565 - `Function object { name, type, allowed_callers, 5 more }`6660 - `Function object { name, type, allowed_callers, 6 more }`

6566 6661 

6567 - `name: string`6662 - `name: string`

6568 6663 


6578 6673 

6579 - `"programmatic"`6674 - `"programmatic"`

6580 6675 

6676 - `async: optional boolean`

6677 

6678 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6679 

6581 - `defer_loading: optional boolean`6680 - `defer_loading: optional boolean`

6582 6681 

6583 Whether this function should be deferred and discovered via tool search.6682 Whether this function should be deferred and discovered via tool search.


6594 6693 

6595 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.6694 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

6596 6695 

6597 - `Custom object { name, type, allowed_callers, 3 more }`6696 - `Custom object { name, type, allowed_callers, 4 more }`

6598 6697 

6599 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6698 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6600 6699 


6616 6715 

6617 - `"programmatic"`6716 - `"programmatic"`

6618 6717 

6718 - `async: optional boolean`

6719 

6720 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6721 

6619 - `defer_loading: optional boolean`6722 - `defer_loading: optional boolean`

6620 6723 

6621 Whether this tool should be deferred and discovered via tool search.6724 Whether this tool should be deferred and discovered via tool search.


6802 6905 

6803### Returns6906### Returns

6804 6907 

6805- `BetaResponse object { id, created_at, error, 32 more }`6908- `BetaResponse object { id, created_at, error, 33 more }`

6806 6909 

6807 - `id: string`6910 - `id: string`

6808 6911 


6816 6919 

6817 An error object returned when the model fails to generate a Response.6920 An error object returned when the model fails to generate a Response.

6818 6921 

6819 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 17 more`6922 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 18 more`

6820 6923 

6821 The error code for the response.6924 The error code for the response.

6822 6925 


6830 6933 

6831 - `"bio_policy"`6934 - `"bio_policy"`

6832 6935 

6936 - `"misalignment_policy_violation"`

6937 

6833 - `"vector_store_timeout"`6938 - `"vector_store_timeout"`

6834 6939 

6835 - `"invalid_image"`6940 - `"invalid_image"`


6864 6969 

6865 A human-readable description of the error.6970 A human-readable description of the error.

6866 6971 

6972 - `misalignment: optional object { detailed_explanation, error_type, steer }`

6973 

6974 - `detailed_explanation: optional string`

6975 

6976 The public explanation for this block.

6977 

6978 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

6979 

6980 An optional classification; clients must accept additional values.

6981 

6982 - `string`

6983 

6984 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

6985 

6986 An optional classification; clients must accept additional values.

6987 

6988 - `"potentially_unintended_data_transfer"`

6989 

6990 - `"potentially_unintended_data_access"`

6991 

6992 - `"potentially_unintended_destructive_activity"`

6993 

6994 - `"other"`

6995 

6996 - `steer: optional object { message }`

6997 

6998 An optional public continuation instruction.

6999 

7000 - `message: string`

7001 

7002 The public continuation instruction.

7003 

6867 - `incomplete_details: object { reason } or null`7004 - `incomplete_details: object { reason } or null`

6868 7005 

6869 Details about why the response is incomplete.7006 Details about why the response is incomplete.

6870 7007 

6871 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter"`7008 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter" or "steered"`

6872 7009 

6873 The reason why the response is incomplete.7010 The reason why the response is incomplete. `steered` means

7011 the response stopped at a safe output boundary after a

7012 WebSocket `response.steer` event. The server can then create

7013 a successor response automatically with the queued input.

6874 7014 

6875 - `"max_output_tokens"`7015 - `"max_output_tokens"`

6876 7016 


6878 7018 

6879 - `"content_filter"`7019 - `"content_filter"`

6880 7020 

6881 - `instructions: string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more or null`7021 - `"steered"`

7022 

7023 - `instructions: string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more or null`

6882 7024 

6883 A system (or developer) message inserted into the model's context.7025 A system (or developer) message inserted into the model's context.

6884 7026 


6891 A text input to the model, equivalent to a text input with the7033 A text input to the model, equivalent to a text input with the

6892 `developer` role.7034 `developer` role.

6893 7035 

6894 - `InputItemList = array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more`7036 - `InputItemList = array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more`

6895 7037 

6896 A list of one or many input items to the model, containing7038 A list of one or many input items to the model, containing

6897 different content types.7039 different content types.


7841 7983 

7842 The canonical name of the agent that produced this item.7984 The canonical name of the agent that produced this item.

7843 7985 

7844 - `FunctionCall object { arguments, call_id, name, 6 more }`7986 - `FunctionCall object { arguments, call_id, name, 7 more }`

7845 7987 

7846 A tool call to run a function. See the7988 A tool call to run a function. See the

7847 [function calling guide](/docs/guides/function-calling) for more information.7989 [function calling guide](/docs/guides/function-calling) for more information.


7876 8018 

7877 The canonical name of the agent that produced this item.8019 The canonical name of the agent that produced this item.

7878 8020 

8021 - `async: optional boolean`

8022 

8023 Whether the function tool call runs asynchronously.

8024 

7879 - `caller: optional object { type } or object { caller_id, type } or null`8025 - `caller: optional object { type } or object { caller_id, type } or null`

7880 8026 

7881 The execution context that produced this tool call.8027 The execution context that produced this tool call.


8371 8517 

8372 - `ToolSearchOutput object { tools, type, id, 4 more }`8518 - `ToolSearchOutput object { tools, type, id, 4 more }`

8373 8519 

8374 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`8520 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

8375 8521 

8376 The loaded tool definitions returned by the tool search output.8522 The loaded tool definitions returned by the tool search output.

8377 8523 

8378 - `Function object { name, parameters, strict, 5 more }`8524 - `Function object { name, parameters, strict, 6 more }`

8379 8525 

8380 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).8526 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

8381 8527 


8405 8551 

8406 - `"programmatic"`8552 - `"programmatic"`

8407 8553 

8554 - `async: optional boolean`

8555 

8408 - `defer_loading: optional boolean`8556 - `defer_loading: optional boolean`

8409 8557 

8410 Whether this function is deferred and loaded via tool search.8558 Whether this function is deferred and loaded via tool search.


9247 9395 

9248 - `"container_reference"`9396 - `"container_reference"`

9249 9397 

9250 - `Custom object { name, type, allowed_callers, 3 more }`9398 - `Custom object { name, type, allowed_callers, 4 more }`

9251 9399 

9252 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)9400 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

9253 9401 


9269 9417 

9270 - `"programmatic"`9418 - `"programmatic"`

9271 9419 

9420 - `async: optional boolean`

9421 

9422 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

9423 

9272 - `defer_loading: optional boolean`9424 - `defer_loading: optional boolean`

9273 9425 

9274 Whether this tool should be deferred and discovered via tool search.9426 Whether this tool should be deferred and discovered via tool search.


9325 9477 

9326 The namespace name used in tool calls (for example, `crm`).9478 The namespace name used in tool calls (for example, `crm`).

9327 9479 

9328 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`9480 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

9329 9481 

9330 The function/custom tools available inside this namespace.9482 The function/custom tools available inside this namespace.

9331 9483 

9332 - `Function object { name, type, allowed_callers, 5 more }`9484 - `Function object { name, type, allowed_callers, 6 more }`

9333 9485 

9334 - `name: string`9486 - `name: string`

9335 9487 


9345 9497 

9346 - `"programmatic"`9498 - `"programmatic"`

9347 9499 

9500 - `async: optional boolean`

9501 

9502 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

9503 

9348 - `defer_loading: optional boolean`9504 - `defer_loading: optional boolean`

9349 9505 

9350 Whether this function should be deferred and discovered via tool search.9506 Whether this function should be deferred and discovered via tool search.


9361 9517 

9362 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.9518 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

9363 9519 

9364 - `Custom object { name, type, allowed_callers, 3 more }`9520 - `Custom object { name, type, allowed_callers, 4 more }`

9365 9521 

9366 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)9522 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

9367 9523 


9383 9539 

9384 - `"programmatic"`9540 - `"programmatic"`

9385 9541 

9542 - `async: optional boolean`

9543 

9544 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

9545 

9386 - `defer_loading: optional boolean`9546 - `defer_loading: optional boolean`

9387 9547 

9388 Whether this tool should be deferred and discovered via tool search.9548 Whether this tool should be deferred and discovered via tool search.


9579 9739 

9580 - `"developer"`9740 - `"developer"`

9581 9741 

9582 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`9742 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

9583 9743 

9584 A list of additional tools made available at this item.9744 A list of additional tools made available at this item.

9585 9745 

9586 - `Function object { name, parameters, strict, 5 more }`9746 - `Function object { name, parameters, strict, 6 more }`

9587 9747 

9588 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).9748 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

9589 9749 


9613 9773 

9614 - `"programmatic"`9774 - `"programmatic"`

9615 9775 

9776 - `async: optional boolean`

9777 

9616 - `defer_loading: optional boolean`9778 - `defer_loading: optional boolean`

9617 9779 

9618 Whether this function is deferred and loaded via tool search.9780 Whether this function is deferred and loaded via tool search.


10305 10467 

10306 - `BetaContainerReference object { container_id, type }`10468 - `BetaContainerReference object { container_id, type }`

10307 10469 

10308 - `Custom object { name, type, allowed_callers, 3 more }`10470 - `Custom object { name, type, allowed_callers, 4 more }`

10309 10471 

10310 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)10472 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

10311 10473 


10327 10489 

10328 - `"programmatic"`10490 - `"programmatic"`

10329 10491 

10492 - `async: optional boolean`

10493 

10494 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

10495 

10330 - `defer_loading: optional boolean`10496 - `defer_loading: optional boolean`

10331 10497 

10332 Whether this tool should be deferred and discovered via tool search.10498 Whether this tool should be deferred and discovered via tool search.


10383 10549 

10384 The namespace name used in tool calls (for example, `crm`).10550 The namespace name used in tool calls (for example, `crm`).

10385 10551 

10386 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`10552 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

10387 10553 

10388 The function/custom tools available inside this namespace.10554 The function/custom tools available inside this namespace.

10389 10555 

10390 - `Function object { name, type, allowed_callers, 5 more }`10556 - `Function object { name, type, allowed_callers, 6 more }`

10391 10557 

10392 - `name: string`10558 - `name: string`

10393 10559 


10403 10569 

10404 - `"programmatic"`10570 - `"programmatic"`

10405 10571 

10572 - `async: optional boolean`

10573 

10574 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

10575 

10406 - `defer_loading: optional boolean`10576 - `defer_loading: optional boolean`

10407 10577 

10408 Whether this function should be deferred and discovered via tool search.10578 Whether this function should be deferred and discovered via tool search.


10419 10589 

10420 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.10590 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

10421 10591 

10422 - `Custom object { name, type, allowed_callers, 3 more }`10592 - `Custom object { name, type, allowed_callers, 4 more }`

10423 10593 

10424 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)10594 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

10425 10595 


10441 10611 

10442 - `"programmatic"`10612 - `"programmatic"`

10443 10613 

10614 - `async: optional boolean`

10615 

10616 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

10617 

10444 - `defer_loading: optional boolean`10618 - `defer_loading: optional boolean`

10445 10619 

10446 Whether this tool should be deferred and discovered via tool search.10620 Whether this tool should be deferred and discovered via tool search.


10607 10781 

10608 The canonical name of the agent that produced this item.10782 The canonical name of the agent that produced this item.

10609 10783 

10784 - `ConfigurationUpdate object { type, id, agent, reasoning }`

10785 

10786 An update to the conversation's response configuration. The configuration

10787 remains in effect for subsequent responses until it is replaced by another

10788 configuration update.

10789 

10790 - `type: "configuration_update"`

10791 

10792 The item type. Always `configuration_update`.

10793 

10794 - `"configuration_update"`

10795 

10796 - `id: optional string or null`

10797 

10798 The unique ID of the configuration update item.

10799 

10800 - `agent: optional object { agent_name } or null`

10801 

10802 The agent that produced this item.

10803 

10804 - `agent_name: string`

10805 

10806 The canonical name of the agent that produced this item.

10807 

10808 - `reasoning: optional object { effort }`

10809 

10810 Updates to reasoning configuration. Only effort is supported.

10811 

10812 - `effort: optional "none" or "minimal" or "low" or 4 more or null`

10813 

10814 The reasoning effort to use for subsequent responses until another

10815 configuration update replaces it.

10816 

10817 - `"none"`

10818 

10819 - `"minimal"`

10820 

10821 - `"low"`

10822 

10823 - `"medium"`

10824 

10825 - `"high"`

10826 

10827 - `"xhigh"`

10828 

10829 - `"max"`

10830 

10610 - `Reasoning object { id, summary, type, 4 more }`10831 - `Reasoning object { id, summary, type, 4 more }`

10611 10832 

10612 A description of the chain of thought used by a reasoning model while generating10833 A description of the chain of thought used by a reasoning model while generating


11570 11791 

11571 - `"program"`11792 - `"program"`

11572 11793 

11573 - `CustomToolCall object { call_id, input, name, 5 more }`11794 - `CustomToolCall object { call_id, input, name, 6 more }`

11574 11795 

11575 A call to a custom tool created by the model.11796 A call to a custom tool created by the model.

11576 11797 


11604 11825 

11605 The canonical name of the agent that produced this item.11826 The canonical name of the agent that produced this item.

11606 11827 

11828 - `async: optional boolean`

11829 

11830 Whether the custom tool call runs asynchronously.

11831 

11607 - `caller: optional object { type } or object { caller_id, type } or null`11832 - `caller: optional object { type } or object { caller_id, type } or null`

11608 11833 

11609 The execution context that produced this tool call.11834 The execution context that produced this tool call.


11749 Keys are strings with a maximum length of 64 characters. Values are strings11974 Keys are strings with a maximum length of 64 characters. Values are strings

11750 with a maximum length of 512 characters.11975 with a maximum length of 512 characters.

11751 11976 

11752 - `model: "gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more or string`11977 - `model: "gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more or string`

11753 11978 

11754 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI11979 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

11755 offers a wide range of models with different capabilities, performance11980 offers a wide range of models with different capabilities, performance

11756 characteristics, and price points. Refer to the [model guide](/docs/models)11981 characteristics, and price points. Refer to the [model guide](/docs/models)

11757 to browse and compare available models.11982 to browse and compare available models.

11758 11983 

11759 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more`11984 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more`

11760 11985 

11761 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI11986 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

11762 offers a wide range of models with different capabilities, performance11987 offers a wide range of models with different capabilities, performance

11763 characteristics, and price points. Refer to the [model guide](/docs/models)11988 characteristics, and price points. Refer to the [model guide](/docs/models)

11764 to browse and compare available models.11989 to browse and compare available models.

11765 11990 

11991 - `"gpt-6-astra"`

11992 

11766 - `"gpt-5.6-sol"`11993 - `"gpt-5.6-sol"`

11767 11994 

11768 - `"gpt-5.6-terra"`11995 - `"gpt-5.6-terra"`


12066 12293 

12067 The text that was retrieved from the file.12294 The text that was retrieved from the file.

12068 12295 

12069 - `FunctionCall object { arguments, call_id, name, 6 more }`12296 - `FunctionCall object { arguments, call_id, name, 7 more }`

12070 12297 

12071 A tool call to run a function. See the12298 A tool call to run a function. See the

12072 [function calling guide](/docs/guides/function-calling) for more information.12299 [function calling guide](/docs/guides/function-calling) for more information.


12101 12328 

12102 The canonical name of the agent that produced this item.12329 The canonical name of the agent that produced this item.

12103 12330 

12331 - `async: optional boolean`

12332 

12333 Whether the function tool call runs asynchronously.

12334 

12104 - `caller: optional object { type } or object { caller_id, type } or null`12335 - `caller: optional object { type } or object { caller_id, type } or null`

12105 12336 

12106 The execution context that produced this tool call.12337 The execution context that produced this tool call.


12921 13152 

12922 - `"incomplete"`13153 - `"incomplete"`

12923 13154 

12924 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`13155 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

12925 13156 

12926 The loaded tool definitions returned by tool search.13157 The loaded tool definitions returned by tool search.

12927 13158 

12928 - `Function object { name, parameters, strict, 5 more }`13159 - `Function object { name, parameters, strict, 6 more }`

12929 13160 

12930 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).13161 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

12931 13162 


12955 13186 

12956 - `"programmatic"`13187 - `"programmatic"`

12957 13188 

13189 - `async: optional boolean`

13190 

12958 - `defer_loading: optional boolean`13191 - `defer_loading: optional boolean`

12959 13192 

12960 Whether this function is deferred and loaded via tool search.13193 Whether this function is deferred and loaded via tool search.


13647 13880 

13648 - `BetaContainerReference object { container_id, type }`13881 - `BetaContainerReference object { container_id, type }`

13649 13882 

13650 - `Custom object { name, type, allowed_callers, 3 more }`13883 - `Custom object { name, type, allowed_callers, 4 more }`

13651 13884 

13652 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)13885 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

13653 13886 


13669 13902 

13670 - `"programmatic"`13903 - `"programmatic"`

13671 13904 

13905 - `async: optional boolean`

13906 

13907 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

13908 

13672 - `defer_loading: optional boolean`13909 - `defer_loading: optional boolean`

13673 13910 

13674 Whether this tool should be deferred and discovered via tool search.13911 Whether this tool should be deferred and discovered via tool search.


13725 13962 

13726 The namespace name used in tool calls (for example, `crm`).13963 The namespace name used in tool calls (for example, `crm`).

13727 13964 

13728 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`13965 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

13729 13966 

13730 The function/custom tools available inside this namespace.13967 The function/custom tools available inside this namespace.

13731 13968 

13732 - `Function object { name, type, allowed_callers, 5 more }`13969 - `Function object { name, type, allowed_callers, 6 more }`

13733 13970 

13734 - `name: string`13971 - `name: string`

13735 13972 


13745 13982 

13746 - `"programmatic"`13983 - `"programmatic"`

13747 13984 

13985 - `async: optional boolean`

13986 

13987 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

13988 

13748 - `defer_loading: optional boolean`13989 - `defer_loading: optional boolean`

13749 13990 

13750 Whether this function should be deferred and discovered via tool search.13991 Whether this function should be deferred and discovered via tool search.


13761 14002 

13762 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.14003 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

13763 14004 

13764 - `Custom object { name, type, allowed_callers, 3 more }`14005 - `Custom object { name, type, allowed_callers, 4 more }`

13765 14006 

13766 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)14007 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

13767 14008 


13783 14024 

13784 - `"programmatic"`14025 - `"programmatic"`

13785 14026 

14027 - `async: optional boolean`

14028 

14029 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

14030 

13786 - `defer_loading: optional boolean`14031 - `defer_loading: optional boolean`

13787 14032 

13788 Whether this tool should be deferred and discovered via tool search.14033 Whether this tool should be deferred and discovered via tool search.


13975 14220 

13976 - `"tool"`14221 - `"tool"`

13977 14222 

13978 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`14223 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

13979 14224 

13980 The additional tool definitions made available at this item.14225 The additional tool definitions made available at this item.

13981 14226 

13982 - `Function object { name, parameters, strict, 5 more }`14227 - `Function object { name, parameters, strict, 6 more }`

13983 14228 

13984 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).14229 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

13985 14230 


14009 14254 

14010 - `"programmatic"`14255 - `"programmatic"`

14011 14256 

14257 - `async: optional boolean`

14258 

14012 - `defer_loading: optional boolean`14259 - `defer_loading: optional boolean`

14013 14260 

14014 Whether this function is deferred and loaded via tool search.14261 Whether this function is deferred and loaded via tool search.


14701 14948 

14702 - `BetaContainerReference object { container_id, type }`14949 - `BetaContainerReference object { container_id, type }`

14703 14950 

14704 - `Custom object { name, type, allowed_callers, 3 more }`14951 - `Custom object { name, type, allowed_callers, 4 more }`

14705 14952 

14706 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)14953 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

14707 14954 


14723 14970 

14724 - `"programmatic"`14971 - `"programmatic"`

14725 14972 

14973 - `async: optional boolean`

14974 

14975 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

14976 

14726 - `defer_loading: optional boolean`14977 - `defer_loading: optional boolean`

14727 14978 

14728 Whether this tool should be deferred and discovered via tool search.14979 Whether this tool should be deferred and discovered via tool search.


14779 15030 

14780 The namespace name used in tool calls (for example, `crm`).15031 The namespace name used in tool calls (for example, `crm`).

14781 15032 

14782 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`15033 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

14783 15034 

14784 The function/custom tools available inside this namespace.15035 The function/custom tools available inside this namespace.

14785 15036 

14786 - `Function object { name, type, allowed_callers, 5 more }`15037 - `Function object { name, type, allowed_callers, 6 more }`

14787 15038 

14788 - `name: string`15039 - `name: string`

14789 15040 


14799 15050 

14800 - `"programmatic"`15051 - `"programmatic"`

14801 15052 

15053 - `async: optional boolean`

15054 

15055 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

15056 

14802 - `defer_loading: optional boolean`15057 - `defer_loading: optional boolean`

14803 15058 

14804 Whether this function should be deferred and discovered via tool search.15059 Whether this function should be deferred and discovered via tool search.


14815 15070 

14816 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.15071 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

14817 15072 

14818 - `Custom object { name, type, allowed_callers, 3 more }`15073 - `Custom object { name, type, allowed_callers, 4 more }`

14819 15074 

14820 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)15075 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

14821 15076 


14837 15092 

14838 - `"programmatic"`15093 - `"programmatic"`

14839 15094 

15095 - `async: optional boolean`

15096 

15097 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

15098 

14840 - `defer_loading: optional boolean`15099 - `defer_loading: optional boolean`

14841 15100 

14842 Whether this tool should be deferred and discovered via tool search.15101 Whether this tool should be deferred and discovered via tool search.


15807 16066 

15808 Optional reason for the decision.16067 Optional reason for the decision.

15809 16068 

15810 - `CustomToolCall object { call_id, input, name, 5 more }`16069 - `CustomToolCall object { call_id, input, name, 6 more }`

15811 16070 

15812 A call to a custom tool created by the model.16071 A call to a custom tool created by the model.

15813 16072 


15841 16100 

15842 The canonical name of the agent that produced this item.16101 The canonical name of the agent that produced this item.

15843 16102 

16103 - `async: optional boolean`

16104 

16105 Whether the custom tool call runs asynchronously.

16106 

15844 - `caller: optional object { type } or object { caller_id, type } or null`16107 - `caller: optional object { type } or object { caller_id, type } or null`

15845 16108 

15846 The execution context that produced this tool call.16109 The execution context that produced this tool call.


16132 16395 

16133 - `"shell"`16396 - `"shell"`

16134 16397 

16135 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`16398 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

16136 16399 

16137 An array of tools the model may call while generating a response. You16400 An array of tools the model may call while generating a response. You

16138 can specify which tool to use by setting the `tool_choice` parameter.16401 can specify which tool to use by setting the `tool_choice` parameter.


16152 [function calling](/docs/guides/function-calling). You can also use16415 [function calling](/docs/guides/function-calling). You can also use

16153 custom tools to call your own code.16416 custom tools to call your own code.

16154 16417 

16155 - `Function object { name, parameters, strict, 5 more }`16418 - `Function object { name, parameters, strict, 6 more }`

16156 16419 

16157 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).16420 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

16158 16421 


16182 16445 

16183 - `"programmatic"`16446 - `"programmatic"`

16184 16447 

16448 - `async: optional boolean`

16449 

16185 - `defer_loading: optional boolean`16450 - `defer_loading: optional boolean`

16186 16451 

16187 Whether this function is deferred and loaded via tool search.16452 Whether this function is deferred and loaded via tool search.


16874 17139 

16875 - `BetaContainerReference object { container_id, type }`17140 - `BetaContainerReference object { container_id, type }`

16876 17141 

16877 - `Custom object { name, type, allowed_callers, 3 more }`17142 - `Custom object { name, type, allowed_callers, 4 more }`

16878 17143 

16879 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)17144 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

16880 17145 


16896 17161 

16897 - `"programmatic"`17162 - `"programmatic"`

16898 17163 

17164 - `async: optional boolean`

17165 

17166 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

17167 

16899 - `defer_loading: optional boolean`17168 - `defer_loading: optional boolean`

16900 17169 

16901 Whether this tool should be deferred and discovered via tool search.17170 Whether this tool should be deferred and discovered via tool search.


16952 17221 

16953 The namespace name used in tool calls (for example, `crm`).17222 The namespace name used in tool calls (for example, `crm`).

16954 17223 

16955 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`17224 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

16956 17225 

16957 The function/custom tools available inside this namespace.17226 The function/custom tools available inside this namespace.

16958 17227 

16959 - `Function object { name, type, allowed_callers, 5 more }`17228 - `Function object { name, type, allowed_callers, 6 more }`

16960 17229 

16961 - `name: string`17230 - `name: string`

16962 17231 


16972 17241 

16973 - `"programmatic"`17242 - `"programmatic"`

16974 17243 

17244 - `async: optional boolean`

17245 

17246 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

17247 

16975 - `defer_loading: optional boolean`17248 - `defer_loading: optional boolean`

16976 17249 

16977 Whether this function should be deferred and discovered via tool search.17250 Whether this function should be deferred and discovered via tool search.


16988 17261 

16989 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.17262 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

16990 17263 

16991 - `Custom object { name, type, allowed_callers, 3 more }`17264 - `Custom object { name, type, allowed_callers, 4 more }`

16992 17265 

16993 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)17266 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

16994 17267 


17010 17283 

17011 - `"programmatic"`17284 - `"programmatic"`

17012 17285 

17286 - `async: optional boolean`

17287 

17288 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

17289 

17013 - `defer_loading: optional boolean`17290 - `defer_loading: optional boolean`

17014 17291 

17015 Whether this tool should be deferred and discovered via tool search.17292 Whether this tool should be deferred and discovered via tool search.


17354 17631 

17355 Optional version of the prompt template.17632 Optional version of the prompt template.

17356 17633 

17634 - `prompt_cache_diagnostics: optional object { cache_missed_tokens, reason, type, comparison_reusable_tokens } or object { type } or object { type } or object { type }`

17635 

17636 Prompt cache diagnostics requested for this response.

17637 

17638 - `CacheMiss object { cache_missed_tokens, reason, type, comparison_reusable_tokens }`

17639 

17640 - `cache_missed_tokens: number`

17641 

17642 The estimated number of input tokens affected after the first detected divergence.

17643 

17644 - `reason: "model_changed" or "prompt_cache_key_changed" or "tools_changed" or 6 more`

17645 

17646 The reason prompt cache reuse did not occur.

17647 

17648 - `"model_changed"`

17649 

17650 - `"prompt_cache_key_changed"`

17651 

17652 - `"tools_changed"`

17653 

17654 - `"text_format_changed"`

17655 

17656 - `"reasoning_effort_changed"`

17657 

17658 - `"verbosity_changed"`

17659 

17660 - `"context_compacted"`

17661 

17662 - `"input_changed"`

17663 

17664 - `"service_tier_changed"`

17665 

17666 - `type: "cache_miss"`

17667 

17668 - `"cache_miss"`

17669 

17670 - `comparison_reusable_tokens: optional number`

17671 

17672 The raw token count of the reusable prefix in the compared response.

17673 

17674 - `CacheHit object { type }`

17675 

17676 - `type: "cache_hit"`

17677 

17678 - `"cache_hit"`

17679 

17680 - `ComparisonResponseNotFound object { type }`

17681 

17682 - `type: "comparison_response_not_found"`

17683 

17684 - `"comparison_response_not_found"`

17685 

17686 - `Unavailable object { type }`

17687 

17688 - `type: "unavailable"`

17689 

17690 - `"unavailable"`

17691 

17357 - `prompt_cache_key: optional string or null`17692 - `prompt_cache_key: optional string or null`

17358 17693 

17359 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).17694 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).

17360 17695 

17361 - `prompt_cache_options: optional object { mode, ttl }`17696 - `prompt_cache_options: optional object { mode, ttl, comparison_response_id }`

17362 17697 

17363 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.17698 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.

17364 17699 


17376 17711 

17377 - `"30m"`17712 - `"30m"`

17378 17713 

17714 - `comparison_response_id: optional string or null`

17715 

17716 The response ID supplied as the prompt cache diagnostics comparison.

17717 

17379 - `prompt_cache_retention: optional "in_memory" or "24h" or null`17718 - `prompt_cache_retention: optional "in_memory" or "24h" or null`

17380 17719 

17381 Deprecated. Use `prompt_cache_options.ttl` instead.17720 Deprecated. Use `prompt_cache_options.ttl` instead.


17701 -H 'Content-Type: application/json' \18040 -H 'Content-Type: application/json' \

17702 -H "Authorization: Bearer $OPENAI_API_KEY" \18041 -H "Authorization: Bearer $OPENAI_API_KEY" \

17703 -d '{18042 -d '{

17704 "model": "gpt-5.6-sol",18043 "model": "gpt-6-astra",

17705 "prompt_cache_key": "prompt-cache-key-1234",18044 "prompt_cache_key": "prompt-cache-key-1234",

17706 "safety_identifier": "safety-identifier-1234",18045 "safety_identifier": "safety-identifier-1234",

17707 "temperature": 1,18046 "temperature": 1,


17718 "created_at": 0,18057 "created_at": 0,

17719 "error": {18058 "error": {

17720 "code": "server_error",18059 "code": "server_error",

18060 "message": "message",

18061 "misalignment": {

18062 "detailed_explanation": "detailed_explanation",

18063 "error_type": "potentially_unintended_data_transfer",

18064 "steer": {

17721 "message": "message"18065 "message": "message"

18066 }

18067 }

17722 },18068 },

17723 "incomplete_details": {18069 "incomplete_details": {

17724 "reason": "max_output_tokens"18070 "reason": "max_output_tokens"


17727 "metadata": {18073 "metadata": {

17728 "foo": "string"18074 "foo": "string"

17729 },18075 },

17730 "model": "gpt-5.6-sol",18076 "model": "gpt-6-astra",

17731 "object": "response",18077 "object": "response",

17732 "output": [18078 "output": [

17733 {18079 {


17787 "allowed_callers": [18133 "allowed_callers": [

17788 "direct"18134 "direct"

17789 ],18135 ],

18136 "async": true,

17790 "defer_loading": true,18137 "defer_loading": true,

17791 "description": "description",18138 "description": "description",

17792 "output_schema": {18139 "output_schema": {


17845 },18192 },

17846 "version": "version"18193 "version": "version"

17847 },18194 },

18195 "prompt_cache_diagnostics": {

18196 "cache_missed_tokens": 0,

18197 "reason": "model_changed",

18198 "type": "cache_miss",

18199 "comparison_reusable_tokens": 0

18200 },

17848 "prompt_cache_key": "prompt-cache-key-1234",18201 "prompt_cache_key": "prompt-cache-key-1234",

17849 "prompt_cache_options": {18202 "prompt_cache_options": {

17850 "mode": "implicit",18203 "mode": "implicit",

17851 "ttl": "30m"18204 "ttl": "30m",

18205 "comparison_response_id": "comparison_response_id"

17852 },18206 },

17853 "prompt_cache_retention": "in_memory",18207 "prompt_cache_retention": "in_memory",

17854 "reasoning": {18208 "reasoning": {


17892 -H "Content-Type: application/json" \18246 -H "Content-Type: application/json" \

17893 -H "Authorization: Bearer $OPENAI_API_KEY" \18247 -H "Authorization: Bearer $OPENAI_API_KEY" \

17894 -d '{18248 -d '{

17895 "model": "gpt-5.6-sol",18249 "model": "gpt-6-astra",

17896 "input": [18250 "input": [

17897 {18251 {

17898 "role": "user",18252 "role": "user",


17924 "instructions": null,18278 "instructions": null,

17925 "max_output_tokens": null,18279 "max_output_tokens": null,

17926 "max_tool_calls": null,18280 "max_tool_calls": null,

17927 "model": "gpt-5.6-sol",18281 "model": "gpt-6-astra",

17928 "output": [18282 "output": [

17929 {18283 {

17930 "id": "msg_686eef60d3e081a29283bdcbc4322fd90e34c516d176ff86",18284 "id": "msg_686eef60d3e081a29283bdcbc4322fd90e34c516d176ff86",


17984 -H "Content-Type: application/json" \18338 -H "Content-Type: application/json" \

17985 -H "Authorization: Bearer $OPENAI_API_KEY" \18339 -H "Authorization: Bearer $OPENAI_API_KEY" \

17986 -d '{18340 -d '{

17987 "model": "gpt-5.6-sol",18341 "model": "gpt-6-astra",

17988 "tools": [{18342 "tools": [{

17989 "type": "file_search",18343 "type": "file_search",

17990 "vector_store_ids": ["vs_1234567890"],18344 "vector_store_ids": ["vs_1234567890"],


18007 "incomplete_details": null,18361 "incomplete_details": null,

18008 "instructions": null,18362 "instructions": null,

18009 "max_output_tokens": null,18363 "max_output_tokens": null,

18010 "model": "gpt-5.6-sol",18364 "model": "gpt-6-astra",

18011 "output": [18365 "output": [

18012 {18366 {

18013 "type": "file_search_call",18367 "type": "file_search_call",


18135 -H "Content-Type: application/json" \18489 -H "Content-Type: application/json" \

18136 -H "Authorization: Bearer $OPENAI_API_KEY" \18490 -H "Authorization: Bearer $OPENAI_API_KEY" \

18137 -d '{18491 -d '{

18138 "model": "gpt-5.6-sol",18492 "model": "gpt-6-astra",

18139 "input": "What is the weather like in Boston today?",18493 "input": "What is the weather like in Boston today?",

18140 "tools": [18494 "tools": [

18141 {18495 {


18175 "incomplete_details": null,18529 "incomplete_details": null,

18176 "instructions": null,18530 "instructions": null,

18177 "max_output_tokens": null,18531 "max_output_tokens": null,

18178 "model": "gpt-5.6-sol",18532 "model": "gpt-6-astra",

18179 "output": [18533 "output": [

18180 {18534 {

18181 "type": "function_call",18535 "type": "function_call",


18250 -H "Content-Type: application/json" \18604 -H "Content-Type: application/json" \

18251 -H "Authorization: Bearer $OPENAI_API_KEY" \18605 -H "Authorization: Bearer $OPENAI_API_KEY" \

18252 -d '{18606 -d '{

18253 "model": "gpt-5.6-sol",18607 "model": "gpt-6-astra",

18254 "input": [18608 "input": [

18255 {18609 {

18256 "role": "user",18610 "role": "user",


18279 "incomplete_details": null,18633 "incomplete_details": null,

18280 "instructions": null,18634 "instructions": null,

18281 "max_output_tokens": null,18635 "max_output_tokens": null,

18282 "model": "gpt-5.6-sol",18636 "model": "gpt-6-astra",

18283 "output": [18637 "output": [

18284 {18638 {

18285 "type": "message",18639 "type": "message",


18336 -H "Content-Type: application/json" \18690 -H "Content-Type: application/json" \

18337 -H "Authorization: Bearer $OPENAI_API_KEY" \18691 -H "Authorization: Bearer $OPENAI_API_KEY" \

18338 -d '{18692 -d '{

18339 "model": "gpt-5.6-sol",18693 "model": "gpt-6-astra",

18340 "input": "How much wood would a woodchuck chuck?",18694 "input": "How much wood would a woodchuck chuck?",

18341 "reasoning": {18695 "reasoning": {

18342 "effort": "high"18696 "effort": "high"


18357 "incomplete_details": null,18711 "incomplete_details": null,

18358 "instructions": null,18712 "instructions": null,

18359 "max_output_tokens": null,18713 "max_output_tokens": null,

18360 "model": "gpt-5.6-sol",18714 "model": "gpt-6-astra",

18361 "output": [18715 "output": [

18362 {18716 {

18363 "type": "message",18717 "type": "message",


18414 -H "Content-Type: application/json" \18768 -H "Content-Type: application/json" \

18415 -H "Authorization: Bearer $OPENAI_API_KEY" \18769 -H "Authorization: Bearer $OPENAI_API_KEY" \

18416 -d '{18770 -d '{

18417 "model": "gpt-5.6-sol",18771 "model": "gpt-6-astra",

18418 "instructions": "You are a helpful assistant.",18772 "instructions": "You are a helpful assistant.",

18419 "input": "Hello!",18773 "input": "Hello!",

18420 "stream": true18774 "stream": true


18425 18779 

18426```json18780```json

18427event: response.created18781event: response.created

18428data: {"type":"response.created","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-5.6-sol","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}18782data: {"type":"response.created","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}

18429 18783 

18430event: response.in_progress18784event: response.in_progress

18431data: {"type":"response.in_progress","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-5.6-sol","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}18785data: {"type":"response.in_progress","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}

18432 18786 

18433event: response.output_item.added18787event: response.output_item.added

18434data: {"type":"response.output_item.added","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"in_progress","role":"assistant","content":[]}}18788data: {"type":"response.output_item.added","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"in_progress","role":"assistant","content":[]}}


18451data: {"type":"response.output_item.done","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}]}}18805data: {"type":"response.output_item.done","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}]}}

18452 18806 

18453event: response.completed18807event: response.completed

18454data: {"type":"response.completed","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"completed","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-5.6-sol","output":[{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":37,"output_tokens":11,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":48},"user":null,"metadata":{}}}18808data: {"type":"response.completed","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"completed","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":37,"output_tokens":11,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":48},"user":null,"metadata":{}}}

18455```18809```

18456 18810 

18457### Text input18811### Text input


18461 -H "Content-Type: application/json" \18815 -H "Content-Type: application/json" \

18462 -H "Authorization: Bearer $OPENAI_API_KEY" \18816 -H "Authorization: Bearer $OPENAI_API_KEY" \

18463 -d '{18817 -d '{

18464 "model": "gpt-5.6-sol",18818 "model": "gpt-6-astra",

18465 "input": "Tell me a three sentence bedtime story about a unicorn."18819 "input": "Tell me a three sentence bedtime story about a unicorn."

18466 }'18820 }'

18467```18821```


18479 "incomplete_details": null,18833 "incomplete_details": null,

18480 "instructions": null,18834 "instructions": null,

18481 "max_output_tokens": null,18835 "max_output_tokens": null,

18482 "model": "gpt-5.6-sol",18836 "model": "gpt-6-astra",

18483 "output": [18837 "output": [

18484 {18838 {

18485 "type": "message",18839 "type": "message",


18536 -H "Content-Type: application/json" \18890 -H "Content-Type: application/json" \

18537 -H "Authorization: Bearer $OPENAI_API_KEY" \18891 -H "Authorization: Bearer $OPENAI_API_KEY" \

18538 -d '{18892 -d '{

18539 "model": "gpt-5.6-sol",18893 "model": "gpt-6-astra",

18540 "tools": [{ "type": "web_search_preview" }],18894 "tools": [{ "type": "web_search_preview" }],

18541 "input": "What was a positive news story from today?"18895 "input": "What was a positive news story from today?"

18542 }'18896 }'


18555 "incomplete_details": null,18909 "incomplete_details": null,

18556 "instructions": null,18910 "instructions": null,

18557 "max_output_tokens": null,18911 "max_output_tokens": null,

18558 "model": "gpt-5.6-sol",18912 "model": "gpt-6-astra",

18559 "output": [18913 "output": [

18560 {18914 {

18561 "type": "web_search_call",18915 "type": "web_search_call",

Details

62 62 

63### Returns63### Returns

64 64 

65- `BetaResponse object { id, created_at, error, 32 more }`65- `BetaResponse object { id, created_at, error, 33 more }`

66 66 

67 - `id: string`67 - `id: string`

68 68 


76 76 

77 An error object returned when the model fails to generate a Response.77 An error object returned when the model fails to generate a Response.

78 78 

79 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 17 more`79 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 18 more`

80 80 

81 The error code for the response.81 The error code for the response.

82 82 


90 90 

91 - `"bio_policy"`91 - `"bio_policy"`

92 92 

93 - `"misalignment_policy_violation"`

94 

93 - `"vector_store_timeout"`95 - `"vector_store_timeout"`

94 96 

95 - `"invalid_image"`97 - `"invalid_image"`


124 126 

125 A human-readable description of the error.127 A human-readable description of the error.

126 128 

129 - `misalignment: optional object { detailed_explanation, error_type, steer }`

130 

131 - `detailed_explanation: optional string`

132 

133 The public explanation for this block.

134 

135 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

136 

137 An optional classification; clients must accept additional values.

138 

139 - `string`

140 

141 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

142 

143 An optional classification; clients must accept additional values.

144 

145 - `"potentially_unintended_data_transfer"`

146 

147 - `"potentially_unintended_data_access"`

148 

149 - `"potentially_unintended_destructive_activity"`

150 

151 - `"other"`

152 

153 - `steer: optional object { message }`

154 

155 An optional public continuation instruction.

156 

157 - `message: string`

158 

159 The public continuation instruction.

160 

127 - `incomplete_details: object { reason } or null`161 - `incomplete_details: object { reason } or null`

128 162 

129 Details about why the response is incomplete.163 Details about why the response is incomplete.

130 164 

131 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter"`165 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter" or "steered"`

132 166 

133 The reason why the response is incomplete.167 The reason why the response is incomplete. `steered` means

168 the response stopped at a safe output boundary after a

169 WebSocket `response.steer` event. The server can then create

170 a successor response automatically with the queued input.

134 171 

135 - `"max_output_tokens"`172 - `"max_output_tokens"`

136 173 


138 175 

139 - `"content_filter"`176 - `"content_filter"`

140 177 

141 - `instructions: string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more or null`178 - `"steered"`

179 

180 - `instructions: string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more or null`

142 181 

143 A system (or developer) message inserted into the model's context.182 A system (or developer) message inserted into the model's context.

144 183 


151 A text input to the model, equivalent to a text input with the190 A text input to the model, equivalent to a text input with the

152 `developer` role.191 `developer` role.

153 192 

154 - `InputItemList = array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more`193 - `InputItemList = array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more`

155 194 

156 A list of one or many input items to the model, containing195 A list of one or many input items to the model, containing

157 different content types.196 different content types.


1101 1140 

1102 The canonical name of the agent that produced this item.1141 The canonical name of the agent that produced this item.

1103 1142 

1104 - `FunctionCall object { arguments, call_id, name, 6 more }`1143 - `FunctionCall object { arguments, call_id, name, 7 more }`

1105 1144 

1106 A tool call to run a function. See the1145 A tool call to run a function. See the

1107 [function calling guide](/docs/guides/function-calling) for more information.1146 [function calling guide](/docs/guides/function-calling) for more information.


1136 1175 

1137 The canonical name of the agent that produced this item.1176 The canonical name of the agent that produced this item.

1138 1177 

1178 - `async: optional boolean`

1179 

1180 Whether the function tool call runs asynchronously.

1181 

1139 - `caller: optional object { type } or object { caller_id, type } or null`1182 - `caller: optional object { type } or object { caller_id, type } or null`

1140 1183 

1141 The execution context that produced this tool call.1184 The execution context that produced this tool call.


1631 1674 

1632 - `ToolSearchOutput object { tools, type, id, 4 more }`1675 - `ToolSearchOutput object { tools, type, id, 4 more }`

1633 1676 

1634 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1677 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1635 1678 

1636 The loaded tool definitions returned by the tool search output.1679 The loaded tool definitions returned by the tool search output.

1637 1680 

1638 - `Function object { name, parameters, strict, 5 more }`1681 - `Function object { name, parameters, strict, 6 more }`

1639 1682 

1640 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1683 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1641 1684 


1665 1708 

1666 - `"programmatic"`1709 - `"programmatic"`

1667 1710 

1711 - `async: optional boolean`

1712 

1668 - `defer_loading: optional boolean`1713 - `defer_loading: optional boolean`

1669 1714 

1670 Whether this function is deferred and loaded via tool search.1715 Whether this function is deferred and loaded via tool search.


2507 2552 

2508 - `"container_reference"`2553 - `"container_reference"`

2509 2554 

2510 - `Custom object { name, type, allowed_callers, 3 more }`2555 - `Custom object { name, type, allowed_callers, 4 more }`

2511 2556 

2512 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2557 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2513 2558 


2529 2574 

2530 - `"programmatic"`2575 - `"programmatic"`

2531 2576 

2577 - `async: optional boolean`

2578 

2579 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2580 

2532 - `defer_loading: optional boolean`2581 - `defer_loading: optional boolean`

2533 2582 

2534 Whether this tool should be deferred and discovered via tool search.2583 Whether this tool should be deferred and discovered via tool search.


2585 2634 

2586 The namespace name used in tool calls (for example, `crm`).2635 The namespace name used in tool calls (for example, `crm`).

2587 2636 

2588 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2637 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2589 2638 

2590 The function/custom tools available inside this namespace.2639 The function/custom tools available inside this namespace.

2591 2640 

2592 - `Function object { name, type, allowed_callers, 5 more }`2641 - `Function object { name, type, allowed_callers, 6 more }`

2593 2642 

2594 - `name: string`2643 - `name: string`

2595 2644 


2605 2654 

2606 - `"programmatic"`2655 - `"programmatic"`

2607 2656 

2657 - `async: optional boolean`

2658 

2659 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2660 

2608 - `defer_loading: optional boolean`2661 - `defer_loading: optional boolean`

2609 2662 

2610 Whether this function should be deferred and discovered via tool search.2663 Whether this function should be deferred and discovered via tool search.


2621 2674 

2622 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2675 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2623 2676 

2624 - `Custom object { name, type, allowed_callers, 3 more }`2677 - `Custom object { name, type, allowed_callers, 4 more }`

2625 2678 

2626 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2679 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2627 2680 


2643 2696 

2644 - `"programmatic"`2697 - `"programmatic"`

2645 2698 

2699 - `async: optional boolean`

2700 

2701 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2702 

2646 - `defer_loading: optional boolean`2703 - `defer_loading: optional boolean`

2647 2704 

2648 Whether this tool should be deferred and discovered via tool search.2705 Whether this tool should be deferred and discovered via tool search.


2839 2896 

2840 - `"developer"`2897 - `"developer"`

2841 2898 

2842 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2899 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2843 2900 

2844 A list of additional tools made available at this item.2901 A list of additional tools made available at this item.

2845 2902 

2846 - `Function object { name, parameters, strict, 5 more }`2903 - `Function object { name, parameters, strict, 6 more }`

2847 2904 

2848 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2905 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2849 2906 


2873 2930 

2874 - `"programmatic"`2931 - `"programmatic"`

2875 2932 

2933 - `async: optional boolean`

2934 

2876 - `defer_loading: optional boolean`2935 - `defer_loading: optional boolean`

2877 2936 

2878 Whether this function is deferred and loaded via tool search.2937 Whether this function is deferred and loaded via tool search.


3565 3624 

3566 - `BetaContainerReference object { container_id, type }`3625 - `BetaContainerReference object { container_id, type }`

3567 3626 

3568 - `Custom object { name, type, allowed_callers, 3 more }`3627 - `Custom object { name, type, allowed_callers, 4 more }`

3569 3628 

3570 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3629 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3571 3630 


3587 3646 

3588 - `"programmatic"`3647 - `"programmatic"`

3589 3648 

3649 - `async: optional boolean`

3650 

3651 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3652 

3590 - `defer_loading: optional boolean`3653 - `defer_loading: optional boolean`

3591 3654 

3592 Whether this tool should be deferred and discovered via tool search.3655 Whether this tool should be deferred and discovered via tool search.


3643 3706 

3644 The namespace name used in tool calls (for example, `crm`).3707 The namespace name used in tool calls (for example, `crm`).

3645 3708 

3646 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3709 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3647 3710 

3648 The function/custom tools available inside this namespace.3711 The function/custom tools available inside this namespace.

3649 3712 

3650 - `Function object { name, type, allowed_callers, 5 more }`3713 - `Function object { name, type, allowed_callers, 6 more }`

3651 3714 

3652 - `name: string`3715 - `name: string`

3653 3716 


3663 3726 

3664 - `"programmatic"`3727 - `"programmatic"`

3665 3728 

3729 - `async: optional boolean`

3730 

3731 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3732 

3666 - `defer_loading: optional boolean`3733 - `defer_loading: optional boolean`

3667 3734 

3668 Whether this function should be deferred and discovered via tool search.3735 Whether this function should be deferred and discovered via tool search.


3679 3746 

3680 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3747 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3681 3748 

3682 - `Custom object { name, type, allowed_callers, 3 more }`3749 - `Custom object { name, type, allowed_callers, 4 more }`

3683 3750 

3684 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3751 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3685 3752 


3701 3768 

3702 - `"programmatic"`3769 - `"programmatic"`

3703 3770 

3771 - `async: optional boolean`

3772 

3773 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3774 

3704 - `defer_loading: optional boolean`3775 - `defer_loading: optional boolean`

3705 3776 

3706 Whether this tool should be deferred and discovered via tool search.3777 Whether this tool should be deferred and discovered via tool search.


3867 3938 

3868 The canonical name of the agent that produced this item.3939 The canonical name of the agent that produced this item.

3869 3940 

3941 - `ConfigurationUpdate object { type, id, agent, reasoning }`

3942 

3943 An update to the conversation's response configuration. The configuration

3944 remains in effect for subsequent responses until it is replaced by another

3945 configuration update.

3946 

3947 - `type: "configuration_update"`

3948 

3949 The item type. Always `configuration_update`.

3950 

3951 - `"configuration_update"`

3952 

3953 - `id: optional string or null`

3954 

3955 The unique ID of the configuration update item.

3956 

3957 - `agent: optional object { agent_name } or null`

3958 

3959 The agent that produced this item.

3960 

3961 - `agent_name: string`

3962 

3963 The canonical name of the agent that produced this item.

3964 

3965 - `reasoning: optional object { effort }`

3966 

3967 Updates to reasoning configuration. Only effort is supported.

3968 

3969 - `effort: optional "none" or "minimal" or "low" or 4 more or null`

3970 

3971 The reasoning effort to use for subsequent responses until another

3972 configuration update replaces it.

3973 

3974 - `"none"`

3975 

3976 - `"minimal"`

3977 

3978 - `"low"`

3979 

3980 - `"medium"`

3981 

3982 - `"high"`

3983 

3984 - `"xhigh"`

3985 

3986 - `"max"`

3987 

3870 - `Reasoning object { id, summary, type, 4 more }`3988 - `Reasoning object { id, summary, type, 4 more }`

3871 3989 

3872 A description of the chain of thought used by a reasoning model while generating3990 A description of the chain of thought used by a reasoning model while generating


4830 4948 

4831 - `"program"`4949 - `"program"`

4832 4950 

4833 - `CustomToolCall object { call_id, input, name, 5 more }`4951 - `CustomToolCall object { call_id, input, name, 6 more }`

4834 4952 

4835 A call to a custom tool created by the model.4953 A call to a custom tool created by the model.

4836 4954 


4864 4982 

4865 The canonical name of the agent that produced this item.4983 The canonical name of the agent that produced this item.

4866 4984 

4985 - `async: optional boolean`

4986 

4987 Whether the custom tool call runs asynchronously.

4988 

4867 - `caller: optional object { type } or object { caller_id, type } or null`4989 - `caller: optional object { type } or object { caller_id, type } or null`

4868 4990 

4869 The execution context that produced this tool call.4991 The execution context that produced this tool call.


5009 Keys are strings with a maximum length of 64 characters. Values are strings5131 Keys are strings with a maximum length of 64 characters. Values are strings

5010 with a maximum length of 512 characters.5132 with a maximum length of 512 characters.

5011 5133 

5012 - `model: "gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more or string`5134 - `model: "gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more or string`

5013 5135 

5014 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI5136 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5015 offers a wide range of models with different capabilities, performance5137 offers a wide range of models with different capabilities, performance

5016 characteristics, and price points. Refer to the [model guide](/docs/models)5138 characteristics, and price points. Refer to the [model guide](/docs/models)

5017 to browse and compare available models.5139 to browse and compare available models.

5018 5140 

5019 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more`5141 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more`

5020 5142 

5021 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI5143 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5022 offers a wide range of models with different capabilities, performance5144 offers a wide range of models with different capabilities, performance

5023 characteristics, and price points. Refer to the [model guide](/docs/models)5145 characteristics, and price points. Refer to the [model guide](/docs/models)

5024 to browse and compare available models.5146 to browse and compare available models.

5025 5147 

5148 - `"gpt-6-astra"`

5149 

5026 - `"gpt-5.6-sol"`5150 - `"gpt-5.6-sol"`

5027 5151 

5028 - `"gpt-5.6-terra"`5152 - `"gpt-5.6-terra"`


5326 5450 

5327 The text that was retrieved from the file.5451 The text that was retrieved from the file.

5328 5452 

5329 - `FunctionCall object { arguments, call_id, name, 6 more }`5453 - `FunctionCall object { arguments, call_id, name, 7 more }`

5330 5454 

5331 A tool call to run a function. See the5455 A tool call to run a function. See the

5332 [function calling guide](/docs/guides/function-calling) for more information.5456 [function calling guide](/docs/guides/function-calling) for more information.


5361 5485 

5362 The canonical name of the agent that produced this item.5486 The canonical name of the agent that produced this item.

5363 5487 

5488 - `async: optional boolean`

5489 

5490 Whether the function tool call runs asynchronously.

5491 

5364 - `caller: optional object { type } or object { caller_id, type } or null`5492 - `caller: optional object { type } or object { caller_id, type } or null`

5365 5493 

5366 The execution context that produced this tool call.5494 The execution context that produced this tool call.


6181 6309 

6182 - `"incomplete"`6310 - `"incomplete"`

6183 6311 

6184 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`6312 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

6185 6313 

6186 The loaded tool definitions returned by tool search.6314 The loaded tool definitions returned by tool search.

6187 6315 

6188 - `Function object { name, parameters, strict, 5 more }`6316 - `Function object { name, parameters, strict, 6 more }`

6189 6317 

6190 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).6318 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

6191 6319 


6215 6343 

6216 - `"programmatic"`6344 - `"programmatic"`

6217 6345 

6346 - `async: optional boolean`

6347 

6218 - `defer_loading: optional boolean`6348 - `defer_loading: optional boolean`

6219 6349 

6220 Whether this function is deferred and loaded via tool search.6350 Whether this function is deferred and loaded via tool search.


6907 7037 

6908 - `BetaContainerReference object { container_id, type }`7038 - `BetaContainerReference object { container_id, type }`

6909 7039 

6910 - `Custom object { name, type, allowed_callers, 3 more }`7040 - `Custom object { name, type, allowed_callers, 4 more }`

6911 7041 

6912 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)7042 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6913 7043 


6929 7059 

6930 - `"programmatic"`7060 - `"programmatic"`

6931 7061 

7062 - `async: optional boolean`

7063 

7064 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

7065 

6932 - `defer_loading: optional boolean`7066 - `defer_loading: optional boolean`

6933 7067 

6934 Whether this tool should be deferred and discovered via tool search.7068 Whether this tool should be deferred and discovered via tool search.


6985 7119 

6986 The namespace name used in tool calls (for example, `crm`).7120 The namespace name used in tool calls (for example, `crm`).

6987 7121 

6988 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`7122 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

6989 7123 

6990 The function/custom tools available inside this namespace.7124 The function/custom tools available inside this namespace.

6991 7125 

6992 - `Function object { name, type, allowed_callers, 5 more }`7126 - `Function object { name, type, allowed_callers, 6 more }`

6993 7127 

6994 - `name: string`7128 - `name: string`

6995 7129 


7005 7139 

7006 - `"programmatic"`7140 - `"programmatic"`

7007 7141 

7142 - `async: optional boolean`

7143 

7144 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

7145 

7008 - `defer_loading: optional boolean`7146 - `defer_loading: optional boolean`

7009 7147 

7010 Whether this function should be deferred and discovered via tool search.7148 Whether this function should be deferred and discovered via tool search.


7021 7159 

7022 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.7160 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

7023 7161 

7024 - `Custom object { name, type, allowed_callers, 3 more }`7162 - `Custom object { name, type, allowed_callers, 4 more }`

7025 7163 

7026 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)7164 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

7027 7165 


7043 7181 

7044 - `"programmatic"`7182 - `"programmatic"`

7045 7183 

7184 - `async: optional boolean`

7185 

7186 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

7187 

7046 - `defer_loading: optional boolean`7188 - `defer_loading: optional boolean`

7047 7189 

7048 Whether this tool should be deferred and discovered via tool search.7190 Whether this tool should be deferred and discovered via tool search.


7235 7377 

7236 - `"tool"`7378 - `"tool"`

7237 7379 

7238 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`7380 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

7239 7381 

7240 The additional tool definitions made available at this item.7382 The additional tool definitions made available at this item.

7241 7383 

7242 - `Function object { name, parameters, strict, 5 more }`7384 - `Function object { name, parameters, strict, 6 more }`

7243 7385 

7244 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).7386 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

7245 7387 


7269 7411 

7270 - `"programmatic"`7412 - `"programmatic"`

7271 7413 

7414 - `async: optional boolean`

7415 

7272 - `defer_loading: optional boolean`7416 - `defer_loading: optional boolean`

7273 7417 

7274 Whether this function is deferred and loaded via tool search.7418 Whether this function is deferred and loaded via tool search.


7961 8105 

7962 - `BetaContainerReference object { container_id, type }`8106 - `BetaContainerReference object { container_id, type }`

7963 8107 

7964 - `Custom object { name, type, allowed_callers, 3 more }`8108 - `Custom object { name, type, allowed_callers, 4 more }`

7965 8109 

7966 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8110 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

7967 8111 


7983 8127 

7984 - `"programmatic"`8128 - `"programmatic"`

7985 8129 

8130 - `async: optional boolean`

8131 

8132 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8133 

7986 - `defer_loading: optional boolean`8134 - `defer_loading: optional boolean`

7987 8135 

7988 Whether this tool should be deferred and discovered via tool search.8136 Whether this tool should be deferred and discovered via tool search.


8039 8187 

8040 The namespace name used in tool calls (for example, `crm`).8188 The namespace name used in tool calls (for example, `crm`).

8041 8189 

8042 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`8190 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

8043 8191 

8044 The function/custom tools available inside this namespace.8192 The function/custom tools available inside this namespace.

8045 8193 

8046 - `Function object { name, type, allowed_callers, 5 more }`8194 - `Function object { name, type, allowed_callers, 6 more }`

8047 8195 

8048 - `name: string`8196 - `name: string`

8049 8197 


8059 8207 

8060 - `"programmatic"`8208 - `"programmatic"`

8061 8209 

8210 - `async: optional boolean`

8211 

8212 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8213 

8062 - `defer_loading: optional boolean`8214 - `defer_loading: optional boolean`

8063 8215 

8064 Whether this function should be deferred and discovered via tool search.8216 Whether this function should be deferred and discovered via tool search.


8075 8227 

8076 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.8228 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

8077 8229 

8078 - `Custom object { name, type, allowed_callers, 3 more }`8230 - `Custom object { name, type, allowed_callers, 4 more }`

8079 8231 

8080 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8232 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

8081 8233 


8097 8249 

8098 - `"programmatic"`8250 - `"programmatic"`

8099 8251 

8252 - `async: optional boolean`

8253 

8254 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8255 

8100 - `defer_loading: optional boolean`8256 - `defer_loading: optional boolean`

8101 8257 

8102 Whether this tool should be deferred and discovered via tool search.8258 Whether this tool should be deferred and discovered via tool search.


9067 9223 

9068 Optional reason for the decision.9224 Optional reason for the decision.

9069 9225 

9070 - `CustomToolCall object { call_id, input, name, 5 more }`9226 - `CustomToolCall object { call_id, input, name, 6 more }`

9071 9227 

9072 A call to a custom tool created by the model.9228 A call to a custom tool created by the model.

9073 9229 


9101 9257 

9102 The canonical name of the agent that produced this item.9258 The canonical name of the agent that produced this item.

9103 9259 

9260 - `async: optional boolean`

9261 

9262 Whether the custom tool call runs asynchronously.

9263 

9104 - `caller: optional object { type } or object { caller_id, type } or null`9264 - `caller: optional object { type } or object { caller_id, type } or null`

9105 9265 

9106 The execution context that produced this tool call.9266 The execution context that produced this tool call.


9392 9552 

9393 - `"shell"`9553 - `"shell"`

9394 9554 

9395 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`9555 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

9396 9556 

9397 An array of tools the model may call while generating a response. You9557 An array of tools the model may call while generating a response. You

9398 can specify which tool to use by setting the `tool_choice` parameter.9558 can specify which tool to use by setting the `tool_choice` parameter.


9412 [function calling](/docs/guides/function-calling). You can also use9572 [function calling](/docs/guides/function-calling). You can also use

9413 custom tools to call your own code.9573 custom tools to call your own code.

9414 9574 

9415 - `Function object { name, parameters, strict, 5 more }`9575 - `Function object { name, parameters, strict, 6 more }`

9416 9576 

9417 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).9577 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

9418 9578 


9442 9602 

9443 - `"programmatic"`9603 - `"programmatic"`

9444 9604 

9605 - `async: optional boolean`

9606 

9445 - `defer_loading: optional boolean`9607 - `defer_loading: optional boolean`

9446 9608 

9447 Whether this function is deferred and loaded via tool search.9609 Whether this function is deferred and loaded via tool search.


10134 10296 

10135 - `BetaContainerReference object { container_id, type }`10297 - `BetaContainerReference object { container_id, type }`

10136 10298 

10137 - `Custom object { name, type, allowed_callers, 3 more }`10299 - `Custom object { name, type, allowed_callers, 4 more }`

10138 10300 

10139 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)10301 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

10140 10302 


10156 10318 

10157 - `"programmatic"`10319 - `"programmatic"`

10158 10320 

10321 - `async: optional boolean`

10322 

10323 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

10324 

10159 - `defer_loading: optional boolean`10325 - `defer_loading: optional boolean`

10160 10326 

10161 Whether this tool should be deferred and discovered via tool search.10327 Whether this tool should be deferred and discovered via tool search.


10212 10378 

10213 The namespace name used in tool calls (for example, `crm`).10379 The namespace name used in tool calls (for example, `crm`).

10214 10380 

10215 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`10381 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

10216 10382 

10217 The function/custom tools available inside this namespace.10383 The function/custom tools available inside this namespace.

10218 10384 

10219 - `Function object { name, type, allowed_callers, 5 more }`10385 - `Function object { name, type, allowed_callers, 6 more }`

10220 10386 

10221 - `name: string`10387 - `name: string`

10222 10388 


10232 10398 

10233 - `"programmatic"`10399 - `"programmatic"`

10234 10400 

10401 - `async: optional boolean`

10402 

10403 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

10404 

10235 - `defer_loading: optional boolean`10405 - `defer_loading: optional boolean`

10236 10406 

10237 Whether this function should be deferred and discovered via tool search.10407 Whether this function should be deferred and discovered via tool search.


10248 10418 

10249 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.10419 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

10250 10420 

10251 - `Custom object { name, type, allowed_callers, 3 more }`10421 - `Custom object { name, type, allowed_callers, 4 more }`

10252 10422 

10253 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)10423 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

10254 10424 


10270 10440 

10271 - `"programmatic"`10441 - `"programmatic"`

10272 10442 

10443 - `async: optional boolean`

10444 

10445 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

10446 

10273 - `defer_loading: optional boolean`10447 - `defer_loading: optional boolean`

10274 10448 

10275 Whether this tool should be deferred and discovered via tool search.10449 Whether this tool should be deferred and discovered via tool search.


10614 10788 

10615 Optional version of the prompt template.10789 Optional version of the prompt template.

10616 10790 

10791 - `prompt_cache_diagnostics: optional object { cache_missed_tokens, reason, type, comparison_reusable_tokens } or object { type } or object { type } or object { type }`

10792 

10793 Prompt cache diagnostics requested for this response.

10794 

10795 - `CacheMiss object { cache_missed_tokens, reason, type, comparison_reusable_tokens }`

10796 

10797 - `cache_missed_tokens: number`

10798 

10799 The estimated number of input tokens affected after the first detected divergence.

10800 

10801 - `reason: "model_changed" or "prompt_cache_key_changed" or "tools_changed" or 6 more`

10802 

10803 The reason prompt cache reuse did not occur.

10804 

10805 - `"model_changed"`

10806 

10807 - `"prompt_cache_key_changed"`

10808 

10809 - `"tools_changed"`

10810 

10811 - `"text_format_changed"`

10812 

10813 - `"reasoning_effort_changed"`

10814 

10815 - `"verbosity_changed"`

10816 

10817 - `"context_compacted"`

10818 

10819 - `"input_changed"`

10820 

10821 - `"service_tier_changed"`

10822 

10823 - `type: "cache_miss"`

10824 

10825 - `"cache_miss"`

10826 

10827 - `comparison_reusable_tokens: optional number`

10828 

10829 The raw token count of the reusable prefix in the compared response.

10830 

10831 - `CacheHit object { type }`

10832 

10833 - `type: "cache_hit"`

10834 

10835 - `"cache_hit"`

10836 

10837 - `ComparisonResponseNotFound object { type }`

10838 

10839 - `type: "comparison_response_not_found"`

10840 

10841 - `"comparison_response_not_found"`

10842 

10843 - `Unavailable object { type }`

10844 

10845 - `type: "unavailable"`

10846 

10847 - `"unavailable"`

10848 

10617 - `prompt_cache_key: optional string or null`10849 - `prompt_cache_key: optional string or null`

10618 10850 

10619 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).10851 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).

10620 10852 

10621 - `prompt_cache_options: optional object { mode, ttl }`10853 - `prompt_cache_options: optional object { mode, ttl, comparison_response_id }`

10622 10854 

10623 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.10855 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.

10624 10856 


10636 10868 

10637 - `"30m"`10869 - `"30m"`

10638 10870 

10871 - `comparison_response_id: optional string or null`

10872 

10873 The response ID supplied as the prompt cache diagnostics comparison.

10874 

10639 - `prompt_cache_retention: optional "in_memory" or "24h" or null`10875 - `prompt_cache_retention: optional "in_memory" or "24h" or null`

10640 10876 

10641 Deprecated. Use `prompt_cache_options.ttl` instead.10877 Deprecated. Use `prompt_cache_options.ttl` instead.


10969 "created_at": 0,11205 "created_at": 0,

10970 "error": {11206 "error": {

10971 "code": "server_error",11207 "code": "server_error",

11208 "message": "message",

11209 "misalignment": {

11210 "detailed_explanation": "detailed_explanation",

11211 "error_type": "potentially_unintended_data_transfer",

11212 "steer": {

10972 "message": "message"11213 "message": "message"

11214 }

11215 }

10973 },11216 },

10974 "incomplete_details": {11217 "incomplete_details": {

10975 "reason": "max_output_tokens"11218 "reason": "max_output_tokens"


10978 "metadata": {11221 "metadata": {

10979 "foo": "string"11222 "foo": "string"

10980 },11223 },

10981 "model": "gpt-5.6-sol",11224 "model": "gpt-6-astra",

10982 "object": "response",11225 "object": "response",

10983 "output": [11226 "output": [

10984 {11227 {


11038 "allowed_callers": [11281 "allowed_callers": [

11039 "direct"11282 "direct"

11040 ],11283 ],

11284 "async": true,

11041 "defer_loading": true,11285 "defer_loading": true,

11042 "description": "description",11286 "description": "description",

11043 "output_schema": {11287 "output_schema": {


11096 },11340 },

11097 "version": "version"11341 "version": "version"

11098 },11342 },

11343 "prompt_cache_diagnostics": {

11344 "cache_missed_tokens": 0,

11345 "reason": "model_changed",

11346 "type": "cache_miss",

11347 "comparison_reusable_tokens": 0

11348 },

11099 "prompt_cache_key": "prompt-cache-key-1234",11349 "prompt_cache_key": "prompt-cache-key-1234",

11100 "prompt_cache_options": {11350 "prompt_cache_options": {

11101 "mode": "implicit",11351 "mode": "implicit",

11102 "ttl": "30m"11352 "ttl": "30m",

11353 "comparison_response_id": "comparison_response_id"

11103 },11354 },

11104 "prompt_cache_retention": "in_memory",11355 "prompt_cache_retention": "in_memory",

11105 "reasoning": {11356 "reasoning": {


11157 "incomplete_details": null,11408 "incomplete_details": null,

11158 "instructions": null,11409 "instructions": null,

11159 "max_output_tokens": null,11410 "max_output_tokens": null,

11160 "model": "gpt-5.6-sol",11411 "model": "gpt-6-astra",

11161 "output": [11412 "output": [

11162 {11413 {

11163 "type": "message",11414 "type": "message",

Details

63 63 

64 A list of Response items.64 A list of Response items.

65 65 

66 - `data: array of BetaResponseInputMessageItem or BetaResponseOutputMessage or object { id, queries, status, 3 more } or 29 more`66 - `data: array of BetaResponseInputMessageItem or BetaResponseOutputMessage or object { id, queries, status, 3 more } or 30 more`

67 67 

68 A list of items used to generate this response.68 A list of items used to generate this response.

69 69 


967 967 

968 The canonical name of the agent that produced this item.968 The canonical name of the agent that produced this item.

969 969 

970 - `FunctionCall object { id, arguments, call_id, 7 more }`970 - `FunctionCall object { id, arguments, call_id, 8 more }`

971 971 

972 - `id: string`972 - `id: string`

973 973 


1010 1010 

1011 The canonical name of the agent that produced this item.1011 The canonical name of the agent that produced this item.

1012 1012 

1013 - `async: optional boolean`

1014 

1015 Whether the function tool call runs asynchronously.

1016 

1013 - `caller: optional object { type } or object { caller_id, type } or null`1017 - `caller: optional object { type } or object { caller_id, type } or null`

1014 1018 

1015 The execution context that produced this tool call.1019 The execution context that produced this tool call.


1450 1454 

1451 - `"incomplete"`1455 - `"incomplete"`

1452 1456 

1453 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1457 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1454 1458 

1455 The loaded tool definitions returned by tool search.1459 The loaded tool definitions returned by tool search.

1456 1460 

1457 - `Function object { name, parameters, strict, 5 more }`1461 - `Function object { name, parameters, strict, 6 more }`

1458 1462 

1459 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1463 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1460 1464 


1484 1488 

1485 - `"programmatic"`1489 - `"programmatic"`

1486 1490 

1491 - `async: optional boolean`

1492 

1487 - `defer_loading: optional boolean`1493 - `defer_loading: optional boolean`

1488 1494 

1489 Whether this function is deferred and loaded via tool search.1495 Whether this function is deferred and loaded via tool search.


2326 2332 

2327 - `"container_reference"`2333 - `"container_reference"`

2328 2334 

2329 - `Custom object { name, type, allowed_callers, 3 more }`2335 - `Custom object { name, type, allowed_callers, 4 more }`

2330 2336 

2331 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2337 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2332 2338 


2348 2354 

2349 - `"programmatic"`2355 - `"programmatic"`

2350 2356 

2357 - `async: optional boolean`

2358 

2359 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2360 

2351 - `defer_loading: optional boolean`2361 - `defer_loading: optional boolean`

2352 2362 

2353 Whether this tool should be deferred and discovered via tool search.2363 Whether this tool should be deferred and discovered via tool search.


2404 2414 

2405 The namespace name used in tool calls (for example, `crm`).2415 The namespace name used in tool calls (for example, `crm`).

2406 2416 

2407 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2417 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2408 2418 

2409 The function/custom tools available inside this namespace.2419 The function/custom tools available inside this namespace.

2410 2420 

2411 - `Function object { name, type, allowed_callers, 5 more }`2421 - `Function object { name, type, allowed_callers, 6 more }`

2412 2422 

2413 - `name: string`2423 - `name: string`

2414 2424 


2424 2434 

2425 - `"programmatic"`2435 - `"programmatic"`

2426 2436 

2437 - `async: optional boolean`

2438 

2439 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2440 

2427 - `defer_loading: optional boolean`2441 - `defer_loading: optional boolean`

2428 2442 

2429 Whether this function should be deferred and discovered via tool search.2443 Whether this function should be deferred and discovered via tool search.


2440 2454 

2441 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2455 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2442 2456 

2443 - `Custom object { name, type, allowed_callers, 3 more }`2457 - `Custom object { name, type, allowed_callers, 4 more }`

2444 2458 

2445 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2459 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2446 2460 


2462 2476 

2463 - `"programmatic"`2477 - `"programmatic"`

2464 2478 

2479 - `async: optional boolean`

2480 

2481 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2482 

2465 - `defer_loading: optional boolean`2483 - `defer_loading: optional boolean`

2466 2484 

2467 Whether this tool should be deferred and discovered via tool search.2485 Whether this tool should be deferred and discovered via tool search.


2654 2672 

2655 - `"tool"`2673 - `"tool"`

2656 2674 

2657 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2675 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2658 2676 

2659 The additional tool definitions made available at this item.2677 The additional tool definitions made available at this item.

2660 2678 

2661 - `Function object { name, parameters, strict, 5 more }`2679 - `Function object { name, parameters, strict, 6 more }`

2662 2680 

2663 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2681 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2664 2682 


2688 2706 

2689 - `"programmatic"`2707 - `"programmatic"`

2690 2708 

2709 - `async: optional boolean`

2710 

2691 - `defer_loading: optional boolean`2711 - `defer_loading: optional boolean`

2692 2712 

2693 Whether this function is deferred and loaded via tool search.2713 Whether this function is deferred and loaded via tool search.


3380 3400 

3381 - `BetaContainerReference object { container_id, type }`3401 - `BetaContainerReference object { container_id, type }`

3382 3402 

3383 - `Custom object { name, type, allowed_callers, 3 more }`3403 - `Custom object { name, type, allowed_callers, 4 more }`

3384 3404 

3385 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3405 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3386 3406 


3402 3422 

3403 - `"programmatic"`3423 - `"programmatic"`

3404 3424 

3425 - `async: optional boolean`

3426 

3427 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3428 

3405 - `defer_loading: optional boolean`3429 - `defer_loading: optional boolean`

3406 3430 

3407 Whether this tool should be deferred and discovered via tool search.3431 Whether this tool should be deferred and discovered via tool search.


3458 3482 

3459 The namespace name used in tool calls (for example, `crm`).3483 The namespace name used in tool calls (for example, `crm`).

3460 3484 

3461 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3485 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3462 3486 

3463 The function/custom tools available inside this namespace.3487 The function/custom tools available inside this namespace.

3464 3488 

3465 - `Function object { name, type, allowed_callers, 5 more }`3489 - `Function object { name, type, allowed_callers, 6 more }`

3466 3490 

3467 - `name: string`3491 - `name: string`

3468 3492 


3478 3502 

3479 - `"programmatic"`3503 - `"programmatic"`

3480 3504 

3505 - `async: optional boolean`

3506 

3507 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3508 

3481 - `defer_loading: optional boolean`3509 - `defer_loading: optional boolean`

3482 3510 

3483 Whether this function should be deferred and discovered via tool search.3511 Whether this function should be deferred and discovered via tool search.


3494 3522 

3495 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3523 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3496 3524 

3497 - `Custom object { name, type, allowed_callers, 3 more }`3525 - `Custom object { name, type, allowed_callers, 4 more }`

3498 3526 

3499 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3527 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3500 3528 


3516 3544 

3517 - `"programmatic"`3545 - `"programmatic"`

3518 3546 

3547 - `async: optional boolean`

3548 

3549 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3550 

3519 - `defer_loading: optional boolean`3551 - `defer_loading: optional boolean`

3520 3552 

3521 Whether this tool should be deferred and discovered via tool search.3553 Whether this tool should be deferred and discovered via tool search.


3678 3710 

3679 The canonical name of the agent that produced this item.3711 The canonical name of the agent that produced this item.

3680 3712 

3713 - `ConfigurationUpdate object { id, type, agent, reasoning }`

3714 

3715 A configuration update that applies to subsequent responses until it is

3716 replaced by another configuration update.

3717 

3718 - `id: string`

3719 

3720 The unique ID of the configuration update item.

3721 

3722 - `type: "configuration_update"`

3723 

3724 The item type. Always `configuration_update`.

3725 

3726 - `"configuration_update"`

3727 

3728 - `agent: optional object { agent_name }`

3729 

3730 The agent that produced this item.

3731 

3732 - `agent_name: string`

3733 

3734 The canonical name of the agent that produced this item.

3735 

3736 - `reasoning: optional object { effort }`

3737 

3738 The reasoning configuration applied by this update.

3739 

3740 - `effort: optional "none" or "minimal" or "low" or 4 more or null`

3741 

3742 The reasoning effort used for subsequent responses until another

3743 configuration update replaces it.

3744 

3745 - `"none"`

3746 

3747 - `"minimal"`

3748 

3749 - `"low"`

3750 

3751 - `"medium"`

3752 

3753 - `"high"`

3754 

3755 - `"xhigh"`

3756 

3757 - `"max"`

3758 

3681 - `Reasoning object { id, summary, type, 4 more }`3759 - `Reasoning object { id, summary, type, 4 more }`

3682 3760 

3683 A description of the chain of thought used by a reasoning model while generating3761 A description of the chain of thought used by a reasoning model while generating


4658 4736 

4659 - `"failed"`4737 - `"failed"`

4660 4738 

4661 - `CustomToolCall object { id, call_id, input, 7 more }`4739 - `CustomToolCall object { id, call_id, input, 8 more }`

4662 4740 

4663 - `id: string`4741 - `id: string`

4664 4742 


4701 4779 

4702 The canonical name of the agent that produced this item.4780 The canonical name of the agent that produced this item.

4703 4781 

4782 - `async: optional boolean`

4783 

4784 Whether the custom tool call runs asynchronously.

4785 

4704 - `caller: optional object { type } or object { caller_id, type } or null`4786 - `caller: optional object { type } or object { caller_id, type } or null`

4705 4787 

4706 The execution context that produced this tool call.4788 The execution context that produced this tool call.

Details

31 31 

32 The unique ID of the conversation.32 The unique ID of the conversation.

33 33 

34- `input: optional string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more or null`34- `input: optional string or array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more or null`

35 35 

36 Text, image, or file inputs to the model, used to generate a response36 Text, image, or file inputs to the model, used to generate a response

37 37 


39 39 

40 A text input to the model, equivalent to a text input with the `user` role.40 A text input to the model, equivalent to a text input with the `user` role.

41 41 

42 - `array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 32 more`42 - `array of BetaEasyInputMessage or object { content, role, agent, 2 more } or BetaResponseOutputMessage or 33 more`

43 43 

44 A list of one or many input items to the model, containing different content types.44 A list of one or many input items to the model, containing different content types.

45 45 


988 988 

989 The canonical name of the agent that produced this item.989 The canonical name of the agent that produced this item.

990 990 

991 - `FunctionCall object { arguments, call_id, name, 6 more }`991 - `FunctionCall object { arguments, call_id, name, 7 more }`

992 992 

993 A tool call to run a function. See the993 A tool call to run a function. See the

994 [function calling guide](/docs/guides/function-calling) for more information.994 [function calling guide](/docs/guides/function-calling) for more information.


1023 1023 

1024 The canonical name of the agent that produced this item.1024 The canonical name of the agent that produced this item.

1025 1025 

1026 - `async: optional boolean`

1027 

1028 Whether the function tool call runs asynchronously.

1029 

1026 - `caller: optional object { type } or object { caller_id, type } or null`1030 - `caller: optional object { type } or object { caller_id, type } or null`

1027 1031 

1028 The execution context that produced this tool call.1032 The execution context that produced this tool call.


1518 1522 

1519 - `ToolSearchOutput object { tools, type, id, 4 more }`1523 - `ToolSearchOutput object { tools, type, id, 4 more }`

1520 1524 

1521 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1525 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1522 1526 

1523 The loaded tool definitions returned by the tool search output.1527 The loaded tool definitions returned by the tool search output.

1524 1528 

1525 - `Function object { name, parameters, strict, 5 more }`1529 - `Function object { name, parameters, strict, 6 more }`

1526 1530 

1527 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1531 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1528 1532 


1552 1556 

1553 - `"programmatic"`1557 - `"programmatic"`

1554 1558 

1559 - `async: optional boolean`

1560 

1555 - `defer_loading: optional boolean`1561 - `defer_loading: optional boolean`

1556 1562 

1557 Whether this function is deferred and loaded via tool search.1563 Whether this function is deferred and loaded via tool search.


2394 2400 

2395 - `"container_reference"`2401 - `"container_reference"`

2396 2402 

2397 - `Custom object { name, type, allowed_callers, 3 more }`2403 - `Custom object { name, type, allowed_callers, 4 more }`

2398 2404 

2399 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2405 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2400 2406 


2416 2422 

2417 - `"programmatic"`2423 - `"programmatic"`

2418 2424 

2425 - `async: optional boolean`

2426 

2427 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2428 

2419 - `defer_loading: optional boolean`2429 - `defer_loading: optional boolean`

2420 2430 

2421 Whether this tool should be deferred and discovered via tool search.2431 Whether this tool should be deferred and discovered via tool search.


2472 2482 

2473 The namespace name used in tool calls (for example, `crm`).2483 The namespace name used in tool calls (for example, `crm`).

2474 2484 

2475 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2485 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2476 2486 

2477 The function/custom tools available inside this namespace.2487 The function/custom tools available inside this namespace.

2478 2488 

2479 - `Function object { name, type, allowed_callers, 5 more }`2489 - `Function object { name, type, allowed_callers, 6 more }`

2480 2490 

2481 - `name: string`2491 - `name: string`

2482 2492 


2492 2502 

2493 - `"programmatic"`2503 - `"programmatic"`

2494 2504 

2505 - `async: optional boolean`

2506 

2507 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2508 

2495 - `defer_loading: optional boolean`2509 - `defer_loading: optional boolean`

2496 2510 

2497 Whether this function should be deferred and discovered via tool search.2511 Whether this function should be deferred and discovered via tool search.


2508 2522 

2509 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2523 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2510 2524 

2511 - `Custom object { name, type, allowed_callers, 3 more }`2525 - `Custom object { name, type, allowed_callers, 4 more }`

2512 2526 

2513 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2527 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2514 2528 


2530 2544 

2531 - `"programmatic"`2545 - `"programmatic"`

2532 2546 

2547 - `async: optional boolean`

2548 

2549 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2550 

2533 - `defer_loading: optional boolean`2551 - `defer_loading: optional boolean`

2534 2552 

2535 Whether this tool should be deferred and discovered via tool search.2553 Whether this tool should be deferred and discovered via tool search.


2726 2744 

2727 - `"developer"`2745 - `"developer"`

2728 2746 

2729 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2747 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2730 2748 

2731 A list of additional tools made available at this item.2749 A list of additional tools made available at this item.

2732 2750 

2733 - `Function object { name, parameters, strict, 5 more }`2751 - `Function object { name, parameters, strict, 6 more }`

2734 2752 

2735 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2753 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2736 2754 


2760 2778 

2761 - `"programmatic"`2779 - `"programmatic"`

2762 2780 

2781 - `async: optional boolean`

2782 

2763 - `defer_loading: optional boolean`2783 - `defer_loading: optional boolean`

2764 2784 

2765 Whether this function is deferred and loaded via tool search.2785 Whether this function is deferred and loaded via tool search.


3452 3472 

3453 - `BetaContainerReference object { container_id, type }`3473 - `BetaContainerReference object { container_id, type }`

3454 3474 

3455 - `Custom object { name, type, allowed_callers, 3 more }`3475 - `Custom object { name, type, allowed_callers, 4 more }`

3456 3476 

3457 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3477 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3458 3478 


3474 3494 

3475 - `"programmatic"`3495 - `"programmatic"`

3476 3496 

3497 - `async: optional boolean`

3498 

3499 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3500 

3477 - `defer_loading: optional boolean`3501 - `defer_loading: optional boolean`

3478 3502 

3479 Whether this tool should be deferred and discovered via tool search.3503 Whether this tool should be deferred and discovered via tool search.


3530 3554 

3531 The namespace name used in tool calls (for example, `crm`).3555 The namespace name used in tool calls (for example, `crm`).

3532 3556 

3533 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3557 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3534 3558 

3535 The function/custom tools available inside this namespace.3559 The function/custom tools available inside this namespace.

3536 3560 

3537 - `Function object { name, type, allowed_callers, 5 more }`3561 - `Function object { name, type, allowed_callers, 6 more }`

3538 3562 

3539 - `name: string`3563 - `name: string`

3540 3564 


3550 3574 

3551 - `"programmatic"`3575 - `"programmatic"`

3552 3576 

3577 - `async: optional boolean`

3578 

3579 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3580 

3553 - `defer_loading: optional boolean`3581 - `defer_loading: optional boolean`

3554 3582 

3555 Whether this function should be deferred and discovered via tool search.3583 Whether this function should be deferred and discovered via tool search.


3566 3594 

3567 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3595 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3568 3596 

3569 - `Custom object { name, type, allowed_callers, 3 more }`3597 - `Custom object { name, type, allowed_callers, 4 more }`

3570 3598 

3571 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3599 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3572 3600 


3588 3616 

3589 - `"programmatic"`3617 - `"programmatic"`

3590 3618 

3619 - `async: optional boolean`

3620 

3621 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3622 

3591 - `defer_loading: optional boolean`3623 - `defer_loading: optional boolean`

3592 3624 

3593 Whether this tool should be deferred and discovered via tool search.3625 Whether this tool should be deferred and discovered via tool search.


3754 3786 

3755 The canonical name of the agent that produced this item.3787 The canonical name of the agent that produced this item.

3756 3788 

3789 - `ConfigurationUpdate object { type, id, agent, reasoning }`

3790 

3791 An update to the conversation's response configuration. The configuration

3792 remains in effect for subsequent responses until it is replaced by another

3793 configuration update.

3794 

3795 - `type: "configuration_update"`

3796 

3797 The item type. Always `configuration_update`.

3798 

3799 - `"configuration_update"`

3800 

3801 - `id: optional string or null`

3802 

3803 The unique ID of the configuration update item.

3804 

3805 - `agent: optional object { agent_name } or null`

3806 

3807 The agent that produced this item.

3808 

3809 - `agent_name: string`

3810 

3811 The canonical name of the agent that produced this item.

3812 

3813 - `reasoning: optional object { effort }`

3814 

3815 Updates to reasoning configuration. Only effort is supported.

3816 

3817 - `effort: optional "none" or "minimal" or "low" or 4 more or null`

3818 

3819 The reasoning effort to use for subsequent responses until another

3820 configuration update replaces it.

3821 

3822 - `"none"`

3823 

3824 - `"minimal"`

3825 

3826 - `"low"`

3827 

3828 - `"medium"`

3829 

3830 - `"high"`

3831 

3832 - `"xhigh"`

3833 

3834 - `"max"`

3835 

3757 - `Reasoning object { id, summary, type, 4 more }`3836 - `Reasoning object { id, summary, type, 4 more }`

3758 3837 

3759 A description of the chain of thought used by a reasoning model while generating3838 A description of the chain of thought used by a reasoning model while generating


4717 4796 

4718 - `"program"`4797 - `"program"`

4719 4798 

4720 - `CustomToolCall object { call_id, input, name, 5 more }`4799 - `CustomToolCall object { call_id, input, name, 6 more }`

4721 4800 

4722 A call to a custom tool created by the model.4801 A call to a custom tool created by the model.

4723 4802 


4751 4830 

4752 The canonical name of the agent that produced this item.4831 The canonical name of the agent that produced this item.

4753 4832 

4833 - `async: optional boolean`

4834 

4835 Whether the custom tool call runs asynchronously.

4836 

4754 - `caller: optional object { type } or object { caller_id, type } or null`4837 - `caller: optional object { type } or object { caller_id, type } or null`

4755 4838 

4756 The execution context that produced this tool call.4839 The execution context that produced this tool call.


5270 5353 

5271 - `"shell"`5354 - `"shell"`

5272 5355 

5273- `tools: optional array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more or null`5356- `tools: optional array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more or null`

5274 5357 

5275 An array of tools the model may call while generating a response. You can specify which tool to use by setting the `tool_choice` parameter.5358 An array of tools the model may call while generating a response. You can specify which tool to use by setting the `tool_choice` parameter.

5276 5359 

5277 - `Function object { name, parameters, strict, 5 more }`5360 - `Function object { name, parameters, strict, 6 more }`

5278 5361 

5279 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).5362 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

5280 5363 


5304 5387 

5305 - `"programmatic"`5388 - `"programmatic"`

5306 5389 

5390 - `async: optional boolean`

5391 

5307 - `defer_loading: optional boolean`5392 - `defer_loading: optional boolean`

5308 5393 

5309 Whether this function is deferred and loaded via tool search.5394 Whether this function is deferred and loaded via tool search.


5996 6081 

5997 - `BetaContainerReference object { container_id, type }`6082 - `BetaContainerReference object { container_id, type }`

5998 6083 

5999 - `Custom object { name, type, allowed_callers, 3 more }`6084 - `Custom object { name, type, allowed_callers, 4 more }`

6000 6085 

6001 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6086 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6002 6087 


6018 6103 

6019 - `"programmatic"`6104 - `"programmatic"`

6020 6105 

6106 - `async: optional boolean`

6107 

6108 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6109 

6021 - `defer_loading: optional boolean`6110 - `defer_loading: optional boolean`

6022 6111 

6023 Whether this tool should be deferred and discovered via tool search.6112 Whether this tool should be deferred and discovered via tool search.


6074 6163 

6075 The namespace name used in tool calls (for example, `crm`).6164 The namespace name used in tool calls (for example, `crm`).

6076 6165 

6077 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`6166 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

6078 6167 

6079 The function/custom tools available inside this namespace.6168 The function/custom tools available inside this namespace.

6080 6169 

6081 - `Function object { name, type, allowed_callers, 5 more }`6170 - `Function object { name, type, allowed_callers, 6 more }`

6082 6171 

6083 - `name: string`6172 - `name: string`

6084 6173 


6094 6183 

6095 - `"programmatic"`6184 - `"programmatic"`

6096 6185 

6186 - `async: optional boolean`

6187 

6188 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6189 

6097 - `defer_loading: optional boolean`6190 - `defer_loading: optional boolean`

6098 6191 

6099 Whether this function should be deferred and discovered via tool search.6192 Whether this function should be deferred and discovered via tool search.


6110 6203 

6111 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.6204 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

6112 6205 

6113 - `Custom object { name, type, allowed_callers, 3 more }`6206 - `Custom object { name, type, allowed_callers, 4 more }`

6114 6207 

6115 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6208 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6116 6209 


6132 6225 

6133 - `"programmatic"`6226 - `"programmatic"`

6134 6227 

6228 - `async: optional boolean`

6229 

6230 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6231 

6135 - `defer_loading: optional boolean`6232 - `defer_loading: optional boolean`

6136 6233 

6137 Whether this tool should be deferred and discovered via tool search.6234 Whether this tool should be deferred and discovered via tool search.


6320 -H "Content-Type: application/json" \6417 -H "Content-Type: application/json" \

6321 -H "Authorization: Bearer $OPENAI_API_KEY" \6418 -H "Authorization: Bearer $OPENAI_API_KEY" \

6322 -d '{6419 -d '{

6323 "model": "gpt-5.6-sol",6420 "model": "gpt-6-astra",

6324 "input": "Tell me a joke."6421 "input": "Tell me a joke."

6325 }'6422 }'

6326```6423```

Details

442 442 

443 - `"function"`443 - `"function"`

444 444 

445- `model: string or "gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 80 more`445- `model: string or "gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 81 more`

446 446 

447 Model ID used to generate the response, like `gpt-5.6-sol` or `o3`. OpenAI447 Model ID used to generate the response, like `gpt-6-astra` or `o3`. OpenAI

448 offers a wide range of models with different capabilities, performance448 offers a wide range of models with different capabilities, performance

449 characteristics, and price points. Refer to the [model guide](/docs/models)449 characteristics, and price points. Refer to the [model guide](/docs/models)

450 to browse and compare available models.450 to browse and compare available models.

451 451 

452 - `string`452 - `string`

453 453 

454 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 80 more`454 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 81 more`

455 455 

456 Model ID used to generate the response, like `gpt-5.6-sol` or `o3`. OpenAI456 Model ID used to generate the response, like `gpt-6-astra` or `o3`. OpenAI

457 offers a wide range of models with different capabilities, performance457 offers a wide range of models with different capabilities, performance

458 characteristics, and price points. Refer to the [model guide](/docs/models)458 characteristics, and price points. Refer to the [model guide](/docs/models)

459 to browse and compare available models.459 to browse and compare available models.

460 460 

461 - `"gpt-6-astra"`

462 

461 - `"gpt-5.6-sol"`463 - `"gpt-5.6-sol"`

462 464 

463 - `"gpt-5.6-terra"`465 - `"gpt-5.6-terra"`


1905 "role": "developer"1907 "role": "developer"

1906 }1908 }

1907 ],1909 ],

1908 "model": "gpt-5.6-sol",1910 "model": "gpt-6-astra",

1909 "n": 1,1911 "n": 1,

1910 "prompt_cache_key": "prompt-cache-key-1234",1912 "prompt_cache_key": "prompt-cache-key-1234",

1911 "safety_identifier": "safety-identifier-1234",1913 "safety_identifier": "safety-identifier-1234",


2083 -H "Content-Type: application/json" \2085 -H "Content-Type: application/json" \

2084 -H "Authorization: Bearer $OPENAI_API_KEY" \2086 -H "Authorization: Bearer $OPENAI_API_KEY" \

2085 -d '{2087 -d '{

2086 "model": "gpt-5.6-sol",2088 "model": "gpt-6-astra",

2087 "messages": [2089 "messages": [

2088 {2090 {

2089 "role": "developer",2091 "role": "developer",


2104 "id": "chatcmpl-B9MBs8CjcvOU2jLn4n570S5qMJKcT",2106 "id": "chatcmpl-B9MBs8CjcvOU2jLn4n570S5qMJKcT",

2105 "object": "chat.completion",2107 "object": "chat.completion",

2106 "created": 1741569952,2108 "created": 1741569952,

2107 "model": "gpt-5.6-sol",2109 "model": "gpt-6-astra",

2108 "choices": [2110 "choices": [

2109 {2111 {

2110 "index": 0,2112 "index": 0,


2144-H "Content-Type: application/json" \2146-H "Content-Type: application/json" \

2145-H "Authorization: Bearer $OPENAI_API_KEY" \2147-H "Authorization: Bearer $OPENAI_API_KEY" \

2146-d '{2148-d '{

2147 "model": "gpt-5.6-sol",2149 "model": "gpt-6-astra",

2148 "messages": [2150 "messages": [

2149 {2151 {

2150 "role": "user",2152 "role": "user",


2185 "id": "chatcmpl-abc123",2187 "id": "chatcmpl-abc123",

2186 "object": "chat.completion",2188 "object": "chat.completion",

2187 "created": 1699896916,2189 "created": 1699896916,

2188 "model": "gpt-5.6-sol",2190 "model": "gpt-6-astra",

2189 "choices": [2191 "choices": [

2190 {2192 {

2191 "index": 0,2193 "index": 0,


2227 -H "Content-Type: application/json" \2229 -H "Content-Type: application/json" \

2228 -H "Authorization: Bearer $OPENAI_API_KEY" \2230 -H "Authorization: Bearer $OPENAI_API_KEY" \

2229 -d '{2231 -d '{

2230 "model": "gpt-5.6-sol",2232 "model": "gpt-6-astra",

2231 "messages": [2233 "messages": [

2232 {2234 {

2233 "role": "user",2235 "role": "user",


2256 "id": "chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG",2258 "id": "chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG",

2257 "object": "chat.completion",2259 "object": "chat.completion",

2258 "created": 1741570283,2260 "created": 1741570283,

2259 "model": "gpt-5.6-sol",2261 "model": "gpt-6-astra",

2260 "choices": [2262 "choices": [

2261 {2263 {

2262 "index": 0,2264 "index": 0,


2296 -H "Content-Type: application/json" \2298 -H "Content-Type: application/json" \

2297 -H "Authorization: Bearer $OPENAI_API_KEY" \2299 -H "Authorization: Bearer $OPENAI_API_KEY" \

2298 -d '{2300 -d '{

2299 "model": "gpt-5.6-sol",2301 "model": "gpt-6-astra",

2300 "messages": [2302 "messages": [

2301 {2303 {

2302 "role": "user",2304 "role": "user",


2316 "id": "chatcmpl-123",2318 "id": "chatcmpl-123",

2317 "object": "chat.completion",2319 "object": "chat.completion",

2318 "created": 1702685778,2320 "created": 1702685778,

2319 "model": "gpt-5.6-sol",2321 "model": "gpt-6-astra",

2320 "choices": [2322 "choices": [

2321 {2323 {

2322 "index": 0,2324 "index": 0,


2510 -H "Content-Type: application/json" \2512 -H "Content-Type: application/json" \

2511 -H "Authorization: Bearer $OPENAI_API_KEY" \2513 -H "Authorization: Bearer $OPENAI_API_KEY" \

2512 -d '{2514 -d '{

2513 "model": "gpt-5.6-sol",2515 "model": "gpt-6-astra",

2514 "messages": [2516 "messages": [

2515 {2517 {

2516 "role": "developer",2518 "role": "developer",


2528#### Response2530#### Response

2529 2531 

2530```json2532```json

2531{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-5.6-sol", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}2533{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-6-astra", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}

2532 2534 

2533{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-5.6-sol", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}]}2535{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-6-astra", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}]}

2534 2536 

2535....2537....

2536 2538 

2537{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-5.6-sol", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}2539{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-6-astra", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}

2538```2540```

Details

744 {744 {

745 "object": "chat.completion",745 "object": "chat.completion",

746 "id": "chatcmpl-AyPNinnUqUDYo9SAdA52NobMflmj2",746 "id": "chatcmpl-AyPNinnUqUDYo9SAdA52NobMflmj2",

747 "model": "gpt-5.6-sol",747 "model": "gpt-6-astra",

748 "created": 1738960610,748 "created": 1738960610,

749 "request_id": "req_ded8ab984ec4bf840f37566c1011c417",749 "request_id": "req_ded8ab984ec4bf840f37566c1011c417",

750 "tool_choice": null,750 "tool_choice": null,

Details

691{691{

692 "object": "chat.completion",692 "object": "chat.completion",

693 "id": "chatcmpl-abc123",693 "id": "chatcmpl-abc123",

694 "model": "gpt-5.6-sol",694 "model": "gpt-6-astra",

695 "created": 1738960610,695 "created": 1738960610,

696 "request_id": "req_ded8ab984ec4bf840f37566c1011c417",696 "request_id": "req_ded8ab984ec4bf840f37566c1011c417",

697 "tool_choice": null,697 "tool_choice": null,

Details

710{710{

711 "object": "chat.completion",711 "object": "chat.completion",

712 "id": "chatcmpl-AyPNinnUqUDYo9SAdA52NobMflmj2",712 "id": "chatcmpl-AyPNinnUqUDYo9SAdA52NobMflmj2",

713 "model": "gpt-5.6-sol",713 "model": "gpt-6-astra",

714 "created": 1738960610,714 "created": 1738960610,

715 "request_id": "req_ded8ab984ec4bf840f37566c1011c417",715 "request_id": "req_ded8ab984ec4bf840f37566c1011c417",

716 "tool_choice": null,716 "tool_choice": null,

Details

2170### Example2170### Example

2171 2171 

2172```json2172```json

2173{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-5.6-sol", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"obfuscation":"r4N7vQ2m"}2173{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-6-astra", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"obfuscation":"r4N7vQ2m"}

2174 2174 

2175{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-5.6-sol", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}],"obfuscation":"p9K3xT6w"}2175{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-6-astra", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}],"obfuscation":"p9K3xT6w"}

2176 2176 

2177....2177....

2178 2178 

2179{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-5.6-sol", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"obfuscation":""}2179{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-6-astra", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"obfuscation":""}

2180```2180```

Details

6 6 

7### Body Parameters7### Body Parameters

8 8 

9- `items: optional array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more or null`9- `items: optional array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more or null`

10 10 

11 Initial items to include in the conversation context. You may add up to 20 items at a time.11 Initial items to include in the conversation context. You may add up to 20 items at a time.

12 12 


907 907 

908 - `"web_search_call"`908 - `"web_search_call"`

909 909 

910 - `FunctionCall object { arguments, call_id, name, 5 more }`910 - `FunctionCall object { arguments, call_id, name, 6 more }`

911 911 

912 A tool call to run a function. See the912 A tool call to run a function. See the

913 [function calling guide](/docs/guides/function-calling) for more information.913 [function calling guide](/docs/guides/function-calling) for more information.


934 934 

935 The unique ID of the function tool call.935 The unique ID of the function tool call.

936 936 

937 - `async: optional boolean`

938 

939 Whether the function tool call runs asynchronously.

940 

937 - `caller: optional object { type } or object { caller_id, type } or null`941 - `caller: optional object { type } or object { caller_id, type } or null`

938 942 

939 The execution context that produced this tool call.943 The execution context that produced this tool call.


1183 1187 

1184 - `ToolSearchOutput object { tools, type, id, 3 more }`1188 - `ToolSearchOutput object { tools, type, id, 3 more }`

1185 1189 

1186 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1190 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1187 1191 

1188 The loaded tool definitions returned by the tool search output.1192 The loaded tool definitions returned by the tool search output.

1189 1193 

1190 - `Function object { name, parameters, strict, 5 more }`1194 - `Function object { name, parameters, strict, 6 more }`

1191 1195 

1192 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1196 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1193 1197 


1217 1221 

1218 - `"programmatic"`1222 - `"programmatic"`

1219 1223 

1224 - `async: optional boolean`

1225 

1220 - `defer_loading: optional boolean`1226 - `defer_loading: optional boolean`

1221 1227 

1222 Whether this function is deferred and loaded via tool search.1228 Whether this function is deferred and loaded via tool search.


2010 2016 

2011 - `"container_reference"`2017 - `"container_reference"`

2012 2018 

2013 - `Custom object { name, type, allowed_callers, 3 more }`2019 - `Custom object { name, type, allowed_callers, 4 more }`

2014 2020 

2015 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2021 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2016 2022 


2032 2038 

2033 - `"programmatic"`2039 - `"programmatic"`

2034 2040 

2041 - `async: optional boolean`

2042 

2043 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2044 

2035 - `defer_loading: optional boolean`2045 - `defer_loading: optional boolean`

2036 2046 

2037 Whether this tool should be deferred and discovered via tool search.2047 Whether this tool should be deferred and discovered via tool search.


2088 2098 

2089 The namespace name used in tool calls (for example, `crm`).2099 The namespace name used in tool calls (for example, `crm`).

2090 2100 

2091 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2101 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2092 2102 

2093 The function/custom tools available inside this namespace.2103 The function/custom tools available inside this namespace.

2094 2104 

2095 - `Function object { name, type, allowed_callers, 5 more }`2105 - `Function object { name, type, allowed_callers, 6 more }`

2096 2106 

2097 - `name: string`2107 - `name: string`

2098 2108 


2108 2118 

2109 - `"programmatic"`2119 - `"programmatic"`

2110 2120 

2121 - `async: optional boolean`

2122 

2123 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2124 

2111 - `defer_loading: optional boolean`2125 - `defer_loading: optional boolean`

2112 2126 

2113 Whether this function should be deferred and discovered via tool search.2127 Whether this function should be deferred and discovered via tool search.


2124 2138 

2125 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2139 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2126 2140 

2127 - `Custom object { name, type, allowed_callers, 3 more }`2141 - `Custom object { name, type, allowed_callers, 4 more }`

2128 2142 

2129 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2143 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2130 2144 


2146 2160 

2147 - `"programmatic"`2161 - `"programmatic"`

2148 2162 

2163 - `async: optional boolean`

2164 

2165 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2166 

2149 - `defer_loading: optional boolean`2167 - `defer_loading: optional boolean`

2150 2168 

2151 Whether this tool should be deferred and discovered via tool search.2169 Whether this tool should be deferred and discovered via tool search.


2302 2320 

2303 - `"developer"`2321 - `"developer"`

2304 2322 

2305 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2323 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2306 2324 

2307 A list of additional tools made available at this item.2325 A list of additional tools made available at this item.

2308 2326 

2309 - `Function object { name, parameters, strict, 5 more }`2327 - `Function object { name, parameters, strict, 6 more }`

2310 2328 

2311 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2329 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2312 2330 


2336 2354 

2337 - `"programmatic"`2355 - `"programmatic"`

2338 2356 

2357 - `async: optional boolean`

2358 

2339 - `defer_loading: optional boolean`2359 - `defer_loading: optional boolean`

2340 2360 

2341 Whether this function is deferred and loaded via tool search.2361 Whether this function is deferred and loaded via tool search.


2912 2932 

2913 - `ContainerReference object { container_id, type }`2933 - `ContainerReference object { container_id, type }`

2914 2934 

2915 - `Custom object { name, type, allowed_callers, 3 more }`2935 - `Custom object { name, type, allowed_callers, 4 more }`

2916 2936 

2917 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2937 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2918 2938 


2934 2954 

2935 - `"programmatic"`2955 - `"programmatic"`

2936 2956 

2957 - `async: optional boolean`

2958 

2959 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2960 

2937 - `defer_loading: optional boolean`2961 - `defer_loading: optional boolean`

2938 2962 

2939 Whether this tool should be deferred and discovered via tool search.2963 Whether this tool should be deferred and discovered via tool search.


2958 2982 

2959 The namespace name used in tool calls (for example, `crm`).2983 The namespace name used in tool calls (for example, `crm`).

2960 2984 

2961 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2985 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2962 2986 

2963 The function/custom tools available inside this namespace.2987 The function/custom tools available inside this namespace.

2964 2988 

2965 - `Function object { name, type, allowed_callers, 5 more }`2989 - `Function object { name, type, allowed_callers, 6 more }`

2966 2990 

2967 - `name: string`2991 - `name: string`

2968 2992 


2978 3002 

2979 - `"programmatic"`3003 - `"programmatic"`

2980 3004 

3005 - `async: optional boolean`

3006 

3007 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3008 

2981 - `defer_loading: optional boolean`3009 - `defer_loading: optional boolean`

2982 3010 

2983 Whether this function should be deferred and discovered via tool search.3011 Whether this function should be deferred and discovered via tool search.


2994 3022 

2995 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3023 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2996 3024 

2997 - `Custom object { name, type, allowed_callers, 3 more }`3025 - `Custom object { name, type, allowed_callers, 4 more }`

2998 3026 

2999 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3027 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3000 3028 


3016 3044 

3017 - `"programmatic"`3045 - `"programmatic"`

3018 3046 

3047 - `async: optional boolean`

3048 

3049 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3050 

3019 - `defer_loading: optional boolean`3051 - `defer_loading: optional boolean`

3020 3052 

3021 Whether this tool should be deferred and discovered via tool search.3053 Whether this tool should be deferred and discovered via tool search.


3142 3174 

3143 The unique ID of this additional tools item.3175 The unique ID of this additional tools item.

3144 3176 

3177 - `ConfigurationUpdate object { type, id, reasoning }`

3178 

3179 An update to the conversation's response configuration. The configuration

3180 remains in effect for subsequent responses until it is replaced by another

3181 configuration update.

3182 

3183 - `type: "configuration_update"`

3184 

3185 The item type. Always `configuration_update`.

3186 

3187 - `"configuration_update"`

3188 

3189 - `id: optional string or null`

3190 

3191 The unique ID of the configuration update item.

3192 

3193 - `reasoning: optional object { effort }`

3194 

3195 Updates to reasoning configuration. Only effort is supported.

3196 

3197 - `effort: optional ReasoningEffort or null`

3198 

3199 The reasoning effort to use for subsequent responses until another

3200 configuration update replaces it.

3201 

3202 - `"none"`

3203 

3204 - `"minimal"`

3205 

3206 - `"low"`

3207 

3208 - `"medium"`

3209 

3210 - `"high"`

3211 

3212 - `"xhigh"`

3213 

3214 - `"max"`

3215 

3145 - `Reasoning object { id, summary, type, 3 more }`3216 - `Reasoning object { id, summary, type, 3 more }`

3146 3217 

3147 A description of the chain of thought used by a reasoning model while generating3218 A description of the chain of thought used by a reasoning model while generating


3985 4056 

3986 - `"program"`4057 - `"program"`

3987 4058 

3988 - `CustomToolCall object { call_id, input, name, 4 more }`4059 - `CustomToolCall object { call_id, input, name, 5 more }`

3989 4060 

3990 A call to a custom tool created by the model.4061 A call to a custom tool created by the model.

3991 4062 


4011 4082 

4012 The unique ID of the custom tool call in the OpenAI platform.4083 The unique ID of the custom tool call in the OpenAI platform.

4013 4084 

4085 - `async: optional boolean`

4086 

4087 Whether the custom tool call runs asynchronously.

4088 

4014 - `caller: optional object { type } or object { caller_id, type } or null`4089 - `caller: optional object { type } or object { caller_id, type } or null`

4015 4090 

4016 The execution context that produced this tool call.4091 The execution context that produced this tool call.

Details

33 33 

34### Body Parameters34### Body Parameters

35 35 

36- `items: array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more`36- `items: array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more`

37 37 

38 The items to add to the conversation. You may add up to 20 items at a time.38 The items to add to the conversation. You may add up to 20 items at a time.

39 39 


934 934 

935 - `"web_search_call"`935 - `"web_search_call"`

936 936 

937 - `FunctionCall object { arguments, call_id, name, 5 more }`937 - `FunctionCall object { arguments, call_id, name, 6 more }`

938 938 

939 A tool call to run a function. See the939 A tool call to run a function. See the

940 [function calling guide](/docs/guides/function-calling) for more information.940 [function calling guide](/docs/guides/function-calling) for more information.


961 961 

962 The unique ID of the function tool call.962 The unique ID of the function tool call.

963 963 

964 - `async: optional boolean`

965 

966 Whether the function tool call runs asynchronously.

967 

964 - `caller: optional object { type } or object { caller_id, type } or null`968 - `caller: optional object { type } or object { caller_id, type } or null`

965 969 

966 The execution context that produced this tool call.970 The execution context that produced this tool call.


1210 1214 

1211 - `ToolSearchOutput object { tools, type, id, 3 more }`1215 - `ToolSearchOutput object { tools, type, id, 3 more }`

1212 1216 

1213 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1217 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1214 1218 

1215 The loaded tool definitions returned by the tool search output.1219 The loaded tool definitions returned by the tool search output.

1216 1220 

1217 - `Function object { name, parameters, strict, 5 more }`1221 - `Function object { name, parameters, strict, 6 more }`

1218 1222 

1219 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1223 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1220 1224 


1244 1248 

1245 - `"programmatic"`1249 - `"programmatic"`

1246 1250 

1251 - `async: optional boolean`

1252 

1247 - `defer_loading: optional boolean`1253 - `defer_loading: optional boolean`

1248 1254 

1249 Whether this function is deferred and loaded via tool search.1255 Whether this function is deferred and loaded via tool search.


2037 2043 

2038 - `"container_reference"`2044 - `"container_reference"`

2039 2045 

2040 - `Custom object { name, type, allowed_callers, 3 more }`2046 - `Custom object { name, type, allowed_callers, 4 more }`

2041 2047 

2042 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2048 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2043 2049 


2059 2065 

2060 - `"programmatic"`2066 - `"programmatic"`

2061 2067 

2068 - `async: optional boolean`

2069 

2070 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2071 

2062 - `defer_loading: optional boolean`2072 - `defer_loading: optional boolean`

2063 2073 

2064 Whether this tool should be deferred and discovered via tool search.2074 Whether this tool should be deferred and discovered via tool search.


2115 2125 

2116 The namespace name used in tool calls (for example, `crm`).2126 The namespace name used in tool calls (for example, `crm`).

2117 2127 

2118 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2128 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2119 2129 

2120 The function/custom tools available inside this namespace.2130 The function/custom tools available inside this namespace.

2121 2131 

2122 - `Function object { name, type, allowed_callers, 5 more }`2132 - `Function object { name, type, allowed_callers, 6 more }`

2123 2133 

2124 - `name: string`2134 - `name: string`

2125 2135 


2135 2145 

2136 - `"programmatic"`2146 - `"programmatic"`

2137 2147 

2148 - `async: optional boolean`

2149 

2150 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2151 

2138 - `defer_loading: optional boolean`2152 - `defer_loading: optional boolean`

2139 2153 

2140 Whether this function should be deferred and discovered via tool search.2154 Whether this function should be deferred and discovered via tool search.


2151 2165 

2152 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2166 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2153 2167 

2154 - `Custom object { name, type, allowed_callers, 3 more }`2168 - `Custom object { name, type, allowed_callers, 4 more }`

2155 2169 

2156 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2170 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2157 2171 


2173 2187 

2174 - `"programmatic"`2188 - `"programmatic"`

2175 2189 

2190 - `async: optional boolean`

2191 

2192 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2193 

2176 - `defer_loading: optional boolean`2194 - `defer_loading: optional boolean`

2177 2195 

2178 Whether this tool should be deferred and discovered via tool search.2196 Whether this tool should be deferred and discovered via tool search.


2329 2347 

2330 - `"developer"`2348 - `"developer"`

2331 2349 

2332 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2350 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2333 2351 

2334 A list of additional tools made available at this item.2352 A list of additional tools made available at this item.

2335 2353 

2336 - `Function object { name, parameters, strict, 5 more }`2354 - `Function object { name, parameters, strict, 6 more }`

2337 2355 

2338 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2356 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2339 2357 


2363 2381 

2364 - `"programmatic"`2382 - `"programmatic"`

2365 2383 

2384 - `async: optional boolean`

2385 

2366 - `defer_loading: optional boolean`2386 - `defer_loading: optional boolean`

2367 2387 

2368 Whether this function is deferred and loaded via tool search.2388 Whether this function is deferred and loaded via tool search.


2939 2959 

2940 - `ContainerReference object { container_id, type }`2960 - `ContainerReference object { container_id, type }`

2941 2961 

2942 - `Custom object { name, type, allowed_callers, 3 more }`2962 - `Custom object { name, type, allowed_callers, 4 more }`

2943 2963 

2944 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2964 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2945 2965 


2961 2981 

2962 - `"programmatic"`2982 - `"programmatic"`

2963 2983 

2984 - `async: optional boolean`

2985 

2986 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2987 

2964 - `defer_loading: optional boolean`2988 - `defer_loading: optional boolean`

2965 2989 

2966 Whether this tool should be deferred and discovered via tool search.2990 Whether this tool should be deferred and discovered via tool search.


2985 3009 

2986 The namespace name used in tool calls (for example, `crm`).3010 The namespace name used in tool calls (for example, `crm`).

2987 3011 

2988 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3012 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2989 3013 

2990 The function/custom tools available inside this namespace.3014 The function/custom tools available inside this namespace.

2991 3015 

2992 - `Function object { name, type, allowed_callers, 5 more }`3016 - `Function object { name, type, allowed_callers, 6 more }`

2993 3017 

2994 - `name: string`3018 - `name: string`

2995 3019 


3005 3029 

3006 - `"programmatic"`3030 - `"programmatic"`

3007 3031 

3032 - `async: optional boolean`

3033 

3034 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3035 

3008 - `defer_loading: optional boolean`3036 - `defer_loading: optional boolean`

3009 3037 

3010 Whether this function should be deferred and discovered via tool search.3038 Whether this function should be deferred and discovered via tool search.


3021 3049 

3022 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3050 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3023 3051 

3024 - `Custom object { name, type, allowed_callers, 3 more }`3052 - `Custom object { name, type, allowed_callers, 4 more }`

3025 3053 

3026 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3054 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3027 3055 


3043 3071 

3044 - `"programmatic"`3072 - `"programmatic"`

3045 3073 

3074 - `async: optional boolean`

3075 

3076 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3077 

3046 - `defer_loading: optional boolean`3078 - `defer_loading: optional boolean`

3047 3079 

3048 Whether this tool should be deferred and discovered via tool search.3080 Whether this tool should be deferred and discovered via tool search.


3169 3201 

3170 The unique ID of this additional tools item.3202 The unique ID of this additional tools item.

3171 3203 

3204 - `ConfigurationUpdate object { type, id, reasoning }`

3205 

3206 An update to the conversation's response configuration. The configuration

3207 remains in effect for subsequent responses until it is replaced by another

3208 configuration update.

3209 

3210 - `type: "configuration_update"`

3211 

3212 The item type. Always `configuration_update`.

3213 

3214 - `"configuration_update"`

3215 

3216 - `id: optional string or null`

3217 

3218 The unique ID of the configuration update item.

3219 

3220 - `reasoning: optional object { effort }`

3221 

3222 Updates to reasoning configuration. Only effort is supported.

3223 

3224 - `effort: optional ReasoningEffort or null`

3225 

3226 The reasoning effort to use for subsequent responses until another

3227 configuration update replaces it.

3228 

3229 - `"none"`

3230 

3231 - `"minimal"`

3232 

3233 - `"low"`

3234 

3235 - `"medium"`

3236 

3237 - `"high"`

3238 

3239 - `"xhigh"`

3240 

3241 - `"max"`

3242 

3172 - `Reasoning object { id, summary, type, 3 more }`3243 - `Reasoning object { id, summary, type, 3 more }`

3173 3244 

3174 A description of the chain of thought used by a reasoning model while generating3245 A description of the chain of thought used by a reasoning model while generating


4012 4083 

4013 - `"program"`4084 - `"program"`

4014 4085 

4015 - `CustomToolCall object { call_id, input, name, 4 more }`4086 - `CustomToolCall object { call_id, input, name, 5 more }`

4016 4087 

4017 A call to a custom tool created by the model.4088 A call to a custom tool created by the model.

4018 4089 


4038 4109 

4039 The unique ID of the custom tool call in the OpenAI platform.4110 The unique ID of the custom tool call in the OpenAI platform.

4040 4111 

4112 - `async: optional boolean`

4113 

4114 Whether the custom tool call runs asynchronously.

4115 

4041 - `caller: optional object { type } or object { caller_id, type } or null`4116 - `caller: optional object { type } or object { caller_id, type } or null`

4042 4117 

4043 The execution context that produced this tool call.4118 The execution context that produced this tool call.


4532 4607 

4533 - `"final_answer"`4608 - `"final_answer"`

4534 4609 

4535 - `FunctionCall object { id, arguments, call_id, 6 more }`4610 - `FunctionCall object { id, arguments, call_id, 7 more }`

4536 4611 

4537 - `id: string`4612 - `id: string`

4538 4613 


4567 4642 

4568 - `"function_call"`4643 - `"function_call"`

4569 4644 

4645 - `async: optional boolean`

4646 

4647 Whether the function tool call runs asynchronously.

4648 

4570 - `caller: optional object { type } or object { caller_id, type } or null`4649 - `caller: optional object { type } or object { caller_id, type } or null`

4571 4650 

4572 The execution context that produced this tool call.4651 The execution context that produced this tool call.


5298 5377 

5299 - `"incomplete"`5378 - `"incomplete"`

5300 5379 

5301 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`5380 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

5302 5381 

5303 The loaded tool definitions returned by tool search.5382 The loaded tool definitions returned by tool search.

5304 5383 

5305 - `Function object { name, parameters, strict, 5 more }`5384 - `Function object { name, parameters, strict, 6 more }`

5306 5385 

5307 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).5386 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

5308 5387 


5332 5411 

5333 - `"programmatic"`5412 - `"programmatic"`

5334 5413 

5414 - `async: optional boolean`

5415 

5335 - `defer_loading: optional boolean`5416 - `defer_loading: optional boolean`

5336 5417 

5337 Whether this function is deferred and loaded via tool search.5418 Whether this function is deferred and loaded via tool search.


6125 6206 

6126 - `"container_reference"`6207 - `"container_reference"`

6127 6208 

6128 - `Custom object { name, type, allowed_callers, 3 more }`6209 - `Custom object { name, type, allowed_callers, 4 more }`

6129 6210 

6130 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6211 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6131 6212 


6147 6228 

6148 - `"programmatic"`6229 - `"programmatic"`

6149 6230 

6231 - `async: optional boolean`

6232 

6233 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6234 

6150 - `defer_loading: optional boolean`6235 - `defer_loading: optional boolean`

6151 6236 

6152 Whether this tool should be deferred and discovered via tool search.6237 Whether this tool should be deferred and discovered via tool search.


6203 6288 

6204 The namespace name used in tool calls (for example, `crm`).6289 The namespace name used in tool calls (for example, `crm`).

6205 6290 

6206 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`6291 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

6207 6292 

6208 The function/custom tools available inside this namespace.6293 The function/custom tools available inside this namespace.

6209 6294 

6210 - `Function object { name, type, allowed_callers, 5 more }`6295 - `Function object { name, type, allowed_callers, 6 more }`

6211 6296 

6212 - `name: string`6297 - `name: string`

6213 6298 


6223 6308 

6224 - `"programmatic"`6309 - `"programmatic"`

6225 6310 

6311 - `async: optional boolean`

6312 

6313 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6314 

6226 - `defer_loading: optional boolean`6315 - `defer_loading: optional boolean`

6227 6316 

6228 Whether this function should be deferred and discovered via tool search.6317 Whether this function should be deferred and discovered via tool search.


6239 6328 

6240 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.6329 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

6241 6330 

6242 - `Custom object { name, type, allowed_callers, 3 more }`6331 - `Custom object { name, type, allowed_callers, 4 more }`

6243 6332 

6244 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6333 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6245 6334 


6261 6350 

6262 - `"programmatic"`6351 - `"programmatic"`

6263 6352 

6353 - `async: optional boolean`

6354 

6355 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6356 

6264 - `defer_loading: optional boolean`6357 - `defer_loading: optional boolean`

6265 6358 

6266 Whether this tool should be deferred and discovered via tool search.6359 Whether this tool should be deferred and discovered via tool search.


6413 6506 

6414 - `"tool"`6507 - `"tool"`

6415 6508 

6416 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`6509 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

6417 6510 

6418 The additional tool definitions made available at this item.6511 The additional tool definitions made available at this item.

6419 6512 

6420 - `Function object { name, parameters, strict, 5 more }`6513 - `Function object { name, parameters, strict, 6 more }`

6421 6514 

6422 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).6515 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

6423 6516 


6447 6540 

6448 - `"programmatic"`6541 - `"programmatic"`

6449 6542 

6543 - `async: optional boolean`

6544 

6450 - `defer_loading: optional boolean`6545 - `defer_loading: optional boolean`

6451 6546 

6452 Whether this function is deferred and loaded via tool search.6547 Whether this function is deferred and loaded via tool search.


7023 7118 

7024 - `ContainerReference object { container_id, type }`7119 - `ContainerReference object { container_id, type }`

7025 7120 

7026 - `Custom object { name, type, allowed_callers, 3 more }`7121 - `Custom object { name, type, allowed_callers, 4 more }`

7027 7122 

7028 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)7123 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

7029 7124 


7045 7140 

7046 - `"programmatic"`7141 - `"programmatic"`

7047 7142 

7143 - `async: optional boolean`

7144 

7145 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

7146 

7048 - `defer_loading: optional boolean`7147 - `defer_loading: optional boolean`

7049 7148 

7050 Whether this tool should be deferred and discovered via tool search.7149 Whether this tool should be deferred and discovered via tool search.


7069 7168 

7070 The namespace name used in tool calls (for example, `crm`).7169 The namespace name used in tool calls (for example, `crm`).

7071 7170 

7072 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`7171 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

7073 7172 

7074 The function/custom tools available inside this namespace.7173 The function/custom tools available inside this namespace.

7075 7174 

7076 - `Function object { name, type, allowed_callers, 5 more }`7175 - `Function object { name, type, allowed_callers, 6 more }`

7077 7176 

7078 - `name: string`7177 - `name: string`

7079 7178 


7089 7188 

7090 - `"programmatic"`7189 - `"programmatic"`

7091 7190 

7191 - `async: optional boolean`

7192 

7193 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

7194 

7092 - `defer_loading: optional boolean`7195 - `defer_loading: optional boolean`

7093 7196 

7094 Whether this function should be deferred and discovered via tool search.7197 Whether this function should be deferred and discovered via tool search.


7105 7208 

7106 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.7209 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

7107 7210 

7108 - `Custom object { name, type, allowed_callers, 3 more }`7211 - `Custom object { name, type, allowed_callers, 4 more }`

7109 7212 

7110 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)7213 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

7111 7214 


7127 7230 

7128 - `"programmatic"`7231 - `"programmatic"`

7129 7232 

7233 - `async: optional boolean`

7234 

7235 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

7236 

7130 - `defer_loading: optional boolean`7237 - `defer_loading: optional boolean`

7131 7238 

7132 Whether this tool should be deferred and discovered via tool search.7239 Whether this tool should be deferred and discovered via tool search.


7249 7356 

7250 - `"additional_tools"`7357 - `"additional_tools"`

7251 7358 

7359 - `ConfigurationUpdate object { id, type, reasoning }`

7360 

7361 A configuration update that applies to subsequent responses until it is

7362 replaced by another configuration update.

7363 

7364 - `id: string`

7365 

7366 The unique ID of the configuration update item.

7367 

7368 - `type: "configuration_update"`

7369 

7370 The item type. Always `configuration_update`.

7371 

7372 - `"configuration_update"`

7373 

7374 - `reasoning: optional object { effort }`

7375 

7376 The reasoning configuration applied by this update.

7377 

7378 - `effort: optional ReasoningEffort or null`

7379 

7380 The reasoning effort used for subsequent responses until another

7381 configuration update replaces it.

7382 

7383 - `"none"`

7384 

7385 - `"minimal"`

7386 

7387 - `"low"`

7388 

7389 - `"medium"`

7390 

7391 - `"high"`

7392 

7393 - `"xhigh"`

7394 

7395 - `"max"`

7396 

7252 - `Reasoning object { id, summary, type, 3 more }`7397 - `Reasoning object { id, summary, type, 3 more }`

7253 7398 

7254 A description of the chain of thought used by a reasoning model while generating7399 A description of the chain of thought used by a reasoning model while generating


8069 8214 

8070 - `"failed"`8215 - `"failed"`

8071 8216 

8072 - `CustomToolCall object { call_id, input, name, 4 more }`8217 - `CustomToolCall object { call_id, input, name, 5 more }`

8073 8218 

8074 A call to a custom tool created by the model.8219 A call to a custom tool created by the model.

8075 8220 


8095 8240 

8096 The unique ID of the custom tool call in the OpenAI platform.8241 The unique ID of the custom tool call in the OpenAI platform.

8097 8242 

8243 - `async: optional boolean`

8244 

8245 Whether the custom tool call runs asynchronously.

8246 

8098 - `caller: optional object { type } or object { caller_id, type } or null`8247 - `caller: optional object { type } or object { caller_id, type } or null`

8099 8248 

8100 The execution context that produced this tool call.8249 The execution context that produced this tool call.

Details

448 448 

449 - `"final_answer"`449 - `"final_answer"`

450 450 

451 - `FunctionCall object { id, arguments, call_id, 6 more }`451 - `FunctionCall object { id, arguments, call_id, 7 more }`

452 452 

453 - `id: string`453 - `id: string`

454 454 


483 483 

484 - `"function_call"`484 - `"function_call"`

485 485 

486 - `async: optional boolean`

487 

488 Whether the function tool call runs asynchronously.

489 

486 - `caller: optional object { type } or object { caller_id, type } or null`490 - `caller: optional object { type } or object { caller_id, type } or null`

487 491 

488 The execution context that produced this tool call.492 The execution context that produced this tool call.


1214 1218 

1215 - `"incomplete"`1219 - `"incomplete"`

1216 1220 

1217 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1221 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1218 1222 

1219 The loaded tool definitions returned by tool search.1223 The loaded tool definitions returned by tool search.

1220 1224 

1221 - `Function object { name, parameters, strict, 5 more }`1225 - `Function object { name, parameters, strict, 6 more }`

1222 1226 

1223 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1227 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1224 1228 


1248 1252 

1249 - `"programmatic"`1253 - `"programmatic"`

1250 1254 

1255 - `async: optional boolean`

1256 

1251 - `defer_loading: optional boolean`1257 - `defer_loading: optional boolean`

1252 1258 

1253 Whether this function is deferred and loaded via tool search.1259 Whether this function is deferred and loaded via tool search.


2041 2047 

2042 - `"container_reference"`2048 - `"container_reference"`

2043 2049 

2044 - `Custom object { name, type, allowed_callers, 3 more }`2050 - `Custom object { name, type, allowed_callers, 4 more }`

2045 2051 

2046 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2052 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2047 2053 


2063 2069 

2064 - `"programmatic"`2070 - `"programmatic"`

2065 2071 

2072 - `async: optional boolean`

2073 

2074 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2075 

2066 - `defer_loading: optional boolean`2076 - `defer_loading: optional boolean`

2067 2077 

2068 Whether this tool should be deferred and discovered via tool search.2078 Whether this tool should be deferred and discovered via tool search.


2119 2129 

2120 The namespace name used in tool calls (for example, `crm`).2130 The namespace name used in tool calls (for example, `crm`).

2121 2131 

2122 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2132 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2123 2133 

2124 The function/custom tools available inside this namespace.2134 The function/custom tools available inside this namespace.

2125 2135 

2126 - `Function object { name, type, allowed_callers, 5 more }`2136 - `Function object { name, type, allowed_callers, 6 more }`

2127 2137 

2128 - `name: string`2138 - `name: string`

2129 2139 


2139 2149 

2140 - `"programmatic"`2150 - `"programmatic"`

2141 2151 

2152 - `async: optional boolean`

2153 

2154 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2155 

2142 - `defer_loading: optional boolean`2156 - `defer_loading: optional boolean`

2143 2157 

2144 Whether this function should be deferred and discovered via tool search.2158 Whether this function should be deferred and discovered via tool search.


2155 2169 

2156 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2170 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2157 2171 

2158 - `Custom object { name, type, allowed_callers, 3 more }`2172 - `Custom object { name, type, allowed_callers, 4 more }`

2159 2173 

2160 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2174 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2161 2175 


2177 2191 

2178 - `"programmatic"`2192 - `"programmatic"`

2179 2193 

2194 - `async: optional boolean`

2195 

2196 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2197 

2180 - `defer_loading: optional boolean`2198 - `defer_loading: optional boolean`

2181 2199 

2182 Whether this tool should be deferred and discovered via tool search.2200 Whether this tool should be deferred and discovered via tool search.


2329 2347 

2330 - `"tool"`2348 - `"tool"`

2331 2349 

2332 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2350 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2333 2351 

2334 The additional tool definitions made available at this item.2352 The additional tool definitions made available at this item.

2335 2353 

2336 - `Function object { name, parameters, strict, 5 more }`2354 - `Function object { name, parameters, strict, 6 more }`

2337 2355 

2338 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2356 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2339 2357 


2363 2381 

2364 - `"programmatic"`2382 - `"programmatic"`

2365 2383 

2384 - `async: optional boolean`

2385 

2366 - `defer_loading: optional boolean`2386 - `defer_loading: optional boolean`

2367 2387 

2368 Whether this function is deferred and loaded via tool search.2388 Whether this function is deferred and loaded via tool search.


2939 2959 

2940 - `ContainerReference object { container_id, type }`2960 - `ContainerReference object { container_id, type }`

2941 2961 

2942 - `Custom object { name, type, allowed_callers, 3 more }`2962 - `Custom object { name, type, allowed_callers, 4 more }`

2943 2963 

2944 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2964 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2945 2965 


2961 2981 

2962 - `"programmatic"`2982 - `"programmatic"`

2963 2983 

2984 - `async: optional boolean`

2985 

2986 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2987 

2964 - `defer_loading: optional boolean`2988 - `defer_loading: optional boolean`

2965 2989 

2966 Whether this tool should be deferred and discovered via tool search.2990 Whether this tool should be deferred and discovered via tool search.


2985 3009 

2986 The namespace name used in tool calls (for example, `crm`).3010 The namespace name used in tool calls (for example, `crm`).

2987 3011 

2988 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3012 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2989 3013 

2990 The function/custom tools available inside this namespace.3014 The function/custom tools available inside this namespace.

2991 3015 

2992 - `Function object { name, type, allowed_callers, 5 more }`3016 - `Function object { name, type, allowed_callers, 6 more }`

2993 3017 

2994 - `name: string`3018 - `name: string`

2995 3019 


3005 3029 

3006 - `"programmatic"`3030 - `"programmatic"`

3007 3031 

3032 - `async: optional boolean`

3033 

3034 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3035 

3008 - `defer_loading: optional boolean`3036 - `defer_loading: optional boolean`

3009 3037 

3010 Whether this function should be deferred and discovered via tool search.3038 Whether this function should be deferred and discovered via tool search.


3021 3049 

3022 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3050 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3023 3051 

3024 - `Custom object { name, type, allowed_callers, 3 more }`3052 - `Custom object { name, type, allowed_callers, 4 more }`

3025 3053 

3026 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3054 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3027 3055 


3043 3071 

3044 - `"programmatic"`3072 - `"programmatic"`

3045 3073 

3074 - `async: optional boolean`

3075 

3076 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3077 

3046 - `defer_loading: optional boolean`3078 - `defer_loading: optional boolean`

3047 3079 

3048 Whether this tool should be deferred and discovered via tool search.3080 Whether this tool should be deferred and discovered via tool search.


3165 3197 

3166 - `"additional_tools"`3198 - `"additional_tools"`

3167 3199 

3200 - `ConfigurationUpdate object { id, type, reasoning }`

3201 

3202 A configuration update that applies to subsequent responses until it is

3203 replaced by another configuration update.

3204 

3205 - `id: string`

3206 

3207 The unique ID of the configuration update item.

3208 

3209 - `type: "configuration_update"`

3210 

3211 The item type. Always `configuration_update`.

3212 

3213 - `"configuration_update"`

3214 

3215 - `reasoning: optional object { effort }`

3216 

3217 The reasoning configuration applied by this update.

3218 

3219 - `effort: optional ReasoningEffort or null`

3220 

3221 The reasoning effort used for subsequent responses until another

3222 configuration update replaces it.

3223 

3224 - `"none"`

3225 

3226 - `"minimal"`

3227 

3228 - `"low"`

3229 

3230 - `"medium"`

3231 

3232 - `"high"`

3233 

3234 - `"xhigh"`

3235 

3236 - `"max"`

3237 

3168 - `Reasoning object { id, summary, type, 3 more }`3238 - `Reasoning object { id, summary, type, 3 more }`

3169 3239 

3170 A description of the chain of thought used by a reasoning model while generating3240 A description of the chain of thought used by a reasoning model while generating


3985 4055 

3986 - `"failed"`4056 - `"failed"`

3987 4057 

3988 - `CustomToolCall object { call_id, input, name, 4 more }`4058 - `CustomToolCall object { call_id, input, name, 5 more }`

3989 4059 

3990 A call to a custom tool created by the model.4060 A call to a custom tool created by the model.

3991 4061 


4011 4081 

4012 The unique ID of the custom tool call in the OpenAI platform.4082 The unique ID of the custom tool call in the OpenAI platform.

4013 4083 

4084 - `async: optional boolean`

4085 

4086 Whether the custom tool call runs asynchronously.

4087 

4014 - `caller: optional object { type } or object { caller_id, type } or null`4088 - `caller: optional object { type } or object { caller_id, type } or null`

4015 4089 

4016 The execution context that produced this tool call.4090 The execution context that produced this tool call.

Details

35 35 

36### Returns36### Returns

37 37 

38- `ConversationItem = Message or object { id, arguments, call_id, 6 more } or object { id, output, status, 6 more } or 25 more`38- `ConversationItem = Message or object { id, arguments, call_id, 7 more } or object { id, output, status, 6 more } or 26 more`

39 39 

40 A single item within a conversation. The set of possible types are the same as the `output` type of a [Response object](/docs/api-reference/responses/object#responses/object-output).40 A single item within a conversation. The set of possible types are the same as the `output` type of a [Response object](/docs/api-reference/responses/object#responses/object-output).

41 41 


419 419 

420 - `"final_answer"`420 - `"final_answer"`

421 421 

422 - `FunctionCall object { id, arguments, call_id, 6 more }`422 - `FunctionCall object { id, arguments, call_id, 7 more }`

423 423 

424 - `id: string`424 - `id: string`

425 425 


454 454 

455 - `"function_call"`455 - `"function_call"`

456 456 

457 - `async: optional boolean`

458 

459 Whether the function tool call runs asynchronously.

460 

457 - `caller: optional object { type } or object { caller_id, type } or null`461 - `caller: optional object { type } or object { caller_id, type } or null`

458 462 

459 The execution context that produced this tool call.463 The execution context that produced this tool call.


1185 1189 

1186 - `"incomplete"`1190 - `"incomplete"`

1187 1191 

1188 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1192 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1189 1193 

1190 The loaded tool definitions returned by tool search.1194 The loaded tool definitions returned by tool search.

1191 1195 

1192 - `Function object { name, parameters, strict, 5 more }`1196 - `Function object { name, parameters, strict, 6 more }`

1193 1197 

1194 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1198 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1195 1199 


1219 1223 

1220 - `"programmatic"`1224 - `"programmatic"`

1221 1225 

1226 - `async: optional boolean`

1227 

1222 - `defer_loading: optional boolean`1228 - `defer_loading: optional boolean`

1223 1229 

1224 Whether this function is deferred and loaded via tool search.1230 Whether this function is deferred and loaded via tool search.


2012 2018 

2013 - `"container_reference"`2019 - `"container_reference"`

2014 2020 

2015 - `Custom object { name, type, allowed_callers, 3 more }`2021 - `Custom object { name, type, allowed_callers, 4 more }`

2016 2022 

2017 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2023 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2018 2024 


2034 2040 

2035 - `"programmatic"`2041 - `"programmatic"`

2036 2042 

2043 - `async: optional boolean`

2044 

2045 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2046 

2037 - `defer_loading: optional boolean`2047 - `defer_loading: optional boolean`

2038 2048 

2039 Whether this tool should be deferred and discovered via tool search.2049 Whether this tool should be deferred and discovered via tool search.


2090 2100 

2091 The namespace name used in tool calls (for example, `crm`).2101 The namespace name used in tool calls (for example, `crm`).

2092 2102 

2093 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2103 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2094 2104 

2095 The function/custom tools available inside this namespace.2105 The function/custom tools available inside this namespace.

2096 2106 

2097 - `Function object { name, type, allowed_callers, 5 more }`2107 - `Function object { name, type, allowed_callers, 6 more }`

2098 2108 

2099 - `name: string`2109 - `name: string`

2100 2110 


2110 2120 

2111 - `"programmatic"`2121 - `"programmatic"`

2112 2122 

2123 - `async: optional boolean`

2124 

2125 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2126 

2113 - `defer_loading: optional boolean`2127 - `defer_loading: optional boolean`

2114 2128 

2115 Whether this function should be deferred and discovered via tool search.2129 Whether this function should be deferred and discovered via tool search.


2126 2140 

2127 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2141 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2128 2142 

2129 - `Custom object { name, type, allowed_callers, 3 more }`2143 - `Custom object { name, type, allowed_callers, 4 more }`

2130 2144 

2131 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2145 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2132 2146 


2148 2162 

2149 - `"programmatic"`2163 - `"programmatic"`

2150 2164 

2165 - `async: optional boolean`

2166 

2167 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2168 

2151 - `defer_loading: optional boolean`2169 - `defer_loading: optional boolean`

2152 2170 

2153 Whether this tool should be deferred and discovered via tool search.2171 Whether this tool should be deferred and discovered via tool search.


2300 2318 

2301 - `"tool"`2319 - `"tool"`

2302 2320 

2303 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2321 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2304 2322 

2305 The additional tool definitions made available at this item.2323 The additional tool definitions made available at this item.

2306 2324 

2307 - `Function object { name, parameters, strict, 5 more }`2325 - `Function object { name, parameters, strict, 6 more }`

2308 2326 

2309 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2327 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2310 2328 


2334 2352 

2335 - `"programmatic"`2353 - `"programmatic"`

2336 2354 

2355 - `async: optional boolean`

2356 

2337 - `defer_loading: optional boolean`2357 - `defer_loading: optional boolean`

2338 2358 

2339 Whether this function is deferred and loaded via tool search.2359 Whether this function is deferred and loaded via tool search.


2910 2930 

2911 - `ContainerReference object { container_id, type }`2931 - `ContainerReference object { container_id, type }`

2912 2932 

2913 - `Custom object { name, type, allowed_callers, 3 more }`2933 - `Custom object { name, type, allowed_callers, 4 more }`

2914 2934 

2915 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2935 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2916 2936 


2932 2952 

2933 - `"programmatic"`2953 - `"programmatic"`

2934 2954 

2955 - `async: optional boolean`

2956 

2957 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2958 

2935 - `defer_loading: optional boolean`2959 - `defer_loading: optional boolean`

2936 2960 

2937 Whether this tool should be deferred and discovered via tool search.2961 Whether this tool should be deferred and discovered via tool search.


2956 2980 

2957 The namespace name used in tool calls (for example, `crm`).2981 The namespace name used in tool calls (for example, `crm`).

2958 2982 

2959 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2983 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2960 2984 

2961 The function/custom tools available inside this namespace.2985 The function/custom tools available inside this namespace.

2962 2986 

2963 - `Function object { name, type, allowed_callers, 5 more }`2987 - `Function object { name, type, allowed_callers, 6 more }`

2964 2988 

2965 - `name: string`2989 - `name: string`

2966 2990 


2976 3000 

2977 - `"programmatic"`3001 - `"programmatic"`

2978 3002 

3003 - `async: optional boolean`

3004 

3005 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3006 

2979 - `defer_loading: optional boolean`3007 - `defer_loading: optional boolean`

2980 3008 

2981 Whether this function should be deferred and discovered via tool search.3009 Whether this function should be deferred and discovered via tool search.


2992 3020 

2993 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3021 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2994 3022 

2995 - `Custom object { name, type, allowed_callers, 3 more }`3023 - `Custom object { name, type, allowed_callers, 4 more }`

2996 3024 

2997 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3025 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2998 3026 


3014 3042 

3015 - `"programmatic"`3043 - `"programmatic"`

3016 3044 

3045 - `async: optional boolean`

3046 

3047 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3048 

3017 - `defer_loading: optional boolean`3049 - `defer_loading: optional boolean`

3018 3050 

3019 Whether this tool should be deferred and discovered via tool search.3051 Whether this tool should be deferred and discovered via tool search.


3136 3168 

3137 - `"additional_tools"`3169 - `"additional_tools"`

3138 3170 

3171 - `ConfigurationUpdate object { id, type, reasoning }`

3172 

3173 A configuration update that applies to subsequent responses until it is

3174 replaced by another configuration update.

3175 

3176 - `id: string`

3177 

3178 The unique ID of the configuration update item.

3179 

3180 - `type: "configuration_update"`

3181 

3182 The item type. Always `configuration_update`.

3183 

3184 - `"configuration_update"`

3185 

3186 - `reasoning: optional object { effort }`

3187 

3188 The reasoning configuration applied by this update.

3189 

3190 - `effort: optional ReasoningEffort or null`

3191 

3192 The reasoning effort used for subsequent responses until another

3193 configuration update replaces it.

3194 

3195 - `"none"`

3196 

3197 - `"minimal"`

3198 

3199 - `"low"`

3200 

3201 - `"medium"`

3202 

3203 - `"high"`

3204 

3205 - `"xhigh"`

3206 

3207 - `"max"`

3208 

3139 - `Reasoning object { id, summary, type, 3 more }`3209 - `Reasoning object { id, summary, type, 3 more }`

3140 3210 

3141 A description of the chain of thought used by a reasoning model while generating3211 A description of the chain of thought used by a reasoning model while generating


3956 4026 

3957 - `"failed"`4027 - `"failed"`

3958 4028 

3959 - `CustomToolCall object { call_id, input, name, 4 more }`4029 - `CustomToolCall object { call_id, input, name, 5 more }`

3960 4030 

3961 A call to a custom tool created by the model.4031 A call to a custom tool created by the model.

3962 4032 


3982 4052 

3983 The unique ID of the custom tool call in the OpenAI platform.4053 The unique ID of the custom tool call in the OpenAI platform.

3984 4054 

4055 - `async: optional boolean`

4056 

4057 Whether the custom tool call runs asynchronously.

4058 

3985 - `caller: optional object { type } or object { caller_id, type } or null`4059 - `caller: optional object { type } or object { caller_id, type } or null`

3986 4060 

3987 The execution context that produced this tool call.4061 The execution context that produced this tool call.

Details

135 135 

136 - `model: optional string or null`136 - `model: optional string or null`

137 137 

138 An optional model to filter by (e.g., 'gpt-5.6-sol').138 An optional model to filter by (e.g., 'gpt-6-astra').

139 139 

140 - `type: "completions"`140 - `type: "completions"`

141 141 


940 model will not generate JSON without a system or user message instructing it940 model will not generate JSON without a system or user message instructing it

941 to do so.941 to do so.

942 942 

943 - `tools: optional array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`943 - `tools: optional array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

944 944 

945 An array of tools the model may call while generating a response. You945 An array of tools the model may call while generating a response. You

946 can specify which tool to use by setting the `tool_choice` parameter.946 can specify which tool to use by setting the `tool_choice` parameter.


955 enabling the model to call your own code. Learn more about955 enabling the model to call your own code. Learn more about

956 [function calling](/docs/guides/function-calling).956 [function calling](/docs/guides/function-calling).

957 957 

958 - `Function object { name, parameters, strict, 5 more }`958 - `Function object { name, parameters, strict, 6 more }`

959 959 

960 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).960 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

961 961 


985 985 

986 - `"programmatic"`986 - `"programmatic"`

987 987 

988 - `async: optional boolean`

989 

988 - `defer_loading: optional boolean`990 - `defer_loading: optional boolean`

989 991 

990 Whether this function is deferred and loaded via tool search.992 Whether this function is deferred and loaded via tool search.


1778 1780 

1779 - `"container_reference"`1781 - `"container_reference"`

1780 1782 

1781 - `Custom object { name, type, allowed_callers, 3 more }`1783 - `Custom object { name, type, allowed_callers, 4 more }`

1782 1784 

1783 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)1785 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

1784 1786 


1800 1802 

1801 - `"programmatic"`1803 - `"programmatic"`

1802 1804 

1805 - `async: optional boolean`

1806 

1807 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1808 

1803 - `defer_loading: optional boolean`1809 - `defer_loading: optional boolean`

1804 1810 

1805 Whether this tool should be deferred and discovered via tool search.1811 Whether this tool should be deferred and discovered via tool search.


1856 1862 

1857 The namespace name used in tool calls (for example, `crm`).1863 The namespace name used in tool calls (for example, `crm`).

1858 1864 

1859 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`1865 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

1860 1866 

1861 The function/custom tools available inside this namespace.1867 The function/custom tools available inside this namespace.

1862 1868 

1863 - `Function object { name, type, allowed_callers, 5 more }`1869 - `Function object { name, type, allowed_callers, 6 more }`

1864 1870 

1865 - `name: string`1871 - `name: string`

1866 1872 


1876 1882 

1877 - `"programmatic"`1883 - `"programmatic"`

1878 1884 

1885 - `async: optional boolean`

1886 

1887 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1888 

1879 - `defer_loading: optional boolean`1889 - `defer_loading: optional boolean`

1880 1890 

1881 Whether this function should be deferred and discovered via tool search.1891 Whether this function should be deferred and discovered via tool search.


1892 1902 

1893 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.1903 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

1894 1904 

1895 - `Custom object { name, type, allowed_callers, 3 more }`1905 - `Custom object { name, type, allowed_callers, 4 more }`

1896 1906 

1897 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)1907 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

1898 1908 


1914 1924 

1915 - `"programmatic"`1925 - `"programmatic"`

1916 1926 

1927 - `async: optional boolean`

1928 

1929 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1930 

1917 - `defer_loading: optional boolean`1931 - `defer_loading: optional boolean`

1918 1932 

1919 Whether this tool should be deferred and discovered via tool search.1933 Whether this tool should be deferred and discovered via tool search.


2232 "eval_id": "eval_67abd54d9b0081909a86353f6fb9317a",2246 "eval_id": "eval_67abd54d9b0081909a86353f6fb9317a",

2233 "report_url": "https://platform.openai.com/evaluations/eval_67abd54d9b0081909a86353f6fb9317a?run_id=evalrun_67abd54d60ec8190832b46859da808f7",2247 "report_url": "https://platform.openai.com/evaluations/eval_67abd54d9b0081909a86353f6fb9317a?run_id=evalrun_67abd54d60ec8190832b46859da808f7",

2234 "status": "canceled",2248 "status": "canceled",

2235 "model": "gpt-5.6-sol",2249 "model": "gpt-6-astra",

2236 "name": "gpt-5.6-sol",2250 "name": "gpt-6-astra",

2237 "created_at": 1743092069,2251 "created_at": 1743092069,

2238 "result_counts": {2252 "result_counts": {

2239 "total": 0,2253 "total": 0,


2361 }2375 }

2362 ]2376 ]

2363 },2377 },

2364 "model": "gpt-5.6-sol",2378 "model": "gpt-6-astra",

2365 "sampling_params": {2379 "sampling_params": {

2366 "max_completions_tokens": 20482380 "max_completions_tokens": 2048

2367 }2381 }

Details

125 125 

126 - `model: optional string or null`126 - `model: optional string or null`

127 127 

128 An optional model to filter by (e.g., 'gpt-5.6-sol').128 An optional model to filter by (e.g., 'gpt-6-astra').

129 129 

130 - `type: "completions"`130 - `type: "completions"`

131 131 


930 model will not generate JSON without a system or user message instructing it930 model will not generate JSON without a system or user message instructing it

931 to do so.931 to do so.

932 932 

933 - `tools: optional array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`933 - `tools: optional array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

934 934 

935 An array of tools the model may call while generating a response. You935 An array of tools the model may call while generating a response. You

936 can specify which tool to use by setting the `tool_choice` parameter.936 can specify which tool to use by setting the `tool_choice` parameter.


945 enabling the model to call your own code. Learn more about945 enabling the model to call your own code. Learn more about

946 [function calling](/docs/guides/function-calling).946 [function calling](/docs/guides/function-calling).

947 947 

948 - `Function object { name, parameters, strict, 5 more }`948 - `Function object { name, parameters, strict, 6 more }`

949 949 

950 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).950 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

951 951 


975 975 

976 - `"programmatic"`976 - `"programmatic"`

977 977 

978 - `async: optional boolean`

979 

978 - `defer_loading: optional boolean`980 - `defer_loading: optional boolean`

979 981 

980 Whether this function is deferred and loaded via tool search.982 Whether this function is deferred and loaded via tool search.


1768 1770 

1769 - `"container_reference"`1771 - `"container_reference"`

1770 1772 

1771 - `Custom object { name, type, allowed_callers, 3 more }`1773 - `Custom object { name, type, allowed_callers, 4 more }`

1772 1774 

1773 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)1775 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

1774 1776 


1790 1792 

1791 - `"programmatic"`1793 - `"programmatic"`

1792 1794 

1795 - `async: optional boolean`

1796 

1797 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1798 

1793 - `defer_loading: optional boolean`1799 - `defer_loading: optional boolean`

1794 1800 

1795 Whether this tool should be deferred and discovered via tool search.1801 Whether this tool should be deferred and discovered via tool search.


1846 1852 

1847 The namespace name used in tool calls (for example, `crm`).1853 The namespace name used in tool calls (for example, `crm`).

1848 1854 

1849 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`1855 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

1850 1856 

1851 The function/custom tools available inside this namespace.1857 The function/custom tools available inside this namespace.

1852 1858 

1853 - `Function object { name, type, allowed_callers, 5 more }`1859 - `Function object { name, type, allowed_callers, 6 more }`

1854 1860 

1855 - `name: string`1861 - `name: string`

1856 1862 


1866 1872 

1867 - `"programmatic"`1873 - `"programmatic"`

1868 1874 

1875 - `async: optional boolean`

1876 

1877 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1878 

1869 - `defer_loading: optional boolean`1879 - `defer_loading: optional boolean`

1870 1880 

1871 Whether this function should be deferred and discovered via tool search.1881 Whether this function should be deferred and discovered via tool search.


1882 1892 

1883 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.1893 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

1884 1894 

1885 - `Custom object { name, type, allowed_callers, 3 more }`1895 - `Custom object { name, type, allowed_callers, 4 more }`

1886 1896 

1887 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)1897 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

1888 1898 


1904 1914 

1905 - `"programmatic"`1915 - `"programmatic"`

1906 1916 

1917 - `async: optional boolean`

1918 

1919 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1920 

1907 - `defer_loading: optional boolean`1921 - `defer_loading: optional boolean`

1908 1922 

1909 Whether this tool should be deferred and discovered via tool search.1923 Whether this tool should be deferred and discovered via tool search.


2162 2176 

2163 - `model: optional string or null`2177 - `model: optional string or null`

2164 2178 

2165 An optional model to filter by (e.g., 'gpt-5.6-sol').2179 An optional model to filter by (e.g., 'gpt-6-astra').

2166 2180 

2167 - `type: "completions"`2181 - `type: "completions"`

2168 2182 


2967 model will not generate JSON without a system or user message instructing it2981 model will not generate JSON without a system or user message instructing it

2968 to do so.2982 to do so.

2969 2983 

2970 - `tools: optional array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2984 - `tools: optional array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2971 2985 

2972 An array of tools the model may call while generating a response. You2986 An array of tools the model may call while generating a response. You

2973 can specify which tool to use by setting the `tool_choice` parameter.2987 can specify which tool to use by setting the `tool_choice` parameter.


2982 enabling the model to call your own code. Learn more about2996 enabling the model to call your own code. Learn more about

2983 [function calling](/docs/guides/function-calling).2997 [function calling](/docs/guides/function-calling).

2984 2998 

2985 - `Function object { name, parameters, strict, 5 more }`2999 - `Function object { name, parameters, strict, 6 more }`

2986 3000 

2987 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).3001 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2988 3002 


3012 3026 

3013 - `"programmatic"`3027 - `"programmatic"`

3014 3028 

3029 - `async: optional boolean`

3030 

3015 - `defer_loading: optional boolean`3031 - `defer_loading: optional boolean`

3016 3032 

3017 Whether this function is deferred and loaded via tool search.3033 Whether this function is deferred and loaded via tool search.


3805 3821 

3806 - `"container_reference"`3822 - `"container_reference"`

3807 3823 

3808 - `Custom object { name, type, allowed_callers, 3 more }`3824 - `Custom object { name, type, allowed_callers, 4 more }`

3809 3825 

3810 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3826 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3811 3827 


3827 3843 

3828 - `"programmatic"`3844 - `"programmatic"`

3829 3845 

3846 - `async: optional boolean`

3847 

3848 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3849 

3830 - `defer_loading: optional boolean`3850 - `defer_loading: optional boolean`

3831 3851 

3832 Whether this tool should be deferred and discovered via tool search.3852 Whether this tool should be deferred and discovered via tool search.


3883 3903 

3884 The namespace name used in tool calls (for example, `crm`).3904 The namespace name used in tool calls (for example, `crm`).

3885 3905 

3886 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3906 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3887 3907 

3888 The function/custom tools available inside this namespace.3908 The function/custom tools available inside this namespace.

3889 3909 

3890 - `Function object { name, type, allowed_callers, 5 more }`3910 - `Function object { name, type, allowed_callers, 6 more }`

3891 3911 

3892 - `name: string`3912 - `name: string`

3893 3913 


3903 3923 

3904 - `"programmatic"`3924 - `"programmatic"`

3905 3925 

3926 - `async: optional boolean`

3927 

3928 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3929 

3906 - `defer_loading: optional boolean`3930 - `defer_loading: optional boolean`

3907 3931 

3908 Whether this function should be deferred and discovered via tool search.3932 Whether this function should be deferred and discovered via tool search.


3919 3943 

3920 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3944 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3921 3945 

3922 - `Custom object { name, type, allowed_callers, 3 more }`3946 - `Custom object { name, type, allowed_callers, 4 more }`

3923 3947 

3924 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3948 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3925 3949 


3941 3965 

3942 - `"programmatic"`3966 - `"programmatic"`

3943 3967 

3968 - `async: optional boolean`

3969 

3970 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3971 

3944 - `defer_loading: optional boolean`3972 - `defer_loading: optional boolean`

3945 3973 

3946 Whether this tool should be deferred and discovered via tool search.3974 Whether this tool should be deferred and discovered via tool search.


4263 -X POST \4291 -X POST \

4264 -H "Authorization: Bearer $OPENAI_API_KEY" \4292 -H "Authorization: Bearer $OPENAI_API_KEY" \

4265 -H "Content-Type: application/json" \4293 -H "Content-Type: application/json" \

4266 -d '{"name":"gpt-5.6-sol","data_source":{"type":"completions","input_messages":{"type":"template","template":[{"role":"developer","content":"Categorize a given news headline into one of the following topics: Technology, Markets, World, Business, or Sports.\n\n# Steps\n\n1. Analyze the content of the news headline to understand its primary focus.\n2. Extract the subject matter, identifying any key indicators or keywords.\n3. Use the identified indicators to determine the most suitable category out of the five options: Technology, Markets, World, Business, or Sports.\n4. Ensure only one category is selected per headline.\n\n# Output Format\n\nRespond with the chosen category as a single word. For instance: \"Technology\", \"Markets\", \"World\", \"Business\", or \"Sports\".\n\n# Examples\n\n**Input**: \"Apple Unveils New iPhone Model, Featuring Advanced AI Features\" \n**Output**: \"Technology\"\n\n**Input**: \"Global Stocks Mixed as Investors Await Central Bank Decisions\" \n**Output**: \"Markets\"\n\n**Input**: \"War in Ukraine: Latest Updates on Negotiation Status\" \n**Output**: \"World\"\n\n**Input**: \"Microsoft in Talks to Acquire Gaming Company for $2 Billion\" \n**Output**: \"Business\"\n\n**Input**: \"Manchester United Secures Win in Premier League Football Match\" \n**Output**: \"Sports\" \n\n# Notes\n\n- If the headline appears to fit into more than one category, choose the most dominant theme.\n- Keywords or phrases such as \"stocks\", \"company acquisition\", \"match\", or technological brands can be good indicators for classification.\n"} , {"role":"user","content":"{{item.input}}"}]} ,"sampling_params":{"max_completions_tokens":2048},"model":"gpt-5.6-sol","source":{"type":"file_content","content":[{"item":{"input":"Tech Company Launches Advanced Artificial Intelligence Platform","ground_truth":"Technology"}}]}}}'4294 -d '{"name":"gpt-6-astra","data_source":{"type":"completions","input_messages":{"type":"template","template":[{"role":"developer","content":"Categorize a given news headline into one of the following topics: Technology, Markets, World, Business, or Sports.\n\n# Steps\n\n1. Analyze the content of the news headline to understand its primary focus.\n2. Extract the subject matter, identifying any key indicators or keywords.\n3. Use the identified indicators to determine the most suitable category out of the five options: Technology, Markets, World, Business, or Sports.\n4. Ensure only one category is selected per headline.\n\n# Output Format\n\nRespond with the chosen category as a single word. For instance: \"Technology\", \"Markets\", \"World\", \"Business\", or \"Sports\".\n\n# Examples\n\n**Input**: \"Apple Unveils New iPhone Model, Featuring Advanced AI Features\" \n**Output**: \"Technology\"\n\n**Input**: \"Global Stocks Mixed as Investors Await Central Bank Decisions\" \n**Output**: \"Markets\"\n\n**Input**: \"War in Ukraine: Latest Updates on Negotiation Status\" \n**Output**: \"World\"\n\n**Input**: \"Microsoft in Talks to Acquire Gaming Company for $2 Billion\" \n**Output**: \"Business\"\n\n**Input**: \"Manchester United Secures Win in Premier League Football Match\" \n**Output**: \"Sports\" \n\n# Notes\n\n- If the headline appears to fit into more than one category, choose the most dominant theme.\n- Keywords or phrases such as \"stocks\", \"company acquisition\", \"match\", or technological brands can be good indicators for classification.\n"} , {"role":"user","content":"{{item.input}}"}]} ,"sampling_params":{"max_completions_tokens":2048},"model":"gpt-6-astra","source":{"type":"file_content","content":[{"item":{"input":"Tech Company Launches Advanced Artificial Intelligence Platform","ground_truth":"Technology"}}]}}}'

4267```4295```

4268 4296 

4269#### Response4297#### Response


4275 "eval_id": "eval_67e579652b548190aaa83ada4b125f47",4303 "eval_id": "eval_67e579652b548190aaa83ada4b125f47",

4276 "report_url": "https://platform.openai.com/evaluations/eval_67e579652b548190aaa83ada4b125f47&run_id=evalrun_67e57965b480819094274e3a32235e4c",4304 "report_url": "https://platform.openai.com/evaluations/eval_67e579652b548190aaa83ada4b125f47&run_id=evalrun_67e57965b480819094274e3a32235e4c",

4277 "status": "queued",4305 "status": "queued",

4278 "model": "gpt-5.6-sol",4306 "model": "gpt-6-astra",

4279 "name": "gpt-5.6-sol",4307 "name": "gpt-6-astra",

4280 "created_at": 1743092069,4308 "created_at": 1743092069,

4281 "result_counts": {4309 "result_counts": {

4282 "total": 0,4310 "total": 0,


4320 }4348 }

4321 ]4349 ]

4322 },4350 },

4323 "model": "gpt-5.6-sol",4351 "model": "gpt-6-astra",

4324 "sampling_params": {4352 "sampling_params": {

4325 "max_completions_tokens": 20484353 "max_completions_tokens": 2048

4326 }4354 }

Details

169 169 

170 - `model: optional string or null`170 - `model: optional string or null`

171 171 

172 An optional model to filter by (e.g., 'gpt-5.6-sol').172 An optional model to filter by (e.g., 'gpt-6-astra').

173 173 

174 - `type: "completions"`174 - `type: "completions"`

175 175 


974 model will not generate JSON without a system or user message instructing it974 model will not generate JSON without a system or user message instructing it

975 to do so.975 to do so.

976 976 

977 - `tools: optional array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`977 - `tools: optional array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

978 978 

979 An array of tools the model may call while generating a response. You979 An array of tools the model may call while generating a response. You

980 can specify which tool to use by setting the `tool_choice` parameter.980 can specify which tool to use by setting the `tool_choice` parameter.


989 enabling the model to call your own code. Learn more about989 enabling the model to call your own code. Learn more about

990 [function calling](/docs/guides/function-calling).990 [function calling](/docs/guides/function-calling).

991 991 

992 - `Function object { name, parameters, strict, 5 more }`992 - `Function object { name, parameters, strict, 6 more }`

993 993 

994 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).994 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

995 995 


1019 1019 

1020 - `"programmatic"`1020 - `"programmatic"`

1021 1021 

1022 - `async: optional boolean`

1023 

1022 - `defer_loading: optional boolean`1024 - `defer_loading: optional boolean`

1023 1025 

1024 Whether this function is deferred and loaded via tool search.1026 Whether this function is deferred and loaded via tool search.


1812 1814 

1813 - `"container_reference"`1815 - `"container_reference"`

1814 1816 

1815 - `Custom object { name, type, allowed_callers, 3 more }`1817 - `Custom object { name, type, allowed_callers, 4 more }`

1816 1818 

1817 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)1819 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

1818 1820 


1834 1836 

1835 - `"programmatic"`1837 - `"programmatic"`

1836 1838 

1839 - `async: optional boolean`

1840 

1841 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1842 

1837 - `defer_loading: optional boolean`1843 - `defer_loading: optional boolean`

1838 1844 

1839 Whether this tool should be deferred and discovered via tool search.1845 Whether this tool should be deferred and discovered via tool search.


1890 1896 

1891 The namespace name used in tool calls (for example, `crm`).1897 The namespace name used in tool calls (for example, `crm`).

1892 1898 

1893 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`1899 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

1894 1900 

1895 The function/custom tools available inside this namespace.1901 The function/custom tools available inside this namespace.

1896 1902 

1897 - `Function object { name, type, allowed_callers, 5 more }`1903 - `Function object { name, type, allowed_callers, 6 more }`

1898 1904 

1899 - `name: string`1905 - `name: string`

1900 1906 


1910 1916 

1911 - `"programmatic"`1917 - `"programmatic"`

1912 1918 

1919 - `async: optional boolean`

1920 

1921 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1922 

1913 - `defer_loading: optional boolean`1923 - `defer_loading: optional boolean`

1914 1924 

1915 Whether this function should be deferred and discovered via tool search.1925 Whether this function should be deferred and discovered via tool search.


1926 1936 

1927 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.1937 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

1928 1938 

1929 - `Custom object { name, type, allowed_callers, 3 more }`1939 - `Custom object { name, type, allowed_callers, 4 more }`

1930 1940 

1931 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)1941 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

1932 1942 


1948 1958 

1949 - `"programmatic"`1959 - `"programmatic"`

1950 1960 

1961 - `async: optional boolean`

1962 

1963 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1964 

1951 - `defer_loading: optional boolean`1965 - `defer_loading: optional boolean`

1952 1966 

1953 Whether this tool should be deferred and discovered via tool search.1967 Whether this tool should be deferred and discovered via tool search.

Details

135 135 

136 - `model: optional string or null`136 - `model: optional string or null`

137 137 

138 An optional model to filter by (e.g., 'gpt-5.6-sol').138 An optional model to filter by (e.g., 'gpt-6-astra').

139 139 

140 - `type: "completions"`140 - `type: "completions"`

141 141 


940 model will not generate JSON without a system or user message instructing it940 model will not generate JSON without a system or user message instructing it

941 to do so.941 to do so.

942 942 

943 - `tools: optional array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`943 - `tools: optional array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

944 944 

945 An array of tools the model may call while generating a response. You945 An array of tools the model may call while generating a response. You

946 can specify which tool to use by setting the `tool_choice` parameter.946 can specify which tool to use by setting the `tool_choice` parameter.


955 enabling the model to call your own code. Learn more about955 enabling the model to call your own code. Learn more about

956 [function calling](/docs/guides/function-calling).956 [function calling](/docs/guides/function-calling).

957 957 

958 - `Function object { name, parameters, strict, 5 more }`958 - `Function object { name, parameters, strict, 6 more }`

959 959 

960 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).960 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

961 961 


985 985 

986 - `"programmatic"`986 - `"programmatic"`

987 987 

988 - `async: optional boolean`

989 

988 - `defer_loading: optional boolean`990 - `defer_loading: optional boolean`

989 991 

990 Whether this function is deferred and loaded via tool search.992 Whether this function is deferred and loaded via tool search.


1778 1780 

1779 - `"container_reference"`1781 - `"container_reference"`

1780 1782 

1781 - `Custom object { name, type, allowed_callers, 3 more }`1783 - `Custom object { name, type, allowed_callers, 4 more }`

1782 1784 

1783 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)1785 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

1784 1786 


1800 1802 

1801 - `"programmatic"`1803 - `"programmatic"`

1802 1804 

1805 - `async: optional boolean`

1806 

1807 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1808 

1803 - `defer_loading: optional boolean`1809 - `defer_loading: optional boolean`

1804 1810 

1805 Whether this tool should be deferred and discovered via tool search.1811 Whether this tool should be deferred and discovered via tool search.


1856 1862 

1857 The namespace name used in tool calls (for example, `crm`).1863 The namespace name used in tool calls (for example, `crm`).

1858 1864 

1859 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`1865 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

1860 1866 

1861 The function/custom tools available inside this namespace.1867 The function/custom tools available inside this namespace.

1862 1868 

1863 - `Function object { name, type, allowed_callers, 5 more }`1869 - `Function object { name, type, allowed_callers, 6 more }`

1864 1870 

1865 - `name: string`1871 - `name: string`

1866 1872 


1876 1882 

1877 - `"programmatic"`1883 - `"programmatic"`

1878 1884 

1885 - `async: optional boolean`

1886 

1887 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1888 

1879 - `defer_loading: optional boolean`1889 - `defer_loading: optional boolean`

1880 1890 

1881 Whether this function should be deferred and discovered via tool search.1891 Whether this function should be deferred and discovered via tool search.


1892 1902 

1893 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.1903 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

1894 1904 

1895 - `Custom object { name, type, allowed_callers, 3 more }`1905 - `Custom object { name, type, allowed_callers, 4 more }`

1896 1906 

1897 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)1907 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

1898 1908 


1914 1924 

1915 - `"programmatic"`1925 - `"programmatic"`

1916 1926 

1927 - `async: optional boolean`

1928 

1929 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1930 

1917 - `defer_loading: optional boolean`1931 - `defer_loading: optional boolean`

1918 1932 

1919 Whether this tool should be deferred and discovered via tool search.1933 Whether this tool should be deferred and discovered via tool search.


2230 "eval_id": "eval_67abd54d9b0081909a86353f6fb9317a",2244 "eval_id": "eval_67abd54d9b0081909a86353f6fb9317a",

2231 "report_url": "https://platform.openai.com/evaluations/eval_67abd54d9b0081909a86353f6fb9317a?run_id=evalrun_67abd54d60ec8190832b46859da808f7",2245 "report_url": "https://platform.openai.com/evaluations/eval_67abd54d9b0081909a86353f6fb9317a?run_id=evalrun_67abd54d60ec8190832b46859da808f7",

2232 "status": "queued",2246 "status": "queued",

2233 "model": "gpt-5.6-sol",2247 "model": "gpt-6-astra",

2234 "name": "gpt-5.6-sol",2248 "name": "gpt-6-astra",

2235 "created_at": 1743092069,2249 "created_at": 1743092069,

2236 "result_counts": {2250 "result_counts": {

2237 "total": 0,2251 "total": 0,


2359 }2373 }

2360 ]2374 ]

2361 },2375 },

2362 "model": "gpt-5.6-sol",2376 "model": "gpt-6-astra",

2363 "sampling_params": {2377 "sampling_params": {

2364 "max_completions_tokens": 20482378 "max_completions_tokens": 2048

2365 }2379 }

Details

58### Example58### Example

59 59 

60```http60```http

61curl https://api.openai.com/v1/models/gpt-5.6-sol \61curl https://api.openai.com/v1/models/gpt-6-astra \

62 -H "Authorization: Bearer $OPENAI_API_KEY"62 -H "Authorization: Bearer $OPENAI_API_KEY"

63```63```

64 64 


66 66 

67```json67```json

68{68{

69 "id": "gpt-5.6-sol",69 "id": "gpt-6-astra",

70 "object": "model",70 "object": "model",

71 "created": 1686935002,71 "created": 1686935002,

72 "owned_by": "openai",72 "owned_by": "openai",

Details

12 12 

13### Returns13### Returns

14 14 

15- `Response object { id, created_at, error, 32 more }`15- `Response object { id, created_at, error, 33 more }`

16 16 

17 - `id: string`17 - `id: string`

18 18 


26 26 

27 An error object returned when the model fails to generate a Response.27 An error object returned when the model fails to generate a Response.

28 28 

29 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 17 more`29 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 18 more`

30 30 

31 The error code for the response.31 The error code for the response.

32 32 


40 40 

41 - `"bio_policy"`41 - `"bio_policy"`

42 42 

43 - `"misalignment_policy_violation"`

44 

43 - `"vector_store_timeout"`45 - `"vector_store_timeout"`

44 46 

45 - `"invalid_image"`47 - `"invalid_image"`


74 76 

75 A human-readable description of the error.77 A human-readable description of the error.

76 78 

79 - `misalignment: optional object { detailed_explanation, error_type, steer }`

80 

81 - `detailed_explanation: optional string`

82 

83 The public explanation for this block.

84 

85 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

86 

87 An optional classification; clients must accept additional values.

88 

89 - `string`

90 

91 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

92 

93 An optional classification; clients must accept additional values.

94 

95 - `"potentially_unintended_data_transfer"`

96 

97 - `"potentially_unintended_data_access"`

98 

99 - `"potentially_unintended_destructive_activity"`

100 

101 - `"other"`

102 

103 - `steer: optional object { message }`

104 

105 An optional public continuation instruction.

106 

107 - `message: string`

108 

109 The public continuation instruction.

110 

77 - `incomplete_details: object { reason } or null`111 - `incomplete_details: object { reason } or null`

78 112 

79 Details about why the response is incomplete.113 Details about why the response is incomplete.

80 114 

81 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter"`115 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter" or "steered"`

82 116 

83 The reason why the response is incomplete.117 The reason why the response is incomplete. `steered` means

118 the response stopped at a safe output boundary after a

119 WebSocket `response.steer` event. The server can then create

120 a successor response automatically with the queued input.

84 121 

85 - `"max_output_tokens"`122 - `"max_output_tokens"`

86 123 


88 125 

89 - `"content_filter"`126 - `"content_filter"`

90 127 

91 - `instructions: string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more or null`128 - `"steered"`

129 

130 - `instructions: string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more or null`

92 131 

93 A system (or developer) message inserted into the model's context.132 A system (or developer) message inserted into the model's context.

94 133 


101 A text input to the model, equivalent to a text input with the140 A text input to the model, equivalent to a text input with the

102 `developer` role.141 `developer` role.

103 142 

104 - `InputItemList = array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more`143 - `InputItemList = array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more`

105 144 

106 A list of one or many input items to the model, containing145 A list of one or many input items to the model, containing

107 different content types.146 different content types.


1003 1042 

1004 - `"web_search_call"`1043 - `"web_search_call"`

1005 1044 

1006 - `FunctionCall object { arguments, call_id, name, 5 more }`1045 - `FunctionCall object { arguments, call_id, name, 6 more }`

1007 1046 

1008 A tool call to run a function. See the1047 A tool call to run a function. See the

1009 [function calling guide](/docs/guides/function-calling) for more information.1048 [function calling guide](/docs/guides/function-calling) for more information.


1030 1069 

1031 The unique ID of the function tool call.1070 The unique ID of the function tool call.

1032 1071 

1072 - `async: optional boolean`

1073 

1074 Whether the function tool call runs asynchronously.

1075 

1033 - `caller: optional object { type } or object { caller_id, type } or null`1076 - `caller: optional object { type } or object { caller_id, type } or null`

1034 1077 

1035 The execution context that produced this tool call.1078 The execution context that produced this tool call.


1279 1322 

1280 - `ToolSearchOutput object { tools, type, id, 3 more }`1323 - `ToolSearchOutput object { tools, type, id, 3 more }`

1281 1324 

1282 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1325 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1283 1326 

1284 The loaded tool definitions returned by the tool search output.1327 The loaded tool definitions returned by the tool search output.

1285 1328 

1286 - `Function object { name, parameters, strict, 5 more }`1329 - `Function object { name, parameters, strict, 6 more }`

1287 1330 

1288 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1331 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1289 1332 


1313 1356 

1314 - `"programmatic"`1357 - `"programmatic"`

1315 1358 

1359 - `async: optional boolean`

1360 

1316 - `defer_loading: optional boolean`1361 - `defer_loading: optional boolean`

1317 1362 

1318 Whether this function is deferred and loaded via tool search.1363 Whether this function is deferred and loaded via tool search.


2106 2151 

2107 - `"container_reference"`2152 - `"container_reference"`

2108 2153 

2109 - `Custom object { name, type, allowed_callers, 3 more }`2154 - `Custom object { name, type, allowed_callers, 4 more }`

2110 2155 

2111 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2156 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2112 2157 


2128 2173 

2129 - `"programmatic"`2174 - `"programmatic"`

2130 2175 

2176 - `async: optional boolean`

2177 

2178 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2179 

2131 - `defer_loading: optional boolean`2180 - `defer_loading: optional boolean`

2132 2181 

2133 Whether this tool should be deferred and discovered via tool search.2182 Whether this tool should be deferred and discovered via tool search.


2184 2233 

2185 The namespace name used in tool calls (for example, `crm`).2234 The namespace name used in tool calls (for example, `crm`).

2186 2235 

2187 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2236 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2188 2237 

2189 The function/custom tools available inside this namespace.2238 The function/custom tools available inside this namespace.

2190 2239 

2191 - `Function object { name, type, allowed_callers, 5 more }`2240 - `Function object { name, type, allowed_callers, 6 more }`

2192 2241 

2193 - `name: string`2242 - `name: string`

2194 2243 


2204 2253 

2205 - `"programmatic"`2254 - `"programmatic"`

2206 2255 

2256 - `async: optional boolean`

2257 

2258 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2259 

2207 - `defer_loading: optional boolean`2260 - `defer_loading: optional boolean`

2208 2261 

2209 Whether this function should be deferred and discovered via tool search.2262 Whether this function should be deferred and discovered via tool search.


2220 2273 

2221 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2274 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2222 2275 

2223 - `Custom object { name, type, allowed_callers, 3 more }`2276 - `Custom object { name, type, allowed_callers, 4 more }`

2224 2277 

2225 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2278 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2226 2279 


2242 2295 

2243 - `"programmatic"`2296 - `"programmatic"`

2244 2297 

2298 - `async: optional boolean`

2299 

2300 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2301 

2245 - `defer_loading: optional boolean`2302 - `defer_loading: optional boolean`

2246 2303 

2247 Whether this tool should be deferred and discovered via tool search.2304 Whether this tool should be deferred and discovered via tool search.


2398 2455 

2399 - `"developer"`2456 - `"developer"`

2400 2457 

2401 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2458 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2402 2459 

2403 A list of additional tools made available at this item.2460 A list of additional tools made available at this item.

2404 2461 

2405 - `Function object { name, parameters, strict, 5 more }`2462 - `Function object { name, parameters, strict, 6 more }`

2406 2463 

2407 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2464 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2408 2465 


2432 2489 

2433 - `"programmatic"`2490 - `"programmatic"`

2434 2491 

2492 - `async: optional boolean`

2493 

2435 - `defer_loading: optional boolean`2494 - `defer_loading: optional boolean`

2436 2495 

2437 Whether this function is deferred and loaded via tool search.2496 Whether this function is deferred and loaded via tool search.


3008 3067 

3009 - `ContainerReference object { container_id, type }`3068 - `ContainerReference object { container_id, type }`

3010 3069 

3011 - `Custom object { name, type, allowed_callers, 3 more }`3070 - `Custom object { name, type, allowed_callers, 4 more }`

3012 3071 

3013 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3072 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3014 3073 


3030 3089 

3031 - `"programmatic"`3090 - `"programmatic"`

3032 3091 

3092 - `async: optional boolean`

3093 

3094 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3095 

3033 - `defer_loading: optional boolean`3096 - `defer_loading: optional boolean`

3034 3097 

3035 Whether this tool should be deferred and discovered via tool search.3098 Whether this tool should be deferred and discovered via tool search.


3054 3117 

3055 The namespace name used in tool calls (for example, `crm`).3118 The namespace name used in tool calls (for example, `crm`).

3056 3119 

3057 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3120 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3058 3121 

3059 The function/custom tools available inside this namespace.3122 The function/custom tools available inside this namespace.

3060 3123 

3061 - `Function object { name, type, allowed_callers, 5 more }`3124 - `Function object { name, type, allowed_callers, 6 more }`

3062 3125 

3063 - `name: string`3126 - `name: string`

3064 3127 


3074 3137 

3075 - `"programmatic"`3138 - `"programmatic"`

3076 3139 

3140 - `async: optional boolean`

3141 

3142 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3143 

3077 - `defer_loading: optional boolean`3144 - `defer_loading: optional boolean`

3078 3145 

3079 Whether this function should be deferred and discovered via tool search.3146 Whether this function should be deferred and discovered via tool search.


3090 3157 

3091 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3158 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3092 3159 

3093 - `Custom object { name, type, allowed_callers, 3 more }`3160 - `Custom object { name, type, allowed_callers, 4 more }`

3094 3161 

3095 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3162 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3096 3163 


3112 3179 

3113 - `"programmatic"`3180 - `"programmatic"`

3114 3181 

3182 - `async: optional boolean`

3183 

3184 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3185 

3115 - `defer_loading: optional boolean`3186 - `defer_loading: optional boolean`

3116 3187 

3117 Whether this tool should be deferred and discovered via tool search.3188 Whether this tool should be deferred and discovered via tool search.


3238 3309 

3239 The unique ID of this additional tools item.3310 The unique ID of this additional tools item.

3240 3311 

3312 - `ConfigurationUpdate object { type, id, reasoning }`

3313 

3314 An update to the conversation's response configuration. The configuration

3315 remains in effect for subsequent responses until it is replaced by another

3316 configuration update.

3317 

3318 - `type: "configuration_update"`

3319 

3320 The item type. Always `configuration_update`.

3321 

3322 - `"configuration_update"`

3323 

3324 - `id: optional string or null`

3325 

3326 The unique ID of the configuration update item.

3327 

3328 - `reasoning: optional object { effort }`

3329 

3330 Updates to reasoning configuration. Only effort is supported.

3331 

3332 - `effort: optional ReasoningEffort or null`

3333 

3334 The reasoning effort to use for subsequent responses until another

3335 configuration update replaces it.

3336 

3337 - `"none"`

3338 

3339 - `"minimal"`

3340 

3341 - `"low"`

3342 

3343 - `"medium"`

3344 

3345 - `"high"`

3346 

3347 - `"xhigh"`

3348 

3349 - `"max"`

3350 

3241 - `Reasoning object { id, summary, type, 3 more }`3351 - `Reasoning object { id, summary, type, 3 more }`

3242 3352 

3243 A description of the chain of thought used by a reasoning model while generating3353 A description of the chain of thought used by a reasoning model while generating


4081 4191 

4082 - `"program"`4192 - `"program"`

4083 4193 

4084 - `CustomToolCall object { call_id, input, name, 4 more }`4194 - `CustomToolCall object { call_id, input, name, 5 more }`

4085 4195 

4086 A call to a custom tool created by the model.4196 A call to a custom tool created by the model.

4087 4197 


4107 4217 

4108 The unique ID of the custom tool call in the OpenAI platform.4218 The unique ID of the custom tool call in the OpenAI platform.

4109 4219 

4220 - `async: optional boolean`

4221 

4222 Whether the custom tool call runs asynchronously.

4223 

4110 - `caller: optional object { type } or object { caller_id, type } or null`4224 - `caller: optional object { type } or object { caller_id, type } or null`

4111 4225 

4112 The execution context that produced this tool call.4226 The execution context that produced this tool call.


4222 4336 

4223 - `model: ResponsesModel`4337 - `model: ResponsesModel`

4224 4338 

4225 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI4339 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

4226 offers a wide range of models with different capabilities, performance4340 offers a wide range of models with different capabilities, performance

4227 characteristics, and price points. Refer to the [model guide](/docs/models)4341 characteristics, and price points. Refer to the [model guide](/docs/models)

4228 to browse and compare available models.4342 to browse and compare available models.

4229 4343 

4230 - `string`4344 - `string`

4231 4345 

4232 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 80 more`4346 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 81 more`

4347 

4348 - `"gpt-6-astra"`

4233 4349 

4234 - `"gpt-5.6-sol"`4350 - `"gpt-5.6-sol"`

4235 4351 


4526 4642 

4527 The text that was retrieved from the file.4643 The text that was retrieved from the file.

4528 4644 

4529 - `FunctionCall object { arguments, call_id, name, 5 more }`4645 - `FunctionCall object { arguments, call_id, name, 6 more }`

4530 4646 

4531 A tool call to run a function. See the4647 A tool call to run a function. See the

4532 [function calling guide](/docs/guides/function-calling) for more information.4648 [function calling guide](/docs/guides/function-calling) for more information.


4553 4669 

4554 The unique ID of the function tool call.4670 The unique ID of the function tool call.

4555 4671 

4672 - `async: optional boolean`

4673 

4674 Whether the function tool call runs asynchronously.

4675 

4556 - `caller: optional object { type } or object { caller_id, type } or null`4676 - `caller: optional object { type } or object { caller_id, type } or null`

4557 4677 

4558 The execution context that produced this tool call.4678 The execution context that produced this tool call.


5069 5189 

5070 - `"incomplete"`5190 - `"incomplete"`

5071 5191 

5072 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`5192 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

5073 5193 

5074 The loaded tool definitions returned by tool search.5194 The loaded tool definitions returned by tool search.

5075 5195 

5076 - `Function object { name, parameters, strict, 5 more }`5196 - `Function object { name, parameters, strict, 6 more }`

5077 5197 

5078 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).5198 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

5079 5199 


5103 5223 

5104 - `"programmatic"`5224 - `"programmatic"`

5105 5225 

5226 - `async: optional boolean`

5227 

5106 - `defer_loading: optional boolean`5228 - `defer_loading: optional boolean`

5107 5229 

5108 Whether this function is deferred and loaded via tool search.5230 Whether this function is deferred and loaded via tool search.


5679 5801 

5680 - `ContainerReference object { container_id, type }`5802 - `ContainerReference object { container_id, type }`

5681 5803 

5682 - `Custom object { name, type, allowed_callers, 3 more }`5804 - `Custom object { name, type, allowed_callers, 4 more }`

5683 5805 

5684 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)5806 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

5685 5807 


5701 5823 

5702 - `"programmatic"`5824 - `"programmatic"`

5703 5825 

5826 - `async: optional boolean`

5827 

5828 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5829 

5704 - `defer_loading: optional boolean`5830 - `defer_loading: optional boolean`

5705 5831 

5706 Whether this tool should be deferred and discovered via tool search.5832 Whether this tool should be deferred and discovered via tool search.


5725 5851 

5726 The namespace name used in tool calls (for example, `crm`).5852 The namespace name used in tool calls (for example, `crm`).

5727 5853 

5728 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`5854 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

5729 5855 

5730 The function/custom tools available inside this namespace.5856 The function/custom tools available inside this namespace.

5731 5857 

5732 - `Function object { name, type, allowed_callers, 5 more }`5858 - `Function object { name, type, allowed_callers, 6 more }`

5733 5859 

5734 - `name: string`5860 - `name: string`

5735 5861 


5745 5871 

5746 - `"programmatic"`5872 - `"programmatic"`

5747 5873 

5874 - `async: optional boolean`

5875 

5876 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5877 

5748 - `defer_loading: optional boolean`5878 - `defer_loading: optional boolean`

5749 5879 

5750 Whether this function should be deferred and discovered via tool search.5880 Whether this function should be deferred and discovered via tool search.


5761 5891 

5762 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.5892 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

5763 5893 

5764 - `Custom object { name, type, allowed_callers, 3 more }`5894 - `Custom object { name, type, allowed_callers, 4 more }`

5765 5895 

5766 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)5896 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

5767 5897 


5783 5913 

5784 - `"programmatic"`5914 - `"programmatic"`

5785 5915 

5916 - `async: optional boolean`

5917 

5918 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5919 

5786 - `defer_loading: optional boolean`5920 - `defer_loading: optional boolean`

5787 5921 

5788 Whether this tool should be deferred and discovered via tool search.5922 Whether this tool should be deferred and discovered via tool search.


5935 6069 

5936 - `"tool"`6070 - `"tool"`

5937 6071 

5938 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`6072 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

5939 6073 

5940 The additional tool definitions made available at this item.6074 The additional tool definitions made available at this item.

5941 6075 

5942 - `Function object { name, parameters, strict, 5 more }`6076 - `Function object { name, parameters, strict, 6 more }`

5943 6077 

5944 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).6078 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

5945 6079 


5969 6103 

5970 - `"programmatic"`6104 - `"programmatic"`

5971 6105 

6106 - `async: optional boolean`

6107 

5972 - `defer_loading: optional boolean`6108 - `defer_loading: optional boolean`

5973 6109 

5974 Whether this function is deferred and loaded via tool search.6110 Whether this function is deferred and loaded via tool search.


6545 6681 

6546 - `ContainerReference object { container_id, type }`6682 - `ContainerReference object { container_id, type }`

6547 6683 

6548 - `Custom object { name, type, allowed_callers, 3 more }`6684 - `Custom object { name, type, allowed_callers, 4 more }`

6549 6685 

6550 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6686 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6551 6687 


6567 6703 

6568 - `"programmatic"`6704 - `"programmatic"`

6569 6705 

6706 - `async: optional boolean`

6707 

6708 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6709 

6570 - `defer_loading: optional boolean`6710 - `defer_loading: optional boolean`

6571 6711 

6572 Whether this tool should be deferred and discovered via tool search.6712 Whether this tool should be deferred and discovered via tool search.


6591 6731 

6592 The namespace name used in tool calls (for example, `crm`).6732 The namespace name used in tool calls (for example, `crm`).

6593 6733 

6594 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`6734 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

6595 6735 

6596 The function/custom tools available inside this namespace.6736 The function/custom tools available inside this namespace.

6597 6737 

6598 - `Function object { name, type, allowed_callers, 5 more }`6738 - `Function object { name, type, allowed_callers, 6 more }`

6599 6739 

6600 - `name: string`6740 - `name: string`

6601 6741 


6611 6751 

6612 - `"programmatic"`6752 - `"programmatic"`

6613 6753 

6754 - `async: optional boolean`

6755 

6756 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6757 

6614 - `defer_loading: optional boolean`6758 - `defer_loading: optional boolean`

6615 6759 

6616 Whether this function should be deferred and discovered via tool search.6760 Whether this function should be deferred and discovered via tool search.


6627 6771 

6628 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.6772 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

6629 6773 

6630 - `Custom object { name, type, allowed_callers, 3 more }`6774 - `Custom object { name, type, allowed_callers, 4 more }`

6631 6775 

6632 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6776 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6633 6777 


6649 6793 

6650 - `"programmatic"`6794 - `"programmatic"`

6651 6795 

6796 - `async: optional boolean`

6797 

6798 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6799 

6652 - `defer_loading: optional boolean`6800 - `defer_loading: optional boolean`

6653 6801 

6654 Whether this tool should be deferred and discovered via tool search.6802 Whether this tool should be deferred and discovered via tool search.


7475 7623 

7476 Optional reason for the decision.7624 Optional reason for the decision.

7477 7625 

7478 - `CustomToolCall object { call_id, input, name, 4 more }`7626 - `CustomToolCall object { call_id, input, name, 5 more }`

7479 7627 

7480 A call to a custom tool created by the model.7628 A call to a custom tool created by the model.

7481 7629 


7501 7649 

7502 The unique ID of the custom tool call in the OpenAI platform.7650 The unique ID of the custom tool call in the OpenAI platform.

7503 7651 

7652 - `async: optional boolean`

7653 

7654 Whether the custom tool call runs asynchronously.

7655 

7504 - `caller: optional object { type } or object { caller_id, type } or null`7656 - `caller: optional object { type } or object { caller_id, type } or null`

7505 7657 

7506 The execution context that produced this tool call.7658 The execution context that produced this tool call.


7784 7936 

7785 - `"shell"`7937 - `"shell"`

7786 7938 

7787 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`7939 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

7788 7940 

7789 An array of tools the model may call while generating a response. You7941 An array of tools the model may call while generating a response. You

7790 can specify which tool to use by setting the `tool_choice` parameter.7942 can specify which tool to use by setting the `tool_choice` parameter.


7804 [function calling](/docs/guides/function-calling). You can also use7956 [function calling](/docs/guides/function-calling). You can also use

7805 custom tools to call your own code.7957 custom tools to call your own code.

7806 7958 

7807 - `Function object { name, parameters, strict, 5 more }`7959 - `Function object { name, parameters, strict, 6 more }`

7808 7960 

7809 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).7961 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

7810 7962 


7834 7986 

7835 - `"programmatic"`7987 - `"programmatic"`

7836 7988 

7989 - `async: optional boolean`

7990 

7837 - `defer_loading: optional boolean`7991 - `defer_loading: optional boolean`

7838 7992 

7839 Whether this function is deferred and loaded via tool search.7993 Whether this function is deferred and loaded via tool search.


8410 8564 

8411 - `ContainerReference object { container_id, type }`8565 - `ContainerReference object { container_id, type }`

8412 8566 

8413 - `Custom object { name, type, allowed_callers, 3 more }`8567 - `Custom object { name, type, allowed_callers, 4 more }`

8414 8568 

8415 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8569 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

8416 8570 


8432 8586 

8433 - `"programmatic"`8587 - `"programmatic"`

8434 8588 

8589 - `async: optional boolean`

8590 

8591 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8592 

8435 - `defer_loading: optional boolean`8593 - `defer_loading: optional boolean`

8436 8594 

8437 Whether this tool should be deferred and discovered via tool search.8595 Whether this tool should be deferred and discovered via tool search.


8456 8614 

8457 The namespace name used in tool calls (for example, `crm`).8615 The namespace name used in tool calls (for example, `crm`).

8458 8616 

8459 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`8617 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

8460 8618 

8461 The function/custom tools available inside this namespace.8619 The function/custom tools available inside this namespace.

8462 8620 

8463 - `Function object { name, type, allowed_callers, 5 more }`8621 - `Function object { name, type, allowed_callers, 6 more }`

8464 8622 

8465 - `name: string`8623 - `name: string`

8466 8624 


8476 8634 

8477 - `"programmatic"`8635 - `"programmatic"`

8478 8636 

8637 - `async: optional boolean`

8638 

8639 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8640 

8479 - `defer_loading: optional boolean`8641 - `defer_loading: optional boolean`

8480 8642 

8481 Whether this function should be deferred and discovered via tool search.8643 Whether this function should be deferred and discovered via tool search.


8492 8654 

8493 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.8655 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

8494 8656 

8495 - `Custom object { name, type, allowed_callers, 3 more }`8657 - `Custom object { name, type, allowed_callers, 4 more }`

8496 8658 

8497 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8659 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

8498 8660 


8514 8676 

8515 - `"programmatic"`8677 - `"programmatic"`

8516 8678 

8679 - `async: optional boolean`

8680 

8681 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8682 

8517 - `defer_loading: optional boolean`8683 - `defer_loading: optional boolean`

8518 8684 

8519 Whether this tool should be deferred and discovered via tool search.8685 Whether this tool should be deferred and discovered via tool search.


8826 8992 

8827 Optional version of the prompt template.8993 Optional version of the prompt template.

8828 8994 

8995 - `prompt_cache_diagnostics: optional object { cache_missed_tokens, reason, type, comparison_reusable_tokens } or object { type } or object { type } or object { type }`

8996 

8997 Prompt cache diagnostics requested for this response.

8998 

8999 - `CacheMiss object { cache_missed_tokens, reason, type, comparison_reusable_tokens }`

9000 

9001 - `cache_missed_tokens: number`

9002 

9003 The estimated number of input tokens affected after the first detected divergence.

9004 

9005 - `reason: "model_changed" or "prompt_cache_key_changed" or "tools_changed" or 6 more`

9006 

9007 The reason prompt cache reuse did not occur.

9008 

9009 - `"model_changed"`

9010 

9011 - `"prompt_cache_key_changed"`

9012 

9013 - `"tools_changed"`

9014 

9015 - `"text_format_changed"`

9016 

9017 - `"reasoning_effort_changed"`

9018 

9019 - `"verbosity_changed"`

9020 

9021 - `"context_compacted"`

9022 

9023 - `"input_changed"`

9024 

9025 - `"service_tier_changed"`

9026 

9027 - `type: "cache_miss"`

9028 

9029 - `"cache_miss"`

9030 

9031 - `comparison_reusable_tokens: optional number`

9032 

9033 The raw token count of the reusable prefix in the compared response.

9034 

9035 - `CacheHit object { type }`

9036 

9037 - `type: "cache_hit"`

9038 

9039 - `"cache_hit"`

9040 

9041 - `ComparisonResponseNotFound object { type }`

9042 

9043 - `type: "comparison_response_not_found"`

9044 

9045 - `"comparison_response_not_found"`

9046 

9047 - `Unavailable object { type }`

9048 

9049 - `type: "unavailable"`

9050 

9051 - `"unavailable"`

9052 

8829 - `prompt_cache_key: optional string or null`9053 - `prompt_cache_key: optional string or null`

8830 9054 

8831 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).9055 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).

8832 9056 

8833 - `prompt_cache_options: optional object { mode, ttl }`9057 - `prompt_cache_options: optional object { mode, ttl, comparison_response_id }`

8834 9058 

8835 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.9059 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.

8836 9060 


8848 9072 

8849 - `"30m"`9073 - `"30m"`

8850 9074 

9075 - `comparison_response_id: optional string or null`

9076 

9077 The response ID supplied as the prompt cache diagnostics comparison.

9078 

8851 - `prompt_cache_retention: optional "in_memory" or "24h" or null`9079 - `prompt_cache_retention: optional "in_memory" or "24h" or null`

8852 9080 

8853 Deprecated. Use `prompt_cache_options.ttl` instead.9081 Deprecated. Use `prompt_cache_options.ttl` instead.


8898 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)9126 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)

8899 for model-specific support.9127 for model-specific support.

8900 9128 

8901 - `"none"`

8902 

8903 - `"minimal"`

8904 

8905 - `"low"`

8906 

8907 - `"medium"`

8908 

8909 - `"high"`

8910 

8911 - `"xhigh"`

8912 

8913 - `"max"`

8914 

8915 - `generate_summary: optional "auto" or "concise" or "detailed" or null`9129 - `generate_summary: optional "auto" or "concise" or "detailed" or null`

8916 9130 

8917 **Deprecated:** use `summary` instead.9131 **Deprecated:** use `summary` instead.


9182 "created_at": 0,9396 "created_at": 0,

9183 "error": {9397 "error": {

9184 "code": "server_error",9398 "code": "server_error",

9399 "message": "message",

9400 "misalignment": {

9401 "detailed_explanation": "detailed_explanation",

9402 "error_type": "potentially_unintended_data_transfer",

9403 "steer": {

9185 "message": "message"9404 "message": "message"

9405 }

9406 }

9186 },9407 },

9187 "incomplete_details": {9408 "incomplete_details": {

9188 "reason": "max_output_tokens"9409 "reason": "max_output_tokens"


9191 "metadata": {9412 "metadata": {

9192 "foo": "string"9413 "foo": "string"

9193 },9414 },

9194 "model": "gpt-5.6-sol",9415 "model": "gpt-6-astra",

9195 "object": "response",9416 "object": "response",

9196 "output": [9417 "output": [

9197 {9418 {


9248 "allowed_callers": [9469 "allowed_callers": [

9249 "direct"9470 "direct"

9250 ],9471 ],

9472 "async": true,

9251 "defer_loading": true,9473 "defer_loading": true,

9252 "description": "description",9474 "description": "description",

9253 "output_schema": {9475 "output_schema": {


9306 },9528 },

9307 "version": "version"9529 "version": "version"

9308 },9530 },

9531 "prompt_cache_diagnostics": {

9532 "cache_missed_tokens": 0,

9533 "reason": "model_changed",

9534 "type": "cache_miss",

9535 "comparison_reusable_tokens": 0

9536 },

9309 "prompt_cache_key": "prompt-cache-key-1234",9537 "prompt_cache_key": "prompt-cache-key-1234",

9310 "prompt_cache_options": {9538 "prompt_cache_options": {

9311 "mode": "implicit",9539 "mode": "implicit",

9312 "ttl": "30m"9540 "ttl": "30m",

9541 "comparison_response_id": "comparison_response_id"

9313 },9542 },

9314 "prompt_cache_retention": "in_memory",9543 "prompt_cache_retention": "in_memory",

9315 "reasoning": {9544 "reasoning": {


9368 "incomplete_details": null,9597 "incomplete_details": null,

9369 "instructions": null,9598 "instructions": null,

9370 "max_output_tokens": null,9599 "max_output_tokens": null,

9371 "model": "gpt-5.6-sol",9600 "model": "gpt-6-astra",

9372 "output": [9601 "output": [

9373 {9602 {

9374 "type": "message",9603 "type": "message",

Details

8 8 

9### Body Parameters9### Body Parameters

10 10 

11- `model: "gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more or string or null`11- `model: "gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more or string or null`

12 12 

13 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/docs/models) to browse and compare available models.13 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/docs/models) to browse and compare available models.

14 14 

15 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 99 more`15 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 100 more`

16 16 

17 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/docs/models) to browse and compare available models.17 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/docs/models) to browse and compare available models.

18 

19 - `"gpt-6-astra"`

18 20 

19 - `"gpt-5.6-sol"`21 - `"gpt-5.6-sol"`

20 22 


222 224 

223 - `string`225 - `string`

224 226 

225- `input: optional string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more or null`227- `input: optional string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more or null`

226 228 

227 Text, image, or file inputs to the model, used to generate a response229 Text, image, or file inputs to the model, used to generate a response

228 230 


230 232 

231 A text input to the model, equivalent to a text input with the `user` role.233 A text input to the model, equivalent to a text input with the `user` role.

232 234 

233 - `array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more`235 - `array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more`

234 236 

235 A list of one or many input items to the model, containing different content types.237 A list of one or many input items to the model, containing different content types.

236 238 


1131 1133 

1132 - `"web_search_call"`1134 - `"web_search_call"`

1133 1135 

1134 - `FunctionCall object { arguments, call_id, name, 5 more }`1136 - `FunctionCall object { arguments, call_id, name, 6 more }`

1135 1137 

1136 A tool call to run a function. See the1138 A tool call to run a function. See the

1137 [function calling guide](/docs/guides/function-calling) for more information.1139 [function calling guide](/docs/guides/function-calling) for more information.


1158 1160 

1159 The unique ID of the function tool call.1161 The unique ID of the function tool call.

1160 1162 

1163 - `async: optional boolean`

1164 

1165 Whether the function tool call runs asynchronously.

1166 

1161 - `caller: optional object { type } or object { caller_id, type } or null`1167 - `caller: optional object { type } or object { caller_id, type } or null`

1162 1168 

1163 The execution context that produced this tool call.1169 The execution context that produced this tool call.


1407 1413 

1408 - `ToolSearchOutput object { tools, type, id, 3 more }`1414 - `ToolSearchOutput object { tools, type, id, 3 more }`

1409 1415 

1410 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1416 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1411 1417 

1412 The loaded tool definitions returned by the tool search output.1418 The loaded tool definitions returned by the tool search output.

1413 1419 

1414 - `Function object { name, parameters, strict, 5 more }`1420 - `Function object { name, parameters, strict, 6 more }`

1415 1421 

1416 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1422 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1417 1423 


1441 1447 

1442 - `"programmatic"`1448 - `"programmatic"`

1443 1449 

1450 - `async: optional boolean`

1451 

1444 - `defer_loading: optional boolean`1452 - `defer_loading: optional boolean`

1445 1453 

1446 Whether this function is deferred and loaded via tool search.1454 Whether this function is deferred and loaded via tool search.


2234 2242 

2235 - `"container_reference"`2243 - `"container_reference"`

2236 2244 

2237 - `Custom object { name, type, allowed_callers, 3 more }`2245 - `Custom object { name, type, allowed_callers, 4 more }`

2238 2246 

2239 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2247 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2240 2248 


2256 2264 

2257 - `"programmatic"`2265 - `"programmatic"`

2258 2266 

2267 - `async: optional boolean`

2268 

2269 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2270 

2259 - `defer_loading: optional boolean`2271 - `defer_loading: optional boolean`

2260 2272 

2261 Whether this tool should be deferred and discovered via tool search.2273 Whether this tool should be deferred and discovered via tool search.


2312 2324 

2313 The namespace name used in tool calls (for example, `crm`).2325 The namespace name used in tool calls (for example, `crm`).

2314 2326 

2315 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2327 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2316 2328 

2317 The function/custom tools available inside this namespace.2329 The function/custom tools available inside this namespace.

2318 2330 

2319 - `Function object { name, type, allowed_callers, 5 more }`2331 - `Function object { name, type, allowed_callers, 6 more }`

2320 2332 

2321 - `name: string`2333 - `name: string`

2322 2334 


2332 2344 

2333 - `"programmatic"`2345 - `"programmatic"`

2334 2346 

2347 - `async: optional boolean`

2348 

2349 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2350 

2335 - `defer_loading: optional boolean`2351 - `defer_loading: optional boolean`

2336 2352 

2337 Whether this function should be deferred and discovered via tool search.2353 Whether this function should be deferred and discovered via tool search.


2348 2364 

2349 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2365 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2350 2366 

2351 - `Custom object { name, type, allowed_callers, 3 more }`2367 - `Custom object { name, type, allowed_callers, 4 more }`

2352 2368 

2353 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2369 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2354 2370 


2370 2386 

2371 - `"programmatic"`2387 - `"programmatic"`

2372 2388 

2389 - `async: optional boolean`

2390 

2391 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2392 

2373 - `defer_loading: optional boolean`2393 - `defer_loading: optional boolean`

2374 2394 

2375 Whether this tool should be deferred and discovered via tool search.2395 Whether this tool should be deferred and discovered via tool search.


2526 2546 

2527 - `"developer"`2547 - `"developer"`

2528 2548 

2529 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2549 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2530 2550 

2531 A list of additional tools made available at this item.2551 A list of additional tools made available at this item.

2532 2552 

2533 - `Function object { name, parameters, strict, 5 more }`2553 - `Function object { name, parameters, strict, 6 more }`

2534 2554 

2535 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2555 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2536 2556 


2560 2580 

2561 - `"programmatic"`2581 - `"programmatic"`

2562 2582 

2583 - `async: optional boolean`

2584 

2563 - `defer_loading: optional boolean`2585 - `defer_loading: optional boolean`

2564 2586 

2565 Whether this function is deferred and loaded via tool search.2587 Whether this function is deferred and loaded via tool search.


3136 3158 

3137 - `ContainerReference object { container_id, type }`3159 - `ContainerReference object { container_id, type }`

3138 3160 

3139 - `Custom object { name, type, allowed_callers, 3 more }`3161 - `Custom object { name, type, allowed_callers, 4 more }`

3140 3162 

3141 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3163 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3142 3164 


3158 3180 

3159 - `"programmatic"`3181 - `"programmatic"`

3160 3182 

3183 - `async: optional boolean`

3184 

3185 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3186 

3161 - `defer_loading: optional boolean`3187 - `defer_loading: optional boolean`

3162 3188 

3163 Whether this tool should be deferred and discovered via tool search.3189 Whether this tool should be deferred and discovered via tool search.


3182 3208 

3183 The namespace name used in tool calls (for example, `crm`).3209 The namespace name used in tool calls (for example, `crm`).

3184 3210 

3185 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3211 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3186 3212 

3187 The function/custom tools available inside this namespace.3213 The function/custom tools available inside this namespace.

3188 3214 

3189 - `Function object { name, type, allowed_callers, 5 more }`3215 - `Function object { name, type, allowed_callers, 6 more }`

3190 3216 

3191 - `name: string`3217 - `name: string`

3192 3218 


3202 3228 

3203 - `"programmatic"`3229 - `"programmatic"`

3204 3230 

3231 - `async: optional boolean`

3232 

3233 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3234 

3205 - `defer_loading: optional boolean`3235 - `defer_loading: optional boolean`

3206 3236 

3207 Whether this function should be deferred and discovered via tool search.3237 Whether this function should be deferred and discovered via tool search.


3218 3248 

3219 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3249 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3220 3250 

3221 - `Custom object { name, type, allowed_callers, 3 more }`3251 - `Custom object { name, type, allowed_callers, 4 more }`

3222 3252 

3223 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3253 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3224 3254 


3240 3270 

3241 - `"programmatic"`3271 - `"programmatic"`

3242 3272 

3273 - `async: optional boolean`

3274 

3275 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3276 

3243 - `defer_loading: optional boolean`3277 - `defer_loading: optional boolean`

3244 3278 

3245 Whether this tool should be deferred and discovered via tool search.3279 Whether this tool should be deferred and discovered via tool search.


3366 3400 

3367 The unique ID of this additional tools item.3401 The unique ID of this additional tools item.

3368 3402 

3403 - `ConfigurationUpdate object { type, id, reasoning }`

3404 

3405 An update to the conversation's response configuration. The configuration

3406 remains in effect for subsequent responses until it is replaced by another

3407 configuration update.

3408 

3409 - `type: "configuration_update"`

3410 

3411 The item type. Always `configuration_update`.

3412 

3413 - `"configuration_update"`

3414 

3415 - `id: optional string or null`

3416 

3417 The unique ID of the configuration update item.

3418 

3419 - `reasoning: optional object { effort }`

3420 

3421 Updates to reasoning configuration. Only effort is supported.

3422 

3423 - `effort: optional ReasoningEffort or null`

3424 

3425 The reasoning effort to use for subsequent responses until another

3426 configuration update replaces it.

3427 

3428 - `"none"`

3429 

3430 - `"minimal"`

3431 

3432 - `"low"`

3433 

3434 - `"medium"`

3435 

3436 - `"high"`

3437 

3438 - `"xhigh"`

3439 

3440 - `"max"`

3441 

3369 - `Reasoning object { id, summary, type, 3 more }`3442 - `Reasoning object { id, summary, type, 3 more }`

3370 3443 

3371 A description of the chain of thought used by a reasoning model while generating3444 A description of the chain of thought used by a reasoning model while generating


4209 4282 

4210 - `"program"`4283 - `"program"`

4211 4284 

4212 - `CustomToolCall object { call_id, input, name, 4 more }`4285 - `CustomToolCall object { call_id, input, name, 5 more }`

4213 4286 

4214 A call to a custom tool created by the model.4287 A call to a custom tool created by the model.

4215 4288 


4235 4308 

4236 The unique ID of the custom tool call in the OpenAI platform.4309 The unique ID of the custom tool call in the OpenAI platform.

4237 4310 

4311 - `async: optional boolean`

4312 

4313 Whether the custom tool call runs asynchronously.

4314 

4238 - `caller: optional object { type } or object { caller_id, type } or null`4315 - `caller: optional object { type } or object { caller_id, type } or null`

4239 4316 

4240 The execution context that produced this tool call.4317 The execution context that produced this tool call.


4380 4457 

4381- `service_tier: optional "auto" or "default" or "fast" or 2 more or null`4458- `service_tier: optional "auto" or "default" or "fast" or 2 more or null`

4382 4459 

4383 Specifies the processing type used for serving the request. - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'. - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model. - If set to '[flex](/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier. - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request. - When not set, the default behavior is 'auto'.4460 Specifies the processing type used for serving the request. - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'. - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model. - If set to '[flex](/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier. - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. For models with a dedicated Fast tier, either value resolves to `service_tier=fast`; for other models, either value resolves to `service_tier=priority`. - When not set, the default behavior is 'auto'.

4384 When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.4461 When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.

4385 4462 

4386 - `"auto"`4463 - `"auto"`


4847 4924 

4848 - `"program_output"`4925 - `"program_output"`

4849 4926 

4850 - `FunctionCall object { arguments, call_id, name, 5 more }`4927 - `FunctionCall object { arguments, call_id, name, 6 more }`

4851 4928 

4852 A tool call to run a function. See the4929 A tool call to run a function. See the

4853 [function calling guide](/docs/guides/function-calling) for more information.4930 [function calling guide](/docs/guides/function-calling) for more information.


4874 4951 

4875 The unique ID of the function tool call.4952 The unique ID of the function tool call.

4876 4953 

4954 - `async: optional boolean`

4955 

4956 Whether the function tool call runs asynchronously.

4957 

4877 - `caller: optional object { type } or object { caller_id, type } or null`4958 - `caller: optional object { type } or object { caller_id, type } or null`

4878 4959 

4879 The execution context that produced this tool call.4960 The execution context that produced this tool call.


4979 5060 

4980 - `"incomplete"`5061 - `"incomplete"`

4981 5062 

4982 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`5063 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

4983 5064 

4984 The loaded tool definitions returned by tool search.5065 The loaded tool definitions returned by tool search.

4985 5066 

4986 - `Function object { name, parameters, strict, 5 more }`5067 - `Function object { name, parameters, strict, 6 more }`

4987 5068 

4988 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).5069 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

4989 5070 


5013 5094 

5014 - `"programmatic"`5095 - `"programmatic"`

5015 5096 

5097 - `async: optional boolean`

5098 

5016 - `defer_loading: optional boolean`5099 - `defer_loading: optional boolean`

5017 5100 

5018 Whether this function is deferred and loaded via tool search.5101 Whether this function is deferred and loaded via tool search.


5806 5889 

5807 - `"container_reference"`5890 - `"container_reference"`

5808 5891 

5809 - `Custom object { name, type, allowed_callers, 3 more }`5892 - `Custom object { name, type, allowed_callers, 4 more }`

5810 5893 

5811 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)5894 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

5812 5895 


5828 5911 

5829 - `"programmatic"`5912 - `"programmatic"`

5830 5913 

5914 - `async: optional boolean`

5915 

5916 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5917 

5831 - `defer_loading: optional boolean`5918 - `defer_loading: optional boolean`

5832 5919 

5833 Whether this tool should be deferred and discovered via tool search.5920 Whether this tool should be deferred and discovered via tool search.


5884 5971 

5885 The namespace name used in tool calls (for example, `crm`).5972 The namespace name used in tool calls (for example, `crm`).

5886 5973 

5887 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`5974 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

5888 5975 

5889 The function/custom tools available inside this namespace.5976 The function/custom tools available inside this namespace.

5890 5977 

5891 - `Function object { name, type, allowed_callers, 5 more }`5978 - `Function object { name, type, allowed_callers, 6 more }`

5892 5979 

5893 - `name: string`5980 - `name: string`

5894 5981 


5904 5991 

5905 - `"programmatic"`5992 - `"programmatic"`

5906 5993 

5994 - `async: optional boolean`

5995 

5996 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5997 

5907 - `defer_loading: optional boolean`5998 - `defer_loading: optional boolean`

5908 5999 

5909 Whether this function should be deferred and discovered via tool search.6000 Whether this function should be deferred and discovered via tool search.


5920 6011 

5921 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.6012 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

5922 6013 

5923 - `Custom object { name, type, allowed_callers, 3 more }`6014 - `Custom object { name, type, allowed_callers, 4 more }`

5924 6015 

5925 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6016 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

5926 6017 


5942 6033 

5943 - `"programmatic"`6034 - `"programmatic"`

5944 6035 

6036 - `async: optional boolean`

6037 

6038 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6039 

5945 - `defer_loading: optional boolean`6040 - `defer_loading: optional boolean`

5946 6041 

5947 Whether this tool should be deferred and discovered via tool search.6042 Whether this tool should be deferred and discovered via tool search.


6094 6189 

6095 - `"tool"`6190 - `"tool"`

6096 6191 

6097 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`6192 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

6098 6193 

6099 The additional tool definitions made available at this item.6194 The additional tool definitions made available at this item.

6100 6195 

6101 - `Function object { name, parameters, strict, 5 more }`6196 - `Function object { name, parameters, strict, 6 more }`

6102 6197 

6103 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).6198 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

6104 6199 


6128 6223 

6129 - `"programmatic"`6224 - `"programmatic"`

6130 6225 

6226 - `async: optional boolean`

6227 

6131 - `defer_loading: optional boolean`6228 - `defer_loading: optional boolean`

6132 6229 

6133 Whether this function is deferred and loaded via tool search.6230 Whether this function is deferred and loaded via tool search.


6704 6801 

6705 - `ContainerReference object { container_id, type }`6802 - `ContainerReference object { container_id, type }`

6706 6803 

6707 - `Custom object { name, type, allowed_callers, 3 more }`6804 - `Custom object { name, type, allowed_callers, 4 more }`

6708 6805 

6709 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6806 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6710 6807 


6726 6823 

6727 - `"programmatic"`6824 - `"programmatic"`

6728 6825 

6826 - `async: optional boolean`

6827 

6828 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6829 

6729 - `defer_loading: optional boolean`6830 - `defer_loading: optional boolean`

6730 6831 

6731 Whether this tool should be deferred and discovered via tool search.6832 Whether this tool should be deferred and discovered via tool search.


6750 6851 

6751 The namespace name used in tool calls (for example, `crm`).6852 The namespace name used in tool calls (for example, `crm`).

6752 6853 

6753 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`6854 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

6754 6855 

6755 The function/custom tools available inside this namespace.6856 The function/custom tools available inside this namespace.

6756 6857 

6757 - `Function object { name, type, allowed_callers, 5 more }`6858 - `Function object { name, type, allowed_callers, 6 more }`

6758 6859 

6759 - `name: string`6860 - `name: string`

6760 6861 


6770 6871 

6771 - `"programmatic"`6872 - `"programmatic"`

6772 6873 

6874 - `async: optional boolean`

6875 

6876 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6877 

6773 - `defer_loading: optional boolean`6878 - `defer_loading: optional boolean`

6774 6879 

6775 Whether this function should be deferred and discovered via tool search.6880 Whether this function should be deferred and discovered via tool search.


6786 6891 

6787 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.6892 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

6788 6893 

6789 - `Custom object { name, type, allowed_callers, 3 more }`6894 - `Custom object { name, type, allowed_callers, 4 more }`

6790 6895 

6791 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6896 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6792 6897 


6808 6913 

6809 - `"programmatic"`6914 - `"programmatic"`

6810 6915 

6916 - `async: optional boolean`

6917 

6918 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6919 

6811 - `defer_loading: optional boolean`6920 - `defer_loading: optional boolean`

6812 6921 

6813 Whether this tool should be deferred and discovered via tool search.6922 Whether this tool should be deferred and discovered via tool search.


8330 8439 

8331 - `"failed"`8440 - `"failed"`

8332 8441 

8333 - `CustomToolCall object { call_id, input, name, 4 more }`8442 - `CustomToolCall object { call_id, input, name, 5 more }`

8334 8443 

8335 A call to a custom tool created by the model.8444 A call to a custom tool created by the model.

8336 8445 


8356 8465 

8357 The unique ID of the custom tool call in the OpenAI platform.8466 The unique ID of the custom tool call in the OpenAI platform.

8358 8467 

8468 - `async: optional boolean`

8469 

8470 Whether the custom tool call runs asynchronously.

8471 

8359 - `caller: optional object { type } or object { caller_id, type } or null`8472 - `caller: optional object { type } or object { caller_id, type } or null`

8360 8473 

8361 The execution context that produced this tool call.8474 The execution context that produced this tool call.


8491 -H 'Content-Type: application/json' \8604 -H 'Content-Type: application/json' \

8492 -H "Authorization: Bearer $OPENAI_API_KEY" \8605 -H "Authorization: Bearer $OPENAI_API_KEY" \

8493 -d '{8606 -d '{

8494 "model": "gpt-5.6-sol",8607 "model": "gpt-6-astra",

8495 "previous_response_id": "resp_123"8608 "previous_response_id": "resp_123"

8496 }'8609 }'

8497```8610```


8543 -H "Content-Type: application/json" \8656 -H "Content-Type: application/json" \

8544 -H "Authorization: Bearer $OPENAI_API_KEY" \8657 -H "Authorization: Bearer $OPENAI_API_KEY" \

8545 -d '{8658 -d '{

8546 "model": "gpt-5.6-sol",8659 "model": "gpt-6-astra",

8547 "input": [8660 "input": [

8548 {8661 {

8549 "role": "user",8662 "role": "user",

Details

74 74 

75 - `"message.output_text.logprobs"`75 - `"message.output_text.logprobs"`

76 76 

77- `input: optional string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more`77- `input: optional string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more`

78 78 

79 Text, image, or file inputs to the model, used to generate a response.79 Text, image, or file inputs to the model, used to generate a response.

80 80 


91 A text input to the model, equivalent to a text input with the91 A text input to the model, equivalent to a text input with the

92 `user` role.92 `user` role.

93 93 

94 - `InputItemList = array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more`94 - `InputItemList = array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more`

95 95 

96 A list of one or many input items to the model, containing96 A list of one or many input items to the model, containing

97 different content types.97 different content types.


993 993 

994 - `"web_search_call"`994 - `"web_search_call"`

995 995 

996 - `FunctionCall object { arguments, call_id, name, 5 more }`996 - `FunctionCall object { arguments, call_id, name, 6 more }`

997 997 

998 A tool call to run a function. See the998 A tool call to run a function. See the

999 [function calling guide](/docs/guides/function-calling) for more information.999 [function calling guide](/docs/guides/function-calling) for more information.


1020 1020 

1021 The unique ID of the function tool call.1021 The unique ID of the function tool call.

1022 1022 

1023 - `async: optional boolean`

1024 

1025 Whether the function tool call runs asynchronously.

1026 

1023 - `caller: optional object { type } or object { caller_id, type } or null`1027 - `caller: optional object { type } or object { caller_id, type } or null`

1024 1028 

1025 The execution context that produced this tool call.1029 The execution context that produced this tool call.


1269 1273 

1270 - `ToolSearchOutput object { tools, type, id, 3 more }`1274 - `ToolSearchOutput object { tools, type, id, 3 more }`

1271 1275 

1272 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1276 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1273 1277 

1274 The loaded tool definitions returned by the tool search output.1278 The loaded tool definitions returned by the tool search output.

1275 1279 

1276 - `Function object { name, parameters, strict, 5 more }`1280 - `Function object { name, parameters, strict, 6 more }`

1277 1281 

1278 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1282 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1279 1283 


1303 1307 

1304 - `"programmatic"`1308 - `"programmatic"`

1305 1309 

1310 - `async: optional boolean`

1311 

1306 - `defer_loading: optional boolean`1312 - `defer_loading: optional boolean`

1307 1313 

1308 Whether this function is deferred and loaded via tool search.1314 Whether this function is deferred and loaded via tool search.


2096 2102 

2097 - `"container_reference"`2103 - `"container_reference"`

2098 2104 

2099 - `Custom object { name, type, allowed_callers, 3 more }`2105 - `Custom object { name, type, allowed_callers, 4 more }`

2100 2106 

2101 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2107 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2102 2108 


2118 2124 

2119 - `"programmatic"`2125 - `"programmatic"`

2120 2126 

2127 - `async: optional boolean`

2128 

2129 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2130 

2121 - `defer_loading: optional boolean`2131 - `defer_loading: optional boolean`

2122 2132 

2123 Whether this tool should be deferred and discovered via tool search.2133 Whether this tool should be deferred and discovered via tool search.


2174 2184 

2175 The namespace name used in tool calls (for example, `crm`).2185 The namespace name used in tool calls (for example, `crm`).

2176 2186 

2177 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2187 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2178 2188 

2179 The function/custom tools available inside this namespace.2189 The function/custom tools available inside this namespace.

2180 2190 

2181 - `Function object { name, type, allowed_callers, 5 more }`2191 - `Function object { name, type, allowed_callers, 6 more }`

2182 2192 

2183 - `name: string`2193 - `name: string`

2184 2194 


2194 2204 

2195 - `"programmatic"`2205 - `"programmatic"`

2196 2206 

2207 - `async: optional boolean`

2208 

2209 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2210 

2197 - `defer_loading: optional boolean`2211 - `defer_loading: optional boolean`

2198 2212 

2199 Whether this function should be deferred and discovered via tool search.2213 Whether this function should be deferred and discovered via tool search.


2210 2224 

2211 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2225 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2212 2226 

2213 - `Custom object { name, type, allowed_callers, 3 more }`2227 - `Custom object { name, type, allowed_callers, 4 more }`

2214 2228 

2215 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2229 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2216 2230 


2232 2246 

2233 - `"programmatic"`2247 - `"programmatic"`

2234 2248 

2249 - `async: optional boolean`

2250 

2251 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2252 

2235 - `defer_loading: optional boolean`2253 - `defer_loading: optional boolean`

2236 2254 

2237 Whether this tool should be deferred and discovered via tool search.2255 Whether this tool should be deferred and discovered via tool search.


2388 2406 

2389 - `"developer"`2407 - `"developer"`

2390 2408 

2391 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2409 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2392 2410 

2393 A list of additional tools made available at this item.2411 A list of additional tools made available at this item.

2394 2412 

2395 - `Function object { name, parameters, strict, 5 more }`2413 - `Function object { name, parameters, strict, 6 more }`

2396 2414 

2397 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2415 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2398 2416 


2422 2440 

2423 - `"programmatic"`2441 - `"programmatic"`

2424 2442 

2443 - `async: optional boolean`

2444 

2425 - `defer_loading: optional boolean`2445 - `defer_loading: optional boolean`

2426 2446 

2427 Whether this function is deferred and loaded via tool search.2447 Whether this function is deferred and loaded via tool search.


2998 3018 

2999 - `ContainerReference object { container_id, type }`3019 - `ContainerReference object { container_id, type }`

3000 3020 

3001 - `Custom object { name, type, allowed_callers, 3 more }`3021 - `Custom object { name, type, allowed_callers, 4 more }`

3002 3022 

3003 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3023 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3004 3024 


3020 3040 

3021 - `"programmatic"`3041 - `"programmatic"`

3022 3042 

3043 - `async: optional boolean`

3044 

3045 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3046 

3023 - `defer_loading: optional boolean`3047 - `defer_loading: optional boolean`

3024 3048 

3025 Whether this tool should be deferred and discovered via tool search.3049 Whether this tool should be deferred and discovered via tool search.


3044 3068 

3045 The namespace name used in tool calls (for example, `crm`).3069 The namespace name used in tool calls (for example, `crm`).

3046 3070 

3047 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3071 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3048 3072 

3049 The function/custom tools available inside this namespace.3073 The function/custom tools available inside this namespace.

3050 3074 

3051 - `Function object { name, type, allowed_callers, 5 more }`3075 - `Function object { name, type, allowed_callers, 6 more }`

3052 3076 

3053 - `name: string`3077 - `name: string`

3054 3078 


3064 3088 

3065 - `"programmatic"`3089 - `"programmatic"`

3066 3090 

3091 - `async: optional boolean`

3092 

3093 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3094 

3067 - `defer_loading: optional boolean`3095 - `defer_loading: optional boolean`

3068 3096 

3069 Whether this function should be deferred and discovered via tool search.3097 Whether this function should be deferred and discovered via tool search.


3080 3108 

3081 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3109 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3082 3110 

3083 - `Custom object { name, type, allowed_callers, 3 more }`3111 - `Custom object { name, type, allowed_callers, 4 more }`

3084 3112 

3085 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3113 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3086 3114 


3102 3130 

3103 - `"programmatic"`3131 - `"programmatic"`

3104 3132 

3133 - `async: optional boolean`

3134 

3135 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3136 

3105 - `defer_loading: optional boolean`3137 - `defer_loading: optional boolean`

3106 3138 

3107 Whether this tool should be deferred and discovered via tool search.3139 Whether this tool should be deferred and discovered via tool search.


3228 3260 

3229 The unique ID of this additional tools item.3261 The unique ID of this additional tools item.

3230 3262 

3263 - `ConfigurationUpdate object { type, id, reasoning }`

3264 

3265 An update to the conversation's response configuration. The configuration

3266 remains in effect for subsequent responses until it is replaced by another

3267 configuration update.

3268 

3269 - `type: "configuration_update"`

3270 

3271 The item type. Always `configuration_update`.

3272 

3273 - `"configuration_update"`

3274 

3275 - `id: optional string or null`

3276 

3277 The unique ID of the configuration update item.

3278 

3279 - `reasoning: optional object { effort }`

3280 

3281 Updates to reasoning configuration. Only effort is supported.

3282 

3283 - `effort: optional ReasoningEffort or null`

3284 

3285 The reasoning effort to use for subsequent responses until another

3286 configuration update replaces it.

3287 

3288 - `"none"`

3289 

3290 - `"minimal"`

3291 

3292 - `"low"`

3293 

3294 - `"medium"`

3295 

3296 - `"high"`

3297 

3298 - `"xhigh"`

3299 

3300 - `"max"`

3301 

3231 - `Reasoning object { id, summary, type, 3 more }`3302 - `Reasoning object { id, summary, type, 3 more }`

3232 3303 

3233 A description of the chain of thought used by a reasoning model while generating3304 A description of the chain of thought used by a reasoning model while generating


4071 4142 

4072 - `"program"`4143 - `"program"`

4073 4144 

4074 - `CustomToolCall object { call_id, input, name, 4 more }`4145 - `CustomToolCall object { call_id, input, name, 5 more }`

4075 4146 

4076 A call to a custom tool created by the model.4147 A call to a custom tool created by the model.

4077 4148 


4097 4168 

4098 The unique ID of the custom tool call in the OpenAI platform.4169 The unique ID of the custom tool call in the OpenAI platform.

4099 4170 

4171 - `async: optional boolean`

4172 

4173 Whether the custom tool call runs asynchronously.

4174 

4100 - `caller: optional object { type } or object { caller_id, type } or null`4175 - `caller: optional object { type } or object { caller_id, type } or null`

4101 4176 

4102 The execution context that produced this tool call.4177 The execution context that produced this tool call.


4228 4303 

4229- `model: optional ResponsesModel`4304- `model: optional ResponsesModel`

4230 4305 

4231 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI4306 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

4232 offers a wide range of models with different capabilities, performance4307 offers a wide range of models with different capabilities, performance

4233 characteristics, and price points. Refer to the [model guide](/docs/models)4308 characteristics, and price points. Refer to the [model guide](/docs/models)

4234 to browse and compare available models.4309 to browse and compare available models.

4235 4310 

4236 - `string`4311 - `string`

4237 4312 

4238 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 80 more`4313 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 81 more`

4314 

4315 - `"gpt-6-astra"`

4239 4316 

4240 - `"gpt-5.6-sol"`4317 - `"gpt-5.6-sol"`

4241 4318 


4522 4599 

4523 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).4600 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).

4524 4601 

4525- `prompt_cache_options: optional object { mode, ttl }`4602- `prompt_cache_options: optional object { comparison_response_id, mode, ttl }`

4526 4603 

4527 Options for prompt caching. Supported for `gpt-5.6` and later models. By default, OpenAI automatically chooses one implicit cache breakpoint. You can add explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each request can write up to four breakpoints. For cache matching, OpenAI considers up to the latest 80 breakpoints in the conversation, without a content-block lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The `ttl` defaults to `30m`, which is currently the only supported value. See the [prompt caching guide](/docs/guides/prompt-caching) for current details.4604 Options for prompt caching. Supported for `gpt-5.6` and later models. By default, OpenAI automatically chooses one implicit cache breakpoint. You can add explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each request can write up to four breakpoints. For cache matching, OpenAI considers up to the latest 80 breakpoints in the conversation, without a content-block lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The `ttl` defaults to `30m`, which is currently the only supported value. See the [prompt caching guide](/docs/guides/prompt-caching) for current details.

4528 4605 

4606 - `comparison_response_id: optional string or null`

4607 

4608 The ID of a response to compare when diagnosing prompt cache reuse. Supplying this field requests prompt cache diagnostics when the feature is enabled.

4609 

4529 - `mode: optional "implicit" or "explicit"`4610 - `mode: optional "implicit" or "explicit"`

4530 4611 

4531 Controls whether OpenAI automatically creates an implicit cache breakpoint. Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint and writes up to the latest three explicit breakpoints in the request. With `explicit`, OpenAI does not create an implicit breakpoint and writes up to the latest four explicit breakpoints. If there are no explicit breakpoints, the request does not use prompt caching.4612 Controls whether OpenAI automatically creates an implicit cache breakpoint. Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint and writes up to the latest three explicit breakpoints in the request. With `explicit`, OpenAI does not create an implicit breakpoint and writes up to the latest four explicit breakpoints. If there are no explicit breakpoints, the request does not use prompt caching.


4590 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)4671 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)

4591 for model-specific support.4672 for model-specific support.

4592 4673 

4593 - `"none"`

4594 

4595 - `"minimal"`

4596 

4597 - `"low"`

4598 

4599 - `"medium"`

4600 

4601 - `"high"`

4602 

4603 - `"xhigh"`

4604 

4605 - `"max"`

4606 

4607 - `generate_summary: optional "auto" or "concise" or "detailed" or null`4674 - `generate_summary: optional "auto" or "concise" or "detailed" or null`

4608 4675 

4609 **Deprecated:** use `summary` instead.4676 **Deprecated:** use `summary` instead.


4977 5044 

4978 - `"shell"`5045 - `"shell"`

4979 5046 

4980- `tools: optional array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`5047- `tools: optional array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

4981 5048 

4982 An array of tools the model may call while generating a response. You5049 An array of tools the model may call while generating a response. You

4983 can specify which tool to use by setting the `tool_choice` parameter.5050 can specify which tool to use by setting the `tool_choice` parameter.


4997 [function calling](/docs/guides/function-calling). You can also use5064 [function calling](/docs/guides/function-calling). You can also use

4998 custom tools to call your own code.5065 custom tools to call your own code.

4999 5066 

5000 - `Function object { name, parameters, strict, 5 more }`5067 - `Function object { name, parameters, strict, 6 more }`

5001 5068 

5002 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).5069 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

5003 5070 


5027 5094 

5028 - `"programmatic"`5095 - `"programmatic"`

5029 5096 

5097 - `async: optional boolean`

5098 

5030 - `defer_loading: optional boolean`5099 - `defer_loading: optional boolean`

5031 5100 

5032 Whether this function is deferred and loaded via tool search.5101 Whether this function is deferred and loaded via tool search.


5603 5672 

5604 - `ContainerReference object { container_id, type }`5673 - `ContainerReference object { container_id, type }`

5605 5674 

5606 - `Custom object { name, type, allowed_callers, 3 more }`5675 - `Custom object { name, type, allowed_callers, 4 more }`

5607 5676 

5608 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)5677 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

5609 5678 


5625 5694 

5626 - `"programmatic"`5695 - `"programmatic"`

5627 5696 

5697 - `async: optional boolean`

5698 

5699 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5700 

5628 - `defer_loading: optional boolean`5701 - `defer_loading: optional boolean`

5629 5702 

5630 Whether this tool should be deferred and discovered via tool search.5703 Whether this tool should be deferred and discovered via tool search.


5649 5722 

5650 The namespace name used in tool calls (for example, `crm`).5723 The namespace name used in tool calls (for example, `crm`).

5651 5724 

5652 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`5725 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

5653 5726 

5654 The function/custom tools available inside this namespace.5727 The function/custom tools available inside this namespace.

5655 5728 

5656 - `Function object { name, type, allowed_callers, 5 more }`5729 - `Function object { name, type, allowed_callers, 6 more }`

5657 5730 

5658 - `name: string`5731 - `name: string`

5659 5732 


5669 5742 

5670 - `"programmatic"`5743 - `"programmatic"`

5671 5744 

5745 - `async: optional boolean`

5746 

5747 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5748 

5672 - `defer_loading: optional boolean`5749 - `defer_loading: optional boolean`

5673 5750 

5674 Whether this function should be deferred and discovered via tool search.5751 Whether this function should be deferred and discovered via tool search.


5685 5762 

5686 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.5763 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

5687 5764 

5688 - `Custom object { name, type, allowed_callers, 3 more }`5765 - `Custom object { name, type, allowed_callers, 4 more }`

5689 5766 

5690 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)5767 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

5691 5768 


5707 5784 

5708 - `"programmatic"`5785 - `"programmatic"`

5709 5786 

5787 - `async: optional boolean`

5788 

5789 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5790 

5710 - `defer_loading: optional boolean`5791 - `defer_loading: optional boolean`

5711 5792 

5712 Whether this tool should be deferred and discovered via tool search.5793 Whether this tool should be deferred and discovered via tool search.


5861 5942 

5862### Returns5943### Returns

5863 5944 

5864- `Response object { id, created_at, error, 32 more }`5945- `Response object { id, created_at, error, 33 more }`

5865 5946 

5866 - `id: string`5947 - `id: string`

5867 5948 


5875 5956 

5876 An error object returned when the model fails to generate a Response.5957 An error object returned when the model fails to generate a Response.

5877 5958 

5878 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 17 more`5959 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 18 more`

5879 5960 

5880 The error code for the response.5961 The error code for the response.

5881 5962 


5889 5970 

5890 - `"bio_policy"`5971 - `"bio_policy"`

5891 5972 

5973 - `"misalignment_policy_violation"`

5974 

5892 - `"vector_store_timeout"`5975 - `"vector_store_timeout"`

5893 5976 

5894 - `"invalid_image"`5977 - `"invalid_image"`


5923 6006 

5924 A human-readable description of the error.6007 A human-readable description of the error.

5925 6008 

6009 - `misalignment: optional object { detailed_explanation, error_type, steer }`

6010 

6011 - `detailed_explanation: optional string`

6012 

6013 The public explanation for this block.

6014 

6015 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

6016 

6017 An optional classification; clients must accept additional values.

6018 

6019 - `string`

6020 

6021 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

6022 

6023 An optional classification; clients must accept additional values.

6024 

6025 - `"potentially_unintended_data_transfer"`

6026 

6027 - `"potentially_unintended_data_access"`

6028 

6029 - `"potentially_unintended_destructive_activity"`

6030 

6031 - `"other"`

6032 

6033 - `steer: optional object { message }`

6034 

6035 An optional public continuation instruction.

6036 

6037 - `message: string`

6038 

6039 The public continuation instruction.

6040 

5926 - `incomplete_details: object { reason } or null`6041 - `incomplete_details: object { reason } or null`

5927 6042 

5928 Details about why the response is incomplete.6043 Details about why the response is incomplete.

5929 6044 

5930 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter"`6045 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter" or "steered"`

5931 6046 

5932 The reason why the response is incomplete.6047 The reason why the response is incomplete. `steered` means

6048 the response stopped at a safe output boundary after a

6049 WebSocket `response.steer` event. The server can then create

6050 a successor response automatically with the queued input.

5933 6051 

5934 - `"max_output_tokens"`6052 - `"max_output_tokens"`

5935 6053 


5937 6055 

5938 - `"content_filter"`6056 - `"content_filter"`

5939 6057 

5940 - `instructions: string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more or null`6058 - `"steered"`

6059 

6060 - `instructions: string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more or null`

5941 6061 

5942 A system (or developer) message inserted into the model's context.6062 A system (or developer) message inserted into the model's context.

5943 6063 


5950 A text input to the model, equivalent to a text input with the6070 A text input to the model, equivalent to a text input with the

5951 `developer` role.6071 `developer` role.

5952 6072 

5953 - `InputItemList = array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more`6073 - `InputItemList = array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more`

5954 6074 

5955 A list of one or many input items to the model, containing6075 A list of one or many input items to the model, containing

5956 different content types.6076 different content types.


6852 6972 

6853 - `"web_search_call"`6973 - `"web_search_call"`

6854 6974 

6855 - `FunctionCall object { arguments, call_id, name, 5 more }`6975 - `FunctionCall object { arguments, call_id, name, 6 more }`

6856 6976 

6857 A tool call to run a function. See the6977 A tool call to run a function. See the

6858 [function calling guide](/docs/guides/function-calling) for more information.6978 [function calling guide](/docs/guides/function-calling) for more information.


6879 6999 

6880 The unique ID of the function tool call.7000 The unique ID of the function tool call.

6881 7001 

7002 - `async: optional boolean`

7003 

7004 Whether the function tool call runs asynchronously.

7005 

6882 - `caller: optional object { type } or object { caller_id, type } or null`7006 - `caller: optional object { type } or object { caller_id, type } or null`

6883 7007 

6884 The execution context that produced this tool call.7008 The execution context that produced this tool call.


7128 7252 

7129 - `ToolSearchOutput object { tools, type, id, 3 more }`7253 - `ToolSearchOutput object { tools, type, id, 3 more }`

7130 7254 

7131 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`7255 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

7132 7256 

7133 The loaded tool definitions returned by the tool search output.7257 The loaded tool definitions returned by the tool search output.

7134 7258 

7135 - `Function object { name, parameters, strict, 5 more }`7259 - `Function object { name, parameters, strict, 6 more }`

7136 7260 

7137 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).7261 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

7138 7262 


7162 7286 

7163 - `"programmatic"`7287 - `"programmatic"`

7164 7288 

7289 - `async: optional boolean`

7290 

7165 - `defer_loading: optional boolean`7291 - `defer_loading: optional boolean`

7166 7292 

7167 Whether this function is deferred and loaded via tool search.7293 Whether this function is deferred and loaded via tool search.


7955 8081 

7956 - `"container_reference"`8082 - `"container_reference"`

7957 8083 

7958 - `Custom object { name, type, allowed_callers, 3 more }`8084 - `Custom object { name, type, allowed_callers, 4 more }`

7959 8085 

7960 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8086 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

7961 8087 


7977 8103 

7978 - `"programmatic"`8104 - `"programmatic"`

7979 8105 

8106 - `async: optional boolean`

8107 

8108 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8109 

7980 - `defer_loading: optional boolean`8110 - `defer_loading: optional boolean`

7981 8111 

7982 Whether this tool should be deferred and discovered via tool search.8112 Whether this tool should be deferred and discovered via tool search.


8033 8163 

8034 The namespace name used in tool calls (for example, `crm`).8164 The namespace name used in tool calls (for example, `crm`).

8035 8165 

8036 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`8166 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

8037 8167 

8038 The function/custom tools available inside this namespace.8168 The function/custom tools available inside this namespace.

8039 8169 

8040 - `Function object { name, type, allowed_callers, 5 more }`8170 - `Function object { name, type, allowed_callers, 6 more }`

8041 8171 

8042 - `name: string`8172 - `name: string`

8043 8173 


8053 8183 

8054 - `"programmatic"`8184 - `"programmatic"`

8055 8185 

8186 - `async: optional boolean`

8187 

8188 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8189 

8056 - `defer_loading: optional boolean`8190 - `defer_loading: optional boolean`

8057 8191 

8058 Whether this function should be deferred and discovered via tool search.8192 Whether this function should be deferred and discovered via tool search.


8069 8203 

8070 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.8204 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

8071 8205 

8072 - `Custom object { name, type, allowed_callers, 3 more }`8206 - `Custom object { name, type, allowed_callers, 4 more }`

8073 8207 

8074 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8208 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

8075 8209 


8091 8225 

8092 - `"programmatic"`8226 - `"programmatic"`

8093 8227 

8228 - `async: optional boolean`

8229 

8230 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8231 

8094 - `defer_loading: optional boolean`8232 - `defer_loading: optional boolean`

8095 8233 

8096 Whether this tool should be deferred and discovered via tool search.8234 Whether this tool should be deferred and discovered via tool search.


8247 8385 

8248 - `"developer"`8386 - `"developer"`

8249 8387 

8250 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`8388 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

8251 8389 

8252 A list of additional tools made available at this item.8390 A list of additional tools made available at this item.

8253 8391 

8254 - `Function object { name, parameters, strict, 5 more }`8392 - `Function object { name, parameters, strict, 6 more }`

8255 8393 

8256 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).8394 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

8257 8395 


8281 8419 

8282 - `"programmatic"`8420 - `"programmatic"`

8283 8421 

8422 - `async: optional boolean`

8423 

8284 - `defer_loading: optional boolean`8424 - `defer_loading: optional boolean`

8285 8425 

8286 Whether this function is deferred and loaded via tool search.8426 Whether this function is deferred and loaded via tool search.


8857 8997 

8858 - `ContainerReference object { container_id, type }`8998 - `ContainerReference object { container_id, type }`

8859 8999 

8860 - `Custom object { name, type, allowed_callers, 3 more }`9000 - `Custom object { name, type, allowed_callers, 4 more }`

8861 9001 

8862 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)9002 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

8863 9003 


8879 9019 

8880 - `"programmatic"`9020 - `"programmatic"`

8881 9021 

9022 - `async: optional boolean`

9023 

9024 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

9025 

8882 - `defer_loading: optional boolean`9026 - `defer_loading: optional boolean`

8883 9027 

8884 Whether this tool should be deferred and discovered via tool search.9028 Whether this tool should be deferred and discovered via tool search.


8903 9047 

8904 The namespace name used in tool calls (for example, `crm`).9048 The namespace name used in tool calls (for example, `crm`).

8905 9049 

8906 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`9050 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

8907 9051 

8908 The function/custom tools available inside this namespace.9052 The function/custom tools available inside this namespace.

8909 9053 

8910 - `Function object { name, type, allowed_callers, 5 more }`9054 - `Function object { name, type, allowed_callers, 6 more }`

8911 9055 

8912 - `name: string`9056 - `name: string`

8913 9057 


8923 9067 

8924 - `"programmatic"`9068 - `"programmatic"`

8925 9069 

9070 - `async: optional boolean`

9071 

9072 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

9073 

8926 - `defer_loading: optional boolean`9074 - `defer_loading: optional boolean`

8927 9075 

8928 Whether this function should be deferred and discovered via tool search.9076 Whether this function should be deferred and discovered via tool search.


8939 9087 

8940 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.9088 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

8941 9089 

8942 - `Custom object { name, type, allowed_callers, 3 more }`9090 - `Custom object { name, type, allowed_callers, 4 more }`

8943 9091 

8944 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)9092 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

8945 9093 


8961 9109 

8962 - `"programmatic"`9110 - `"programmatic"`

8963 9111 

9112 - `async: optional boolean`

9113 

9114 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

9115 

8964 - `defer_loading: optional boolean`9116 - `defer_loading: optional boolean`

8965 9117 

8966 Whether this tool should be deferred and discovered via tool search.9118 Whether this tool should be deferred and discovered via tool search.


9087 9239 

9088 The unique ID of this additional tools item.9240 The unique ID of this additional tools item.

9089 9241 

9242 - `ConfigurationUpdate object { type, id, reasoning }`

9243 

9244 An update to the conversation's response configuration. The configuration

9245 remains in effect for subsequent responses until it is replaced by another

9246 configuration update.

9247 

9248 - `type: "configuration_update"`

9249 

9250 The item type. Always `configuration_update`.

9251 

9252 - `"configuration_update"`

9253 

9254 - `id: optional string or null`

9255 

9256 The unique ID of the configuration update item.

9257 

9258 - `reasoning: optional object { effort }`

9259 

9260 Updates to reasoning configuration. Only effort is supported.

9261 

9262 - `effort: optional ReasoningEffort or null`

9263 

9264 The reasoning effort to use for subsequent responses until another

9265 configuration update replaces it.

9266 

9267 - `"none"`

9268 

9269 - `"minimal"`

9270 

9271 - `"low"`

9272 

9273 - `"medium"`

9274 

9275 - `"high"`

9276 

9277 - `"xhigh"`

9278 

9279 - `"max"`

9280 

9090 - `Reasoning object { id, summary, type, 3 more }`9281 - `Reasoning object { id, summary, type, 3 more }`

9091 9282 

9092 A description of the chain of thought used by a reasoning model while generating9283 A description of the chain of thought used by a reasoning model while generating


9930 10121 

9931 - `"program"`10122 - `"program"`

9932 10123 

9933 - `CustomToolCall object { call_id, input, name, 4 more }`10124 - `CustomToolCall object { call_id, input, name, 5 more }`

9934 10125 

9935 A call to a custom tool created by the model.10126 A call to a custom tool created by the model.

9936 10127 


9956 10147 

9957 The unique ID of the custom tool call in the OpenAI platform.10148 The unique ID of the custom tool call in the OpenAI platform.

9958 10149 

10150 - `async: optional boolean`

10151 

10152 Whether the custom tool call runs asynchronously.

10153 

9959 - `caller: optional object { type } or object { caller_id, type } or null`10154 - `caller: optional object { type } or object { caller_id, type } or null`

9960 10155 

9961 The execution context that produced this tool call.10156 The execution context that produced this tool call.


10071 10266 

10072 - `model: ResponsesModel`10267 - `model: ResponsesModel`

10073 10268 

10074 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI10269 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

10075 offers a wide range of models with different capabilities, performance10270 offers a wide range of models with different capabilities, performance

10076 characteristics, and price points. Refer to the [model guide](/docs/models)10271 characteristics, and price points. Refer to the [model guide](/docs/models)

10077 to browse and compare available models.10272 to browse and compare available models.

10078 10273 

10079 - `string`10274 - `string`

10080 10275 

10081 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 80 more`10276 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 81 more`

10277 

10278 - `"gpt-6-astra"`

10082 10279 

10083 - `"gpt-5.6-sol"`10280 - `"gpt-5.6-sol"`

10084 10281 


10375 10572 

10376 The text that was retrieved from the file.10573 The text that was retrieved from the file.

10377 10574 

10378 - `FunctionCall object { arguments, call_id, name, 5 more }`10575 - `FunctionCall object { arguments, call_id, name, 6 more }`

10379 10576 

10380 A tool call to run a function. See the10577 A tool call to run a function. See the

10381 [function calling guide](/docs/guides/function-calling) for more information.10578 [function calling guide](/docs/guides/function-calling) for more information.


10402 10599 

10403 The unique ID of the function tool call.10600 The unique ID of the function tool call.

10404 10601 

10602 - `async: optional boolean`

10603 

10604 Whether the function tool call runs asynchronously.

10605 

10405 - `caller: optional object { type } or object { caller_id, type } or null`10606 - `caller: optional object { type } or object { caller_id, type } or null`

10406 10607 

10407 The execution context that produced this tool call.10608 The execution context that produced this tool call.


10918 11119 

10919 - `"incomplete"`11120 - `"incomplete"`

10920 11121 

10921 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`11122 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

10922 11123 

10923 The loaded tool definitions returned by tool search.11124 The loaded tool definitions returned by tool search.

10924 11125 

10925 - `Function object { name, parameters, strict, 5 more }`11126 - `Function object { name, parameters, strict, 6 more }`

10926 11127 

10927 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).11128 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

10928 11129 


10952 11153 

10953 - `"programmatic"`11154 - `"programmatic"`

10954 11155 

11156 - `async: optional boolean`

11157 

10955 - `defer_loading: optional boolean`11158 - `defer_loading: optional boolean`

10956 11159 

10957 Whether this function is deferred and loaded via tool search.11160 Whether this function is deferred and loaded via tool search.


11528 11731 

11529 - `ContainerReference object { container_id, type }`11732 - `ContainerReference object { container_id, type }`

11530 11733 

11531 - `Custom object { name, type, allowed_callers, 3 more }`11734 - `Custom object { name, type, allowed_callers, 4 more }`

11532 11735 

11533 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)11736 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

11534 11737 


11550 11753 

11551 - `"programmatic"`11754 - `"programmatic"`

11552 11755 

11756 - `async: optional boolean`

11757 

11758 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

11759 

11553 - `defer_loading: optional boolean`11760 - `defer_loading: optional boolean`

11554 11761 

11555 Whether this tool should be deferred and discovered via tool search.11762 Whether this tool should be deferred and discovered via tool search.


11574 11781 

11575 The namespace name used in tool calls (for example, `crm`).11782 The namespace name used in tool calls (for example, `crm`).

11576 11783 

11577 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`11784 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

11578 11785 

11579 The function/custom tools available inside this namespace.11786 The function/custom tools available inside this namespace.

11580 11787 

11581 - `Function object { name, type, allowed_callers, 5 more }`11788 - `Function object { name, type, allowed_callers, 6 more }`

11582 11789 

11583 - `name: string`11790 - `name: string`

11584 11791 


11594 11801 

11595 - `"programmatic"`11802 - `"programmatic"`

11596 11803 

11804 - `async: optional boolean`

11805 

11806 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

11807 

11597 - `defer_loading: optional boolean`11808 - `defer_loading: optional boolean`

11598 11809 

11599 Whether this function should be deferred and discovered via tool search.11810 Whether this function should be deferred and discovered via tool search.


11610 11821 

11611 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.11822 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

11612 11823 

11613 - `Custom object { name, type, allowed_callers, 3 more }`11824 - `Custom object { name, type, allowed_callers, 4 more }`

11614 11825 

11615 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)11826 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

11616 11827 


11632 11843 

11633 - `"programmatic"`11844 - `"programmatic"`

11634 11845 

11846 - `async: optional boolean`

11847 

11848 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

11849 

11635 - `defer_loading: optional boolean`11850 - `defer_loading: optional boolean`

11636 11851 

11637 Whether this tool should be deferred and discovered via tool search.11852 Whether this tool should be deferred and discovered via tool search.


11784 11999 

11785 - `"tool"`12000 - `"tool"`

11786 12001 

11787 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`12002 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

11788 12003 

11789 The additional tool definitions made available at this item.12004 The additional tool definitions made available at this item.

11790 12005 

11791 - `Function object { name, parameters, strict, 5 more }`12006 - `Function object { name, parameters, strict, 6 more }`

11792 12007 

11793 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).12008 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

11794 12009 


11818 12033 

11819 - `"programmatic"`12034 - `"programmatic"`

11820 12035 

12036 - `async: optional boolean`

12037 

11821 - `defer_loading: optional boolean`12038 - `defer_loading: optional boolean`

11822 12039 

11823 Whether this function is deferred and loaded via tool search.12040 Whether this function is deferred and loaded via tool search.


12394 12611 

12395 - `ContainerReference object { container_id, type }`12612 - `ContainerReference object { container_id, type }`

12396 12613 

12397 - `Custom object { name, type, allowed_callers, 3 more }`12614 - `Custom object { name, type, allowed_callers, 4 more }`

12398 12615 

12399 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)12616 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

12400 12617 


12416 12633 

12417 - `"programmatic"`12634 - `"programmatic"`

12418 12635 

12636 - `async: optional boolean`

12637 

12638 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

12639 

12419 - `defer_loading: optional boolean`12640 - `defer_loading: optional boolean`

12420 12641 

12421 Whether this tool should be deferred and discovered via tool search.12642 Whether this tool should be deferred and discovered via tool search.


12440 12661 

12441 The namespace name used in tool calls (for example, `crm`).12662 The namespace name used in tool calls (for example, `crm`).

12442 12663 

12443 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`12664 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

12444 12665 

12445 The function/custom tools available inside this namespace.12666 The function/custom tools available inside this namespace.

12446 12667 

12447 - `Function object { name, type, allowed_callers, 5 more }`12668 - `Function object { name, type, allowed_callers, 6 more }`

12448 12669 

12449 - `name: string`12670 - `name: string`

12450 12671 


12460 12681 

12461 - `"programmatic"`12682 - `"programmatic"`

12462 12683 

12684 - `async: optional boolean`

12685 

12686 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

12687 

12463 - `defer_loading: optional boolean`12688 - `defer_loading: optional boolean`

12464 12689 

12465 Whether this function should be deferred and discovered via tool search.12690 Whether this function should be deferred and discovered via tool search.


12476 12701 

12477 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.12702 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

12478 12703 

12479 - `Custom object { name, type, allowed_callers, 3 more }`12704 - `Custom object { name, type, allowed_callers, 4 more }`

12480 12705 

12481 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)12706 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

12482 12707 


12498 12723 

12499 - `"programmatic"`12724 - `"programmatic"`

12500 12725 

12726 - `async: optional boolean`

12727 

12728 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

12729 

12501 - `defer_loading: optional boolean`12730 - `defer_loading: optional boolean`

12502 12731 

12503 Whether this tool should be deferred and discovered via tool search.12732 Whether this tool should be deferred and discovered via tool search.


13324 13553 

13325 Optional reason for the decision.13554 Optional reason for the decision.

13326 13555 

13327 - `CustomToolCall object { call_id, input, name, 4 more }`13556 - `CustomToolCall object { call_id, input, name, 5 more }`

13328 13557 

13329 A call to a custom tool created by the model.13558 A call to a custom tool created by the model.

13330 13559 


13350 13579 

13351 The unique ID of the custom tool call in the OpenAI platform.13580 The unique ID of the custom tool call in the OpenAI platform.

13352 13581 

13582 - `async: optional boolean`

13583 

13584 Whether the custom tool call runs asynchronously.

13585 

13353 - `caller: optional object { type } or object { caller_id, type } or null`13586 - `caller: optional object { type } or object { caller_id, type } or null`

13354 13587 

13355 The execution context that produced this tool call.13588 The execution context that produced this tool call.


13633 13866 

13634 - `"shell"`13867 - `"shell"`

13635 13868 

13636 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`13869 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

13637 13870 

13638 An array of tools the model may call while generating a response. You13871 An array of tools the model may call while generating a response. You

13639 can specify which tool to use by setting the `tool_choice` parameter.13872 can specify which tool to use by setting the `tool_choice` parameter.


13653 [function calling](/docs/guides/function-calling). You can also use13886 [function calling](/docs/guides/function-calling). You can also use

13654 custom tools to call your own code.13887 custom tools to call your own code.

13655 13888 

13656 - `Function object { name, parameters, strict, 5 more }`13889 - `Function object { name, parameters, strict, 6 more }`

13657 13890 

13658 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).13891 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

13659 13892 


13683 13916 

13684 - `"programmatic"`13917 - `"programmatic"`

13685 13918 

13919 - `async: optional boolean`

13920 

13686 - `defer_loading: optional boolean`13921 - `defer_loading: optional boolean`

13687 13922 

13688 Whether this function is deferred and loaded via tool search.13923 Whether this function is deferred and loaded via tool search.


14259 14494 

14260 - `ContainerReference object { container_id, type }`14495 - `ContainerReference object { container_id, type }`

14261 14496 

14262 - `Custom object { name, type, allowed_callers, 3 more }`14497 - `Custom object { name, type, allowed_callers, 4 more }`

14263 14498 

14264 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)14499 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

14265 14500 


14281 14516 

14282 - `"programmatic"`14517 - `"programmatic"`

14283 14518 

14519 - `async: optional boolean`

14520 

14521 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

14522 

14284 - `defer_loading: optional boolean`14523 - `defer_loading: optional boolean`

14285 14524 

14286 Whether this tool should be deferred and discovered via tool search.14525 Whether this tool should be deferred and discovered via tool search.


14305 14544 

14306 The namespace name used in tool calls (for example, `crm`).14545 The namespace name used in tool calls (for example, `crm`).

14307 14546 

14308 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`14547 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

14309 14548 

14310 The function/custom tools available inside this namespace.14549 The function/custom tools available inside this namespace.

14311 14550 

14312 - `Function object { name, type, allowed_callers, 5 more }`14551 - `Function object { name, type, allowed_callers, 6 more }`

14313 14552 

14314 - `name: string`14553 - `name: string`

14315 14554 


14325 14564 

14326 - `"programmatic"`14565 - `"programmatic"`

14327 14566 

14567 - `async: optional boolean`

14568 

14569 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

14570 

14328 - `defer_loading: optional boolean`14571 - `defer_loading: optional boolean`

14329 14572 

14330 Whether this function should be deferred and discovered via tool search.14573 Whether this function should be deferred and discovered via tool search.


14341 14584 

14342 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.14585 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

14343 14586 

14344 - `Custom object { name, type, allowed_callers, 3 more }`14587 - `Custom object { name, type, allowed_callers, 4 more }`

14345 14588 

14346 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)14589 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

14347 14590 


14363 14606 

14364 - `"programmatic"`14607 - `"programmatic"`

14365 14608 

14609 - `async: optional boolean`

14610 

14611 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

14612 

14366 - `defer_loading: optional boolean`14613 - `defer_loading: optional boolean`

14367 14614 

14368 Whether this tool should be deferred and discovered via tool search.14615 Whether this tool should be deferred and discovered via tool search.


14675 14922 

14676 Optional version of the prompt template.14923 Optional version of the prompt template.

14677 14924 

14925 - `prompt_cache_diagnostics: optional object { cache_missed_tokens, reason, type, comparison_reusable_tokens } or object { type } or object { type } or object { type }`

14926 

14927 Prompt cache diagnostics requested for this response.

14928 

14929 - `CacheMiss object { cache_missed_tokens, reason, type, comparison_reusable_tokens }`

14930 

14931 - `cache_missed_tokens: number`

14932 

14933 The estimated number of input tokens affected after the first detected divergence.

14934 

14935 - `reason: "model_changed" or "prompt_cache_key_changed" or "tools_changed" or 6 more`

14936 

14937 The reason prompt cache reuse did not occur.

14938 

14939 - `"model_changed"`

14940 

14941 - `"prompt_cache_key_changed"`

14942 

14943 - `"tools_changed"`

14944 

14945 - `"text_format_changed"`

14946 

14947 - `"reasoning_effort_changed"`

14948 

14949 - `"verbosity_changed"`

14950 

14951 - `"context_compacted"`

14952 

14953 - `"input_changed"`

14954 

14955 - `"service_tier_changed"`

14956 

14957 - `type: "cache_miss"`

14958 

14959 - `"cache_miss"`

14960 

14961 - `comparison_reusable_tokens: optional number`

14962 

14963 The raw token count of the reusable prefix in the compared response.

14964 

14965 - `CacheHit object { type }`

14966 

14967 - `type: "cache_hit"`

14968 

14969 - `"cache_hit"`

14970 

14971 - `ComparisonResponseNotFound object { type }`

14972 

14973 - `type: "comparison_response_not_found"`

14974 

14975 - `"comparison_response_not_found"`

14976 

14977 - `Unavailable object { type }`

14978 

14979 - `type: "unavailable"`

14980 

14981 - `"unavailable"`

14982 

14678 - `prompt_cache_key: optional string or null`14983 - `prompt_cache_key: optional string or null`

14679 14984 

14680 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).14985 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).

14681 14986 

14682 - `prompt_cache_options: optional object { mode, ttl }`14987 - `prompt_cache_options: optional object { mode, ttl, comparison_response_id }`

14683 14988 

14684 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.14989 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.

14685 14990 


14697 15002 

14698 - `"30m"`15003 - `"30m"`

14699 15004 

15005 - `comparison_response_id: optional string or null`

15006 

15007 The response ID supplied as the prompt cache diagnostics comparison.

15008 

14700 - `prompt_cache_retention: optional "in_memory" or "24h" or null`15009 - `prompt_cache_retention: optional "in_memory" or "24h" or null`

14701 15010 

14702 Deprecated. Use `prompt_cache_options.ttl` instead.15011 Deprecated. Use `prompt_cache_options.ttl` instead.


14747 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)15056 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)

14748 for model-specific support.15057 for model-specific support.

14749 15058 

14750 - `"none"`

14751 

14752 - `"minimal"`

14753 

14754 - `"low"`

14755 

14756 - `"medium"`

14757 

14758 - `"high"`

14759 

14760 - `"xhigh"`

14761 

14762 - `"max"`

14763 

14764 - `generate_summary: optional "auto" or "concise" or "detailed" or null`15059 - `generate_summary: optional "auto" or "concise" or "detailed" or null`

14765 15060 

14766 **Deprecated:** use `summary` instead.15061 **Deprecated:** use `summary` instead.


15022 -H 'Content-Type: application/json' \15317 -H 'Content-Type: application/json' \

15023 -H "Authorization: Bearer $OPENAI_API_KEY" \15318 -H "Authorization: Bearer $OPENAI_API_KEY" \

15024 -d '{15319 -d '{

15025 "model": "gpt-5.6-sol",15320 "model": "gpt-6-astra",

15026 "prompt_cache_key": "prompt-cache-key-1234",15321 "prompt_cache_key": "prompt-cache-key-1234",

15027 "safety_identifier": "safety-identifier-1234",15322 "safety_identifier": "safety-identifier-1234",

15028 "temperature": 1,15323 "temperature": 1,


15039 "created_at": 0,15334 "created_at": 0,

15040 "error": {15335 "error": {

15041 "code": "server_error",15336 "code": "server_error",

15337 "message": "message",

15338 "misalignment": {

15339 "detailed_explanation": "detailed_explanation",

15340 "error_type": "potentially_unintended_data_transfer",

15341 "steer": {

15042 "message": "message"15342 "message": "message"

15343 }

15344 }

15043 },15345 },

15044 "incomplete_details": {15346 "incomplete_details": {

15045 "reason": "max_output_tokens"15347 "reason": "max_output_tokens"


15048 "metadata": {15350 "metadata": {

15049 "foo": "string"15351 "foo": "string"

15050 },15352 },

15051 "model": "gpt-5.6-sol",15353 "model": "gpt-6-astra",

15052 "object": "response",15354 "object": "response",

15053 "output": [15355 "output": [

15054 {15356 {


15105 "allowed_callers": [15407 "allowed_callers": [

15106 "direct"15408 "direct"

15107 ],15409 ],

15410 "async": true,

15108 "defer_loading": true,15411 "defer_loading": true,

15109 "description": "description",15412 "description": "description",

15110 "output_schema": {15413 "output_schema": {


15163 },15466 },

15164 "version": "version"15467 "version": "version"

15165 },15468 },

15469 "prompt_cache_diagnostics": {

15470 "cache_missed_tokens": 0,

15471 "reason": "model_changed",

15472 "type": "cache_miss",

15473 "comparison_reusable_tokens": 0

15474 },

15166 "prompt_cache_key": "prompt-cache-key-1234",15475 "prompt_cache_key": "prompt-cache-key-1234",

15167 "prompt_cache_options": {15476 "prompt_cache_options": {

15168 "mode": "implicit",15477 "mode": "implicit",

15169 "ttl": "30m"15478 "ttl": "30m",

15479 "comparison_response_id": "comparison_response_id"

15170 },15480 },

15171 "prompt_cache_retention": "in_memory",15481 "prompt_cache_retention": "in_memory",

15172 "reasoning": {15482 "reasoning": {


15210 -H "Content-Type: application/json" \15520 -H "Content-Type: application/json" \

15211 -H "Authorization: Bearer $OPENAI_API_KEY" \15521 -H "Authorization: Bearer $OPENAI_API_KEY" \

15212 -d '{15522 -d '{

15213 "model": "gpt-5.6-sol",15523 "model": "gpt-6-astra",

15214 "input": [15524 "input": [

15215 {15525 {

15216 "role": "user",15526 "role": "user",


15242 "instructions": null,15552 "instructions": null,

15243 "max_output_tokens": null,15553 "max_output_tokens": null,

15244 "max_tool_calls": null,15554 "max_tool_calls": null,

15245 "model": "gpt-5.6-sol",15555 "model": "gpt-6-astra",

15246 "output": [15556 "output": [

15247 {15557 {

15248 "id": "msg_686eef60d3e081a29283bdcbc4322fd90e34c516d176ff86",15558 "id": "msg_686eef60d3e081a29283bdcbc4322fd90e34c516d176ff86",


15302 -H "Content-Type: application/json" \15612 -H "Content-Type: application/json" \

15303 -H "Authorization: Bearer $OPENAI_API_KEY" \15613 -H "Authorization: Bearer $OPENAI_API_KEY" \

15304 -d '{15614 -d '{

15305 "model": "gpt-5.6-sol",15615 "model": "gpt-6-astra",

15306 "tools": [{15616 "tools": [{

15307 "type": "file_search",15617 "type": "file_search",

15308 "vector_store_ids": ["vs_1234567890"],15618 "vector_store_ids": ["vs_1234567890"],


15325 "incomplete_details": null,15635 "incomplete_details": null,

15326 "instructions": null,15636 "instructions": null,

15327 "max_output_tokens": null,15637 "max_output_tokens": null,

15328 "model": "gpt-5.6-sol",15638 "model": "gpt-6-astra",

15329 "output": [15639 "output": [

15330 {15640 {

15331 "type": "file_search_call",15641 "type": "file_search_call",


15453 -H "Content-Type: application/json" \15763 -H "Content-Type: application/json" \

15454 -H "Authorization: Bearer $OPENAI_API_KEY" \15764 -H "Authorization: Bearer $OPENAI_API_KEY" \

15455 -d '{15765 -d '{

15456 "model": "gpt-5.6-sol",15766 "model": "gpt-6-astra",

15457 "input": "What is the weather like in Boston today?",15767 "input": "What is the weather like in Boston today?",

15458 "tools": [15768 "tools": [

15459 {15769 {


15493 "incomplete_details": null,15803 "incomplete_details": null,

15494 "instructions": null,15804 "instructions": null,

15495 "max_output_tokens": null,15805 "max_output_tokens": null,

15496 "model": "gpt-5.6-sol",15806 "model": "gpt-6-astra",

15497 "output": [15807 "output": [

15498 {15808 {

15499 "type": "function_call",15809 "type": "function_call",


15568 -H "Content-Type: application/json" \15878 -H "Content-Type: application/json" \

15569 -H "Authorization: Bearer $OPENAI_API_KEY" \15879 -H "Authorization: Bearer $OPENAI_API_KEY" \

15570 -d '{15880 -d '{

15571 "model": "gpt-5.6-sol",15881 "model": "gpt-6-astra",

15572 "input": [15882 "input": [

15573 {15883 {

15574 "role": "user",15884 "role": "user",


15597 "incomplete_details": null,15907 "incomplete_details": null,

15598 "instructions": null,15908 "instructions": null,

15599 "max_output_tokens": null,15909 "max_output_tokens": null,

15600 "model": "gpt-5.6-sol",15910 "model": "gpt-6-astra",

15601 "output": [15911 "output": [

15602 {15912 {

15603 "type": "message",15913 "type": "message",


15654 -H "Content-Type: application/json" \15964 -H "Content-Type: application/json" \

15655 -H "Authorization: Bearer $OPENAI_API_KEY" \15965 -H "Authorization: Bearer $OPENAI_API_KEY" \

15656 -d '{15966 -d '{

15657 "model": "gpt-5.6-sol",15967 "model": "gpt-6-astra",

15658 "input": "How much wood would a woodchuck chuck?",15968 "input": "How much wood would a woodchuck chuck?",

15659 "reasoning": {15969 "reasoning": {

15660 "effort": "high"15970 "effort": "high"


15675 "incomplete_details": null,15985 "incomplete_details": null,

15676 "instructions": null,15986 "instructions": null,

15677 "max_output_tokens": null,15987 "max_output_tokens": null,

15678 "model": "gpt-5.6-sol",15988 "model": "gpt-6-astra",

15679 "output": [15989 "output": [

15680 {15990 {

15681 "type": "message",15991 "type": "message",


15732 -H "Content-Type: application/json" \16042 -H "Content-Type: application/json" \

15733 -H "Authorization: Bearer $OPENAI_API_KEY" \16043 -H "Authorization: Bearer $OPENAI_API_KEY" \

15734 -d '{16044 -d '{

15735 "model": "gpt-5.6-sol",16045 "model": "gpt-6-astra",

15736 "instructions": "You are a helpful assistant.",16046 "instructions": "You are a helpful assistant.",

15737 "input": "Hello!",16047 "input": "Hello!",

15738 "stream": true16048 "stream": true


15743 16053 

15744```json16054```json

15745event: response.created16055event: response.created

15746data: {"type":"response.created","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-5.6-sol","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}16056data: {"type":"response.created","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}

15747 16057 

15748event: response.in_progress16058event: response.in_progress

15749data: {"type":"response.in_progress","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-5.6-sol","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}16059data: {"type":"response.in_progress","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}

15750 16060 

15751event: response.output_item.added16061event: response.output_item.added

15752data: {"type":"response.output_item.added","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"in_progress","role":"assistant","content":[]}}16062data: {"type":"response.output_item.added","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"in_progress","role":"assistant","content":[]}}


15769data: {"type":"response.output_item.done","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}]}}16079data: {"type":"response.output_item.done","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}]}}

15770 16080 

15771event: response.completed16081event: response.completed

15772data: {"type":"response.completed","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"completed","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-5.6-sol","output":[{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":37,"output_tokens":11,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":48},"user":null,"metadata":{}}}16082data: {"type":"response.completed","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","created_at":1741290958,"status":"completed","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":37,"output_tokens":11,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":48},"user":null,"metadata":{}}}

15773```16083```

15774 16084 

15775### Text input16085### Text input


15779 -H "Content-Type: application/json" \16089 -H "Content-Type: application/json" \

15780 -H "Authorization: Bearer $OPENAI_API_KEY" \16090 -H "Authorization: Bearer $OPENAI_API_KEY" \

15781 -d '{16091 -d '{

15782 "model": "gpt-5.6-sol",16092 "model": "gpt-6-astra",

15783 "input": "Tell me a three sentence bedtime story about a unicorn."16093 "input": "Tell me a three sentence bedtime story about a unicorn."

15784 }'16094 }'

15785```16095```


15797 "incomplete_details": null,16107 "incomplete_details": null,

15798 "instructions": null,16108 "instructions": null,

15799 "max_output_tokens": null,16109 "max_output_tokens": null,

15800 "model": "gpt-5.6-sol",16110 "model": "gpt-6-astra",

15801 "output": [16111 "output": [

15802 {16112 {

15803 "type": "message",16113 "type": "message",


15854 -H "Content-Type: application/json" \16164 -H "Content-Type: application/json" \

15855 -H "Authorization: Bearer $OPENAI_API_KEY" \16165 -H "Authorization: Bearer $OPENAI_API_KEY" \

15856 -d '{16166 -d '{

15857 "model": "gpt-5.6-sol",16167 "model": "gpt-6-astra",

15858 "tools": [{ "type": "web_search_preview" }],16168 "tools": [{ "type": "web_search_preview" }],

15859 "input": "What was a positive news story from today?"16169 "input": "What was a positive news story from today?"

15860 }'16170 }'


15873 "incomplete_details": null,16183 "incomplete_details": null,

15874 "instructions": null,16184 "instructions": null,

15875 "max_output_tokens": null,16185 "max_output_tokens": null,

15876 "model": "gpt-5.6-sol",16186 "model": "gpt-6-astra",

15877 "output": [16187 "output": [

15878 {16188 {

15879 "type": "web_search_call",16189 "type": "web_search_call",

Details

56 56 

57### Returns57### Returns

58 58 

59- `Response object { id, created_at, error, 32 more }`59- `Response object { id, created_at, error, 33 more }`

60 60 

61 - `id: string`61 - `id: string`

62 62 


70 70 

71 An error object returned when the model fails to generate a Response.71 An error object returned when the model fails to generate a Response.

72 72 

73 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 17 more`73 - `code: "server_error" or "rate_limit_exceeded" or "invalid_prompt" or 18 more`

74 74 

75 The error code for the response.75 The error code for the response.

76 76 


84 84 

85 - `"bio_policy"`85 - `"bio_policy"`

86 86 

87 - `"misalignment_policy_violation"`

88 

87 - `"vector_store_timeout"`89 - `"vector_store_timeout"`

88 90 

89 - `"invalid_image"`91 - `"invalid_image"`


118 120 

119 A human-readable description of the error.121 A human-readable description of the error.

120 122 

123 - `misalignment: optional object { detailed_explanation, error_type, steer }`

124 

125 - `detailed_explanation: optional string`

126 

127 The public explanation for this block.

128 

129 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

130 

131 An optional classification; clients must accept additional values.

132 

133 - `string`

134 

135 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

136 

137 An optional classification; clients must accept additional values.

138 

139 - `"potentially_unintended_data_transfer"`

140 

141 - `"potentially_unintended_data_access"`

142 

143 - `"potentially_unintended_destructive_activity"`

144 

145 - `"other"`

146 

147 - `steer: optional object { message }`

148 

149 An optional public continuation instruction.

150 

151 - `message: string`

152 

153 The public continuation instruction.

154 

121 - `incomplete_details: object { reason } or null`155 - `incomplete_details: object { reason } or null`

122 156 

123 Details about why the response is incomplete.157 Details about why the response is incomplete.

124 158 

125 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter"`159 - `reason: optional "max_output_tokens" or "max_messages" or "content_filter" or "steered"`

126 160 

127 The reason why the response is incomplete.161 The reason why the response is incomplete. `steered` means

162 the response stopped at a safe output boundary after a

163 WebSocket `response.steer` event. The server can then create

164 a successor response automatically with the queued input.

128 165 

129 - `"max_output_tokens"`166 - `"max_output_tokens"`

130 167 


132 169 

133 - `"content_filter"`170 - `"content_filter"`

134 171 

135 - `instructions: string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more or null`172 - `"steered"`

173 

174 - `instructions: string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more or null`

136 175 

137 A system (or developer) message inserted into the model's context.176 A system (or developer) message inserted into the model's context.

138 177 


145 A text input to the model, equivalent to a text input with the184 A text input to the model, equivalent to a text input with the

146 `developer` role.185 `developer` role.

147 186 

148 - `InputItemList = array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more`187 - `InputItemList = array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more`

149 188 

150 A list of one or many input items to the model, containing189 A list of one or many input items to the model, containing

151 different content types.190 different content types.


1047 1086 

1048 - `"web_search_call"`1087 - `"web_search_call"`

1049 1088 

1050 - `FunctionCall object { arguments, call_id, name, 5 more }`1089 - `FunctionCall object { arguments, call_id, name, 6 more }`

1051 1090 

1052 A tool call to run a function. See the1091 A tool call to run a function. See the

1053 [function calling guide](/docs/guides/function-calling) for more information.1092 [function calling guide](/docs/guides/function-calling) for more information.


1074 1113 

1075 The unique ID of the function tool call.1114 The unique ID of the function tool call.

1076 1115 

1116 - `async: optional boolean`

1117 

1118 Whether the function tool call runs asynchronously.

1119 

1077 - `caller: optional object { type } or object { caller_id, type } or null`1120 - `caller: optional object { type } or object { caller_id, type } or null`

1078 1121 

1079 The execution context that produced this tool call.1122 The execution context that produced this tool call.


1323 1366 

1324 - `ToolSearchOutput object { tools, type, id, 3 more }`1367 - `ToolSearchOutput object { tools, type, id, 3 more }`

1325 1368 

1326 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1369 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1327 1370 

1328 The loaded tool definitions returned by the tool search output.1371 The loaded tool definitions returned by the tool search output.

1329 1372 

1330 - `Function object { name, parameters, strict, 5 more }`1373 - `Function object { name, parameters, strict, 6 more }`

1331 1374 

1332 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1375 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1333 1376 


1357 1400 

1358 - `"programmatic"`1401 - `"programmatic"`

1359 1402 

1403 - `async: optional boolean`

1404 

1360 - `defer_loading: optional boolean`1405 - `defer_loading: optional boolean`

1361 1406 

1362 Whether this function is deferred and loaded via tool search.1407 Whether this function is deferred and loaded via tool search.


2150 2195 

2151 - `"container_reference"`2196 - `"container_reference"`

2152 2197 

2153 - `Custom object { name, type, allowed_callers, 3 more }`2198 - `Custom object { name, type, allowed_callers, 4 more }`

2154 2199 

2155 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2200 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2156 2201 


2172 2217 

2173 - `"programmatic"`2218 - `"programmatic"`

2174 2219 

2220 - `async: optional boolean`

2221 

2222 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2223 

2175 - `defer_loading: optional boolean`2224 - `defer_loading: optional boolean`

2176 2225 

2177 Whether this tool should be deferred and discovered via tool search.2226 Whether this tool should be deferred and discovered via tool search.


2228 2277 

2229 The namespace name used in tool calls (for example, `crm`).2278 The namespace name used in tool calls (for example, `crm`).

2230 2279 

2231 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2280 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2232 2281 

2233 The function/custom tools available inside this namespace.2282 The function/custom tools available inside this namespace.

2234 2283 

2235 - `Function object { name, type, allowed_callers, 5 more }`2284 - `Function object { name, type, allowed_callers, 6 more }`

2236 2285 

2237 - `name: string`2286 - `name: string`

2238 2287 


2248 2297 

2249 - `"programmatic"`2298 - `"programmatic"`

2250 2299 

2300 - `async: optional boolean`

2301 

2302 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2303 

2251 - `defer_loading: optional boolean`2304 - `defer_loading: optional boolean`

2252 2305 

2253 Whether this function should be deferred and discovered via tool search.2306 Whether this function should be deferred and discovered via tool search.


2264 2317 

2265 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2318 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2266 2319 

2267 - `Custom object { name, type, allowed_callers, 3 more }`2320 - `Custom object { name, type, allowed_callers, 4 more }`

2268 2321 

2269 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2322 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2270 2323 


2286 2339 

2287 - `"programmatic"`2340 - `"programmatic"`

2288 2341 

2342 - `async: optional boolean`

2343 

2344 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2345 

2289 - `defer_loading: optional boolean`2346 - `defer_loading: optional boolean`

2290 2347 

2291 Whether this tool should be deferred and discovered via tool search.2348 Whether this tool should be deferred and discovered via tool search.


2442 2499 

2443 - `"developer"`2500 - `"developer"`

2444 2501 

2445 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2502 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2446 2503 

2447 A list of additional tools made available at this item.2504 A list of additional tools made available at this item.

2448 2505 

2449 - `Function object { name, parameters, strict, 5 more }`2506 - `Function object { name, parameters, strict, 6 more }`

2450 2507 

2451 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2508 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2452 2509 


2476 2533 

2477 - `"programmatic"`2534 - `"programmatic"`

2478 2535 

2536 - `async: optional boolean`

2537 

2479 - `defer_loading: optional boolean`2538 - `defer_loading: optional boolean`

2480 2539 

2481 Whether this function is deferred and loaded via tool search.2540 Whether this function is deferred and loaded via tool search.


3052 3111 

3053 - `ContainerReference object { container_id, type }`3112 - `ContainerReference object { container_id, type }`

3054 3113 

3055 - `Custom object { name, type, allowed_callers, 3 more }`3114 - `Custom object { name, type, allowed_callers, 4 more }`

3056 3115 

3057 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3116 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3058 3117 


3074 3133 

3075 - `"programmatic"`3134 - `"programmatic"`

3076 3135 

3136 - `async: optional boolean`

3137 

3138 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3139 

3077 - `defer_loading: optional boolean`3140 - `defer_loading: optional boolean`

3078 3141 

3079 Whether this tool should be deferred and discovered via tool search.3142 Whether this tool should be deferred and discovered via tool search.


3098 3161 

3099 The namespace name used in tool calls (for example, `crm`).3162 The namespace name used in tool calls (for example, `crm`).

3100 3163 

3101 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3164 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

3102 3165 

3103 The function/custom tools available inside this namespace.3166 The function/custom tools available inside this namespace.

3104 3167 

3105 - `Function object { name, type, allowed_callers, 5 more }`3168 - `Function object { name, type, allowed_callers, 6 more }`

3106 3169 

3107 - `name: string`3170 - `name: string`

3108 3171 


3118 3181 

3119 - `"programmatic"`3182 - `"programmatic"`

3120 3183 

3184 - `async: optional boolean`

3185 

3186 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3187 

3121 - `defer_loading: optional boolean`3188 - `defer_loading: optional boolean`

3122 3189 

3123 Whether this function should be deferred and discovered via tool search.3190 Whether this function should be deferred and discovered via tool search.


3134 3201 

3135 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3202 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3136 3203 

3137 - `Custom object { name, type, allowed_callers, 3 more }`3204 - `Custom object { name, type, allowed_callers, 4 more }`

3138 3205 

3139 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3206 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3140 3207 


3156 3223 

3157 - `"programmatic"`3224 - `"programmatic"`

3158 3225 

3226 - `async: optional boolean`

3227 

3228 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3229 

3159 - `defer_loading: optional boolean`3230 - `defer_loading: optional boolean`

3160 3231 

3161 Whether this tool should be deferred and discovered via tool search.3232 Whether this tool should be deferred and discovered via tool search.


3282 3353 

3283 The unique ID of this additional tools item.3354 The unique ID of this additional tools item.

3284 3355 

3356 - `ConfigurationUpdate object { type, id, reasoning }`

3357 

3358 An update to the conversation's response configuration. The configuration

3359 remains in effect for subsequent responses until it is replaced by another

3360 configuration update.

3361 

3362 - `type: "configuration_update"`

3363 

3364 The item type. Always `configuration_update`.

3365 

3366 - `"configuration_update"`

3367 

3368 - `id: optional string or null`

3369 

3370 The unique ID of the configuration update item.

3371 

3372 - `reasoning: optional object { effort }`

3373 

3374 Updates to reasoning configuration. Only effort is supported.

3375 

3376 - `effort: optional ReasoningEffort or null`

3377 

3378 The reasoning effort to use for subsequent responses until another

3379 configuration update replaces it.

3380 

3381 - `"none"`

3382 

3383 - `"minimal"`

3384 

3385 - `"low"`

3386 

3387 - `"medium"`

3388 

3389 - `"high"`

3390 

3391 - `"xhigh"`

3392 

3393 - `"max"`

3394 

3285 - `Reasoning object { id, summary, type, 3 more }`3395 - `Reasoning object { id, summary, type, 3 more }`

3286 3396 

3287 A description of the chain of thought used by a reasoning model while generating3397 A description of the chain of thought used by a reasoning model while generating


4125 4235 

4126 - `"program"`4236 - `"program"`

4127 4237 

4128 - `CustomToolCall object { call_id, input, name, 4 more }`4238 - `CustomToolCall object { call_id, input, name, 5 more }`

4129 4239 

4130 A call to a custom tool created by the model.4240 A call to a custom tool created by the model.

4131 4241 


4151 4261 

4152 The unique ID of the custom tool call in the OpenAI platform.4262 The unique ID of the custom tool call in the OpenAI platform.

4153 4263 

4264 - `async: optional boolean`

4265 

4266 Whether the custom tool call runs asynchronously.

4267 

4154 - `caller: optional object { type } or object { caller_id, type } or null`4268 - `caller: optional object { type } or object { caller_id, type } or null`

4155 4269 

4156 The execution context that produced this tool call.4270 The execution context that produced this tool call.


4266 4380 

4267 - `model: ResponsesModel`4381 - `model: ResponsesModel`

4268 4382 

4269 Model ID used to generate the response, like `gpt-5.6-sol`. OpenAI4383 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

4270 offers a wide range of models with different capabilities, performance4384 offers a wide range of models with different capabilities, performance

4271 characteristics, and price points. Refer to the [model guide](/docs/models)4385 characteristics, and price points. Refer to the [model guide](/docs/models)

4272 to browse and compare available models.4386 to browse and compare available models.

4273 4387 

4274 - `string`4388 - `string`

4275 4389 

4276 - `"gpt-5.6-sol" or "gpt-5.6-terra" or "gpt-5.6-luna" or 80 more`4390 - `"gpt-6-astra" or "gpt-5.6-sol" or "gpt-5.6-terra" or 81 more`

4391 

4392 - `"gpt-6-astra"`

4277 4393 

4278 - `"gpt-5.6-sol"`4394 - `"gpt-5.6-sol"`

4279 4395 


4570 4686 

4571 The text that was retrieved from the file.4687 The text that was retrieved from the file.

4572 4688 

4573 - `FunctionCall object { arguments, call_id, name, 5 more }`4689 - `FunctionCall object { arguments, call_id, name, 6 more }`

4574 4690 

4575 A tool call to run a function. See the4691 A tool call to run a function. See the

4576 [function calling guide](/docs/guides/function-calling) for more information.4692 [function calling guide](/docs/guides/function-calling) for more information.


4597 4713 

4598 The unique ID of the function tool call.4714 The unique ID of the function tool call.

4599 4715 

4716 - `async: optional boolean`

4717 

4718 Whether the function tool call runs asynchronously.

4719 

4600 - `caller: optional object { type } or object { caller_id, type } or null`4720 - `caller: optional object { type } or object { caller_id, type } or null`

4601 4721 

4602 The execution context that produced this tool call.4722 The execution context that produced this tool call.


5113 5233 

5114 - `"incomplete"`5234 - `"incomplete"`

5115 5235 

5116 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`5236 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

5117 5237 

5118 The loaded tool definitions returned by tool search.5238 The loaded tool definitions returned by tool search.

5119 5239 

5120 - `Function object { name, parameters, strict, 5 more }`5240 - `Function object { name, parameters, strict, 6 more }`

5121 5241 

5122 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).5242 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

5123 5243 


5147 5267 

5148 - `"programmatic"`5268 - `"programmatic"`

5149 5269 

5270 - `async: optional boolean`

5271 

5150 - `defer_loading: optional boolean`5272 - `defer_loading: optional boolean`

5151 5273 

5152 Whether this function is deferred and loaded via tool search.5274 Whether this function is deferred and loaded via tool search.


5723 5845 

5724 - `ContainerReference object { container_id, type }`5846 - `ContainerReference object { container_id, type }`

5725 5847 

5726 - `Custom object { name, type, allowed_callers, 3 more }`5848 - `Custom object { name, type, allowed_callers, 4 more }`

5727 5849 

5728 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)5850 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

5729 5851 


5745 5867 

5746 - `"programmatic"`5868 - `"programmatic"`

5747 5869 

5870 - `async: optional boolean`

5871 

5872 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5873 

5748 - `defer_loading: optional boolean`5874 - `defer_loading: optional boolean`

5749 5875 

5750 Whether this tool should be deferred and discovered via tool search.5876 Whether this tool should be deferred and discovered via tool search.


5769 5895 

5770 The namespace name used in tool calls (for example, `crm`).5896 The namespace name used in tool calls (for example, `crm`).

5771 5897 

5772 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`5898 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

5773 5899 

5774 The function/custom tools available inside this namespace.5900 The function/custom tools available inside this namespace.

5775 5901 

5776 - `Function object { name, type, allowed_callers, 5 more }`5902 - `Function object { name, type, allowed_callers, 6 more }`

5777 5903 

5778 - `name: string`5904 - `name: string`

5779 5905 


5789 5915 

5790 - `"programmatic"`5916 - `"programmatic"`

5791 5917 

5918 - `async: optional boolean`

5919 

5920 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5921 

5792 - `defer_loading: optional boolean`5922 - `defer_loading: optional boolean`

5793 5923 

5794 Whether this function should be deferred and discovered via tool search.5924 Whether this function should be deferred and discovered via tool search.


5805 5935 

5806 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.5936 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

5807 5937 

5808 - `Custom object { name, type, allowed_callers, 3 more }`5938 - `Custom object { name, type, allowed_callers, 4 more }`

5809 5939 

5810 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)5940 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

5811 5941 


5827 5957 

5828 - `"programmatic"`5958 - `"programmatic"`

5829 5959 

5960 - `async: optional boolean`

5961 

5962 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5963 

5830 - `defer_loading: optional boolean`5964 - `defer_loading: optional boolean`

5831 5965 

5832 Whether this tool should be deferred and discovered via tool search.5966 Whether this tool should be deferred and discovered via tool search.


5979 6113 

5980 - `"tool"`6114 - `"tool"`

5981 6115 

5982 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`6116 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

5983 6117 

5984 The additional tool definitions made available at this item.6118 The additional tool definitions made available at this item.

5985 6119 

5986 - `Function object { name, parameters, strict, 5 more }`6120 - `Function object { name, parameters, strict, 6 more }`

5987 6121 

5988 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).6122 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

5989 6123 


6013 6147 

6014 - `"programmatic"`6148 - `"programmatic"`

6015 6149 

6150 - `async: optional boolean`

6151 

6016 - `defer_loading: optional boolean`6152 - `defer_loading: optional boolean`

6017 6153 

6018 Whether this function is deferred and loaded via tool search.6154 Whether this function is deferred and loaded via tool search.


6589 6725 

6590 - `ContainerReference object { container_id, type }`6726 - `ContainerReference object { container_id, type }`

6591 6727 

6592 - `Custom object { name, type, allowed_callers, 3 more }`6728 - `Custom object { name, type, allowed_callers, 4 more }`

6593 6729 

6594 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6730 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6595 6731 


6611 6747 

6612 - `"programmatic"`6748 - `"programmatic"`

6613 6749 

6750 - `async: optional boolean`

6751 

6752 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6753 

6614 - `defer_loading: optional boolean`6754 - `defer_loading: optional boolean`

6615 6755 

6616 Whether this tool should be deferred and discovered via tool search.6756 Whether this tool should be deferred and discovered via tool search.


6635 6775 

6636 The namespace name used in tool calls (for example, `crm`).6776 The namespace name used in tool calls (for example, `crm`).

6637 6777 

6638 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`6778 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

6639 6779 

6640 The function/custom tools available inside this namespace.6780 The function/custom tools available inside this namespace.

6641 6781 

6642 - `Function object { name, type, allowed_callers, 5 more }`6782 - `Function object { name, type, allowed_callers, 6 more }`

6643 6783 

6644 - `name: string`6784 - `name: string`

6645 6785 


6655 6795 

6656 - `"programmatic"`6796 - `"programmatic"`

6657 6797 

6798 - `async: optional boolean`

6799 

6800 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6801 

6658 - `defer_loading: optional boolean`6802 - `defer_loading: optional boolean`

6659 6803 

6660 Whether this function should be deferred and discovered via tool search.6804 Whether this function should be deferred and discovered via tool search.


6671 6815 

6672 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.6816 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

6673 6817 

6674 - `Custom object { name, type, allowed_callers, 3 more }`6818 - `Custom object { name, type, allowed_callers, 4 more }`

6675 6819 

6676 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)6820 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

6677 6821 


6693 6837 

6694 - `"programmatic"`6838 - `"programmatic"`

6695 6839 

6840 - `async: optional boolean`

6841 

6842 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

6843 

6696 - `defer_loading: optional boolean`6844 - `defer_loading: optional boolean`

6697 6845 

6698 Whether this tool should be deferred and discovered via tool search.6846 Whether this tool should be deferred and discovered via tool search.


7519 7667 

7520 Optional reason for the decision.7668 Optional reason for the decision.

7521 7669 

7522 - `CustomToolCall object { call_id, input, name, 4 more }`7670 - `CustomToolCall object { call_id, input, name, 5 more }`

7523 7671 

7524 A call to a custom tool created by the model.7672 A call to a custom tool created by the model.

7525 7673 


7545 7693 

7546 The unique ID of the custom tool call in the OpenAI platform.7694 The unique ID of the custom tool call in the OpenAI platform.

7547 7695 

7696 - `async: optional boolean`

7697 

7698 Whether the custom tool call runs asynchronously.

7699 

7548 - `caller: optional object { type } or object { caller_id, type } or null`7700 - `caller: optional object { type } or object { caller_id, type } or null`

7549 7701 

7550 The execution context that produced this tool call.7702 The execution context that produced this tool call.


7828 7980 

7829 - `"shell"`7981 - `"shell"`

7830 7982 

7831 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`7983 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

7832 7984 

7833 An array of tools the model may call while generating a response. You7985 An array of tools the model may call while generating a response. You

7834 can specify which tool to use by setting the `tool_choice` parameter.7986 can specify which tool to use by setting the `tool_choice` parameter.


7848 [function calling](/docs/guides/function-calling). You can also use8000 [function calling](/docs/guides/function-calling). You can also use

7849 custom tools to call your own code.8001 custom tools to call your own code.

7850 8002 

7851 - `Function object { name, parameters, strict, 5 more }`8003 - `Function object { name, parameters, strict, 6 more }`

7852 8004 

7853 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).8005 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

7854 8006 


7878 8030 

7879 - `"programmatic"`8031 - `"programmatic"`

7880 8032 

8033 - `async: optional boolean`

8034 

7881 - `defer_loading: optional boolean`8035 - `defer_loading: optional boolean`

7882 8036 

7883 Whether this function is deferred and loaded via tool search.8037 Whether this function is deferred and loaded via tool search.


8454 8608 

8455 - `ContainerReference object { container_id, type }`8609 - `ContainerReference object { container_id, type }`

8456 8610 

8457 - `Custom object { name, type, allowed_callers, 3 more }`8611 - `Custom object { name, type, allowed_callers, 4 more }`

8458 8612 

8459 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8613 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

8460 8614 


8476 8630 

8477 - `"programmatic"`8631 - `"programmatic"`

8478 8632 

8633 - `async: optional boolean`

8634 

8635 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8636 

8479 - `defer_loading: optional boolean`8637 - `defer_loading: optional boolean`

8480 8638 

8481 Whether this tool should be deferred and discovered via tool search.8639 Whether this tool should be deferred and discovered via tool search.


8500 8658 

8501 The namespace name used in tool calls (for example, `crm`).8659 The namespace name used in tool calls (for example, `crm`).

8502 8660 

8503 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`8661 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

8504 8662 

8505 The function/custom tools available inside this namespace.8663 The function/custom tools available inside this namespace.

8506 8664 

8507 - `Function object { name, type, allowed_callers, 5 more }`8665 - `Function object { name, type, allowed_callers, 6 more }`

8508 8666 

8509 - `name: string`8667 - `name: string`

8510 8668 


8520 8678 

8521 - `"programmatic"`8679 - `"programmatic"`

8522 8680 

8681 - `async: optional boolean`

8682 

8683 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8684 

8523 - `defer_loading: optional boolean`8685 - `defer_loading: optional boolean`

8524 8686 

8525 Whether this function should be deferred and discovered via tool search.8687 Whether this function should be deferred and discovered via tool search.


8536 8698 

8537 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.8699 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

8538 8700 

8539 - `Custom object { name, type, allowed_callers, 3 more }`8701 - `Custom object { name, type, allowed_callers, 4 more }`

8540 8702 

8541 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)8703 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

8542 8704 


8558 8720 

8559 - `"programmatic"`8721 - `"programmatic"`

8560 8722 

8723 - `async: optional boolean`

8724 

8725 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

8726 

8561 - `defer_loading: optional boolean`8727 - `defer_loading: optional boolean`

8562 8728 

8563 Whether this tool should be deferred and discovered via tool search.8729 Whether this tool should be deferred and discovered via tool search.


8870 9036 

8871 Optional version of the prompt template.9037 Optional version of the prompt template.

8872 9038 

9039 - `prompt_cache_diagnostics: optional object { cache_missed_tokens, reason, type, comparison_reusable_tokens } or object { type } or object { type } or object { type }`

9040 

9041 Prompt cache diagnostics requested for this response.

9042 

9043 - `CacheMiss object { cache_missed_tokens, reason, type, comparison_reusable_tokens }`

9044 

9045 - `cache_missed_tokens: number`

9046 

9047 The estimated number of input tokens affected after the first detected divergence.

9048 

9049 - `reason: "model_changed" or "prompt_cache_key_changed" or "tools_changed" or 6 more`

9050 

9051 The reason prompt cache reuse did not occur.

9052 

9053 - `"model_changed"`

9054 

9055 - `"prompt_cache_key_changed"`

9056 

9057 - `"tools_changed"`

9058 

9059 - `"text_format_changed"`

9060 

9061 - `"reasoning_effort_changed"`

9062 

9063 - `"verbosity_changed"`

9064 

9065 - `"context_compacted"`

9066 

9067 - `"input_changed"`

9068 

9069 - `"service_tier_changed"`

9070 

9071 - `type: "cache_miss"`

9072 

9073 - `"cache_miss"`

9074 

9075 - `comparison_reusable_tokens: optional number`

9076 

9077 The raw token count of the reusable prefix in the compared response.

9078 

9079 - `CacheHit object { type }`

9080 

9081 - `type: "cache_hit"`

9082 

9083 - `"cache_hit"`

9084 

9085 - `ComparisonResponseNotFound object { type }`

9086 

9087 - `type: "comparison_response_not_found"`

9088 

9089 - `"comparison_response_not_found"`

9090 

9091 - `Unavailable object { type }`

9092 

9093 - `type: "unavailable"`

9094 

9095 - `"unavailable"`

9096 

8873 - `prompt_cache_key: optional string or null`9097 - `prompt_cache_key: optional string or null`

8874 9098 

8875 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).9099 Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](/docs/guides/prompt-caching).

8876 9100 

8877 - `prompt_cache_options: optional object { mode, ttl }`9101 - `prompt_cache_options: optional object { mode, ttl, comparison_response_id }`

8878 9102 

8879 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.9103 The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.

8880 9104 


8892 9116 

8893 - `"30m"`9117 - `"30m"`

8894 9118 

9119 - `comparison_response_id: optional string or null`

9120 

9121 The response ID supplied as the prompt cache diagnostics comparison.

9122 

8895 - `prompt_cache_retention: optional "in_memory" or "24h" or null`9123 - `prompt_cache_retention: optional "in_memory" or "24h" or null`

8896 9124 

8897 Deprecated. Use `prompt_cache_options.ttl` instead.9125 Deprecated. Use `prompt_cache_options.ttl` instead.


8942 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)9170 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)

8943 for model-specific support.9171 for model-specific support.

8944 9172 

8945 - `"none"`

8946 

8947 - `"minimal"`

8948 

8949 - `"low"`

8950 

8951 - `"medium"`

8952 

8953 - `"high"`

8954 

8955 - `"xhigh"`

8956 

8957 - `"max"`

8958 

8959 - `generate_summary: optional "auto" or "concise" or "detailed" or null`9173 - `generate_summary: optional "auto" or "concise" or "detailed" or null`

8960 9174 

8961 **Deprecated:** use `summary` instead.9175 **Deprecated:** use `summary` instead.


9225 "created_at": 0,9439 "created_at": 0,

9226 "error": {9440 "error": {

9227 "code": "server_error",9441 "code": "server_error",

9442 "message": "message",

9443 "misalignment": {

9444 "detailed_explanation": "detailed_explanation",

9445 "error_type": "potentially_unintended_data_transfer",

9446 "steer": {

9228 "message": "message"9447 "message": "message"

9448 }

9449 }

9229 },9450 },

9230 "incomplete_details": {9451 "incomplete_details": {

9231 "reason": "max_output_tokens"9452 "reason": "max_output_tokens"


9234 "metadata": {9455 "metadata": {

9235 "foo": "string"9456 "foo": "string"

9236 },9457 },

9237 "model": "gpt-5.6-sol",9458 "model": "gpt-6-astra",

9238 "object": "response",9459 "object": "response",

9239 "output": [9460 "output": [

9240 {9461 {


9291 "allowed_callers": [9512 "allowed_callers": [

9292 "direct"9513 "direct"

9293 ],9514 ],

9515 "async": true,

9294 "defer_loading": true,9516 "defer_loading": true,

9295 "description": "description",9517 "description": "description",

9296 "output_schema": {9518 "output_schema": {


9349 },9571 },

9350 "version": "version"9572 "version": "version"

9351 },9573 },

9574 "prompt_cache_diagnostics": {

9575 "cache_missed_tokens": 0,

9576 "reason": "model_changed",

9577 "type": "cache_miss",

9578 "comparison_reusable_tokens": 0

9579 },

9352 "prompt_cache_key": "prompt-cache-key-1234",9580 "prompt_cache_key": "prompt-cache-key-1234",

9353 "prompt_cache_options": {9581 "prompt_cache_options": {

9354 "mode": "implicit",9582 "mode": "implicit",

9355 "ttl": "30m"9583 "ttl": "30m",

9584 "comparison_response_id": "comparison_response_id"

9356 },9585 },

9357 "prompt_cache_retention": "in_memory",9586 "prompt_cache_retention": "in_memory",

9358 "reasoning": {9587 "reasoning": {


9410 "incomplete_details": null,9639 "incomplete_details": null,

9411 "instructions": null,9640 "instructions": null,

9412 "max_output_tokens": null,9641 "max_output_tokens": null,

9413 "model": "gpt-5.6-sol",9642 "model": "gpt-6-astra",

9414 "output": [9643 "output": [

9415 {9644 {

9416 "type": "message",9645 "type": "message",

Details

57 57 

58 A list of Response items.58 A list of Response items.

59 59 

60 - `data: array of ResponseInputMessageItem or ResponseOutputMessage or object { id, queries, status, 2 more } or 26 more`60 - `data: array of ResponseInputMessageItem or ResponseOutputMessage or object { id, queries, status, 2 more } or 27 more`

61 61 

62 A list of items used to generate this response.62 A list of items used to generate this response.

63 63 


913 913 

914 - `"web_search_call"`914 - `"web_search_call"`

915 915 

916 - `FunctionCall object { id, arguments, call_id, 6 more }`916 - `FunctionCall object { id, arguments, call_id, 7 more }`

917 917 

918 - `id: string`918 - `id: string`

919 919 


948 948 

949 - `"function_call"`949 - `"function_call"`

950 950 

951 - `async: optional boolean`

952 

953 Whether the function tool call runs asynchronously.

954 

951 - `caller: optional object { type } or object { caller_id, type } or null`955 - `caller: optional object { type } or object { caller_id, type } or null`

952 956 

953 The execution context that produced this tool call.957 The execution context that produced this tool call.


1134 1138 

1135 - `"incomplete"`1139 - `"incomplete"`

1136 1140 

1137 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1141 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1138 1142 

1139 The loaded tool definitions returned by tool search.1143 The loaded tool definitions returned by tool search.

1140 1144 

1141 - `Function object { name, parameters, strict, 5 more }`1145 - `Function object { name, parameters, strict, 6 more }`

1142 1146 

1143 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1147 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1144 1148 


1168 1172 

1169 - `"programmatic"`1173 - `"programmatic"`

1170 1174 

1175 - `async: optional boolean`

1176 

1171 - `defer_loading: optional boolean`1177 - `defer_loading: optional boolean`

1172 1178 

1173 Whether this function is deferred and loaded via tool search.1179 Whether this function is deferred and loaded via tool search.


1961 1967 

1962 - `"container_reference"`1968 - `"container_reference"`

1963 1969 

1964 - `Custom object { name, type, allowed_callers, 3 more }`1970 - `Custom object { name, type, allowed_callers, 4 more }`

1965 1971 

1966 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)1972 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

1967 1973 


1983 1989 

1984 - `"programmatic"`1990 - `"programmatic"`

1985 1991 

1992 - `async: optional boolean`

1993 

1994 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

1995 

1986 - `defer_loading: optional boolean`1996 - `defer_loading: optional boolean`

1987 1997 

1988 Whether this tool should be deferred and discovered via tool search.1998 Whether this tool should be deferred and discovered via tool search.


2039 2049 

2040 The namespace name used in tool calls (for example, `crm`).2050 The namespace name used in tool calls (for example, `crm`).

2041 2051 

2042 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2052 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2043 2053 

2044 The function/custom tools available inside this namespace.2054 The function/custom tools available inside this namespace.

2045 2055 

2046 - `Function object { name, type, allowed_callers, 5 more }`2056 - `Function object { name, type, allowed_callers, 6 more }`

2047 2057 

2048 - `name: string`2058 - `name: string`

2049 2059 


2059 2069 

2060 - `"programmatic"`2070 - `"programmatic"`

2061 2071 

2072 - `async: optional boolean`

2073 

2074 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2075 

2062 - `defer_loading: optional boolean`2076 - `defer_loading: optional boolean`

2063 2077 

2064 Whether this function should be deferred and discovered via tool search.2078 Whether this function should be deferred and discovered via tool search.


2075 2089 

2076 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2090 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2077 2091 

2078 - `Custom object { name, type, allowed_callers, 3 more }`2092 - `Custom object { name, type, allowed_callers, 4 more }`

2079 2093 

2080 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2094 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2081 2095 


2097 2111 

2098 - `"programmatic"`2112 - `"programmatic"`

2099 2113 

2114 - `async: optional boolean`

2115 

2116 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2117 

2100 - `defer_loading: optional boolean`2118 - `defer_loading: optional boolean`

2101 2119 

2102 Whether this tool should be deferred and discovered via tool search.2120 Whether this tool should be deferred and discovered via tool search.


2249 2267 

2250 - `"tool"`2268 - `"tool"`

2251 2269 

2252 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2270 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2253 2271 

2254 The additional tool definitions made available at this item.2272 The additional tool definitions made available at this item.

2255 2273 

2256 - `Function object { name, parameters, strict, 5 more }`2274 - `Function object { name, parameters, strict, 6 more }`

2257 2275 

2258 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2276 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2259 2277 


2283 2301 

2284 - `"programmatic"`2302 - `"programmatic"`

2285 2303 

2304 - `async: optional boolean`

2305 

2286 - `defer_loading: optional boolean`2306 - `defer_loading: optional boolean`

2287 2307 

2288 Whether this function is deferred and loaded via tool search.2308 Whether this function is deferred and loaded via tool search.


2859 2879 

2860 - `ContainerReference object { container_id, type }`2880 - `ContainerReference object { container_id, type }`

2861 2881 

2862 - `Custom object { name, type, allowed_callers, 3 more }`2882 - `Custom object { name, type, allowed_callers, 4 more }`

2863 2883 

2864 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2884 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2865 2885 


2881 2901 

2882 - `"programmatic"`2902 - `"programmatic"`

2883 2903 

2904 - `async: optional boolean`

2905 

2906 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2907 

2884 - `defer_loading: optional boolean`2908 - `defer_loading: optional boolean`

2885 2909 

2886 Whether this tool should be deferred and discovered via tool search.2910 Whether this tool should be deferred and discovered via tool search.


2905 2929 

2906 The namespace name used in tool calls (for example, `crm`).2930 The namespace name used in tool calls (for example, `crm`).

2907 2931 

2908 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2932 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2909 2933 

2910 The function/custom tools available inside this namespace.2934 The function/custom tools available inside this namespace.

2911 2935 

2912 - `Function object { name, type, allowed_callers, 5 more }`2936 - `Function object { name, type, allowed_callers, 6 more }`

2913 2937 

2914 - `name: string`2938 - `name: string`

2915 2939 


2925 2949 

2926 - `"programmatic"`2950 - `"programmatic"`

2927 2951 

2952 - `async: optional boolean`

2953 

2954 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2955 

2928 - `defer_loading: optional boolean`2956 - `defer_loading: optional boolean`

2929 2957 

2930 Whether this function should be deferred and discovered via tool search.2958 Whether this function should be deferred and discovered via tool search.


2941 2969 

2942 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2970 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2943 2971 

2944 - `Custom object { name, type, allowed_callers, 3 more }`2972 - `Custom object { name, type, allowed_callers, 4 more }`

2945 2973 

2946 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2974 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2947 2975 


2963 2991 

2964 - `"programmatic"`2992 - `"programmatic"`

2965 2993 

2994 - `async: optional boolean`

2995 

2996 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2997 

2966 - `defer_loading: optional boolean`2998 - `defer_loading: optional boolean`

2967 2999 

2968 Whether this tool should be deferred and discovered via tool search.3000 Whether this tool should be deferred and discovered via tool search.


3085 3117 

3086 - `"additional_tools"`3118 - `"additional_tools"`

3087 3119 

3120 - `ConfigurationUpdate object { id, type, reasoning }`

3121 

3122 A configuration update that applies to subsequent responses until it is

3123 replaced by another configuration update.

3124 

3125 - `id: string`

3126 

3127 The unique ID of the configuration update item.

3128 

3129 - `type: "configuration_update"`

3130 

3131 The item type. Always `configuration_update`.

3132 

3133 - `"configuration_update"`

3134 

3135 - `reasoning: optional object { effort }`

3136 

3137 The reasoning configuration applied by this update.

3138 

3139 - `effort: optional ReasoningEffort or null`

3140 

3141 The reasoning effort used for subsequent responses until another

3142 configuration update replaces it.

3143 

3144 - `"none"`

3145 

3146 - `"minimal"`

3147 

3148 - `"low"`

3149 

3150 - `"medium"`

3151 

3152 - `"high"`

3153 

3154 - `"xhigh"`

3155 

3156 - `"max"`

3157 

3088 - `Reasoning object { id, summary, type, 3 more }`3158 - `Reasoning object { id, summary, type, 3 more }`

3089 3159 

3090 A description of the chain of thought used by a reasoning model while generating3160 A description of the chain of thought used by a reasoning model while generating


3937 4007 

3938 - `"failed"`4008 - `"failed"`

3939 4009 

3940 - `CustomToolCall object { id, call_id, input, 6 more }`4010 - `CustomToolCall object { id, call_id, input, 7 more }`

3941 4011 

3942 - `id: string`4012 - `id: string`

3943 4013 


3972 4042 

3973 - `"custom_tool_call"`4043 - `"custom_tool_call"`

3974 4044 

4045 - `async: optional boolean`

4046 

4047 Whether the custom tool call runs asynchronously.

4048 

3975 - `caller: optional object { type } or object { caller_id, type } or null`4049 - `caller: optional object { type } or object { caller_id, type } or null`

3976 4050 

3977 The execution context that produced this tool call.4051 The execution context that produced this tool call.

Details

25 25 

26 The unique ID of the conversation.26 The unique ID of the conversation.

27 27 

28- `input: optional string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more or null`28- `input: optional string or array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more or null`

29 29 

30 Text, image, or file inputs to the model, used to generate a response30 Text, image, or file inputs to the model, used to generate a response

31 31 


33 33 

34 A text input to the model, equivalent to a text input with the `user` role.34 A text input to the model, equivalent to a text input with the `user` role.

35 35 

36 - `array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 29 more`36 - `array of EasyInputMessage or object { content, role, status, type } or ResponseOutputMessage or 30 more`

37 37 

38 A list of one or many input items to the model, containing different content types.38 A list of one or many input items to the model, containing different content types.

39 39 


934 934 

935 - `"web_search_call"`935 - `"web_search_call"`

936 936 

937 - `FunctionCall object { arguments, call_id, name, 5 more }`937 - `FunctionCall object { arguments, call_id, name, 6 more }`

938 938 

939 A tool call to run a function. See the939 A tool call to run a function. See the

940 [function calling guide](/docs/guides/function-calling) for more information.940 [function calling guide](/docs/guides/function-calling) for more information.


961 961 

962 The unique ID of the function tool call.962 The unique ID of the function tool call.

963 963 

964 - `async: optional boolean`

965 

966 Whether the function tool call runs asynchronously.

967 

964 - `caller: optional object { type } or object { caller_id, type } or null`968 - `caller: optional object { type } or object { caller_id, type } or null`

965 969 

966 The execution context that produced this tool call.970 The execution context that produced this tool call.


1210 1214 

1211 - `ToolSearchOutput object { tools, type, id, 3 more }`1215 - `ToolSearchOutput object { tools, type, id, 3 more }`

1212 1216 

1213 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`1217 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

1214 1218 

1215 The loaded tool definitions returned by the tool search output.1219 The loaded tool definitions returned by the tool search output.

1216 1220 

1217 - `Function object { name, parameters, strict, 5 more }`1221 - `Function object { name, parameters, strict, 6 more }`

1218 1222 

1219 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).1223 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

1220 1224 


1244 1248 

1245 - `"programmatic"`1249 - `"programmatic"`

1246 1250 

1251 - `async: optional boolean`

1252 

1247 - `defer_loading: optional boolean`1253 - `defer_loading: optional boolean`

1248 1254 

1249 Whether this function is deferred and loaded via tool search.1255 Whether this function is deferred and loaded via tool search.


2037 2043 

2038 - `"container_reference"`2044 - `"container_reference"`

2039 2045 

2040 - `Custom object { name, type, allowed_callers, 3 more }`2046 - `Custom object { name, type, allowed_callers, 4 more }`

2041 2047 

2042 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2048 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2043 2049 


2059 2065 

2060 - `"programmatic"`2066 - `"programmatic"`

2061 2067 

2068 - `async: optional boolean`

2069 

2070 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2071 

2062 - `defer_loading: optional boolean`2072 - `defer_loading: optional boolean`

2063 2073 

2064 Whether this tool should be deferred and discovered via tool search.2074 Whether this tool should be deferred and discovered via tool search.


2115 2125 

2116 The namespace name used in tool calls (for example, `crm`).2126 The namespace name used in tool calls (for example, `crm`).

2117 2127 

2118 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`2128 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2119 2129 

2120 The function/custom tools available inside this namespace.2130 The function/custom tools available inside this namespace.

2121 2131 

2122 - `Function object { name, type, allowed_callers, 5 more }`2132 - `Function object { name, type, allowed_callers, 6 more }`

2123 2133 

2124 - `name: string`2134 - `name: string`

2125 2135 


2135 2145 

2136 - `"programmatic"`2146 - `"programmatic"`

2137 2147 

2148 - `async: optional boolean`

2149 

2150 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2151 

2138 - `defer_loading: optional boolean`2152 - `defer_loading: optional boolean`

2139 2153 

2140 Whether this function should be deferred and discovered via tool search.2154 Whether this function should be deferred and discovered via tool search.


2151 2165 

2152 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.2166 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

2153 2167 

2154 - `Custom object { name, type, allowed_callers, 3 more }`2168 - `Custom object { name, type, allowed_callers, 4 more }`

2155 2169 

2156 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2170 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2157 2171 


2173 2187 

2174 - `"programmatic"`2188 - `"programmatic"`

2175 2189 

2190 - `async: optional boolean`

2191 

2192 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2193 

2176 - `defer_loading: optional boolean`2194 - `defer_loading: optional boolean`

2177 2195 

2178 Whether this tool should be deferred and discovered via tool search.2196 Whether this tool should be deferred and discovered via tool search.


2329 2347 

2330 - `"developer"`2348 - `"developer"`

2331 2349 

2332 - `tools: array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`2350 - `tools: array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more`

2333 2351 

2334 A list of additional tools made available at this item.2352 A list of additional tools made available at this item.

2335 2353 

2336 - `Function object { name, parameters, strict, 5 more }`2354 - `Function object { name, parameters, strict, 6 more }`

2337 2355 

2338 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).2356 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

2339 2357 


2363 2381 

2364 - `"programmatic"`2382 - `"programmatic"`

2365 2383 

2384 - `async: optional boolean`

2385 

2366 - `defer_loading: optional boolean`2386 - `defer_loading: optional boolean`

2367 2387 

2368 Whether this function is deferred and loaded via tool search.2388 Whether this function is deferred and loaded via tool search.


2939 2959 

2940 - `ContainerReference object { container_id, type }`2960 - `ContainerReference object { container_id, type }`

2941 2961 

2942 - `Custom object { name, type, allowed_callers, 3 more }`2962 - `Custom object { name, type, allowed_callers, 4 more }`

2943 2963 

2944 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)2964 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

2945 2965 


2961 2981 

2962 - `"programmatic"`2982 - `"programmatic"`

2963 2983 

2984 - `async: optional boolean`

2985 

2986 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

2987 

2964 - `defer_loading: optional boolean`2988 - `defer_loading: optional boolean`

2965 2989 

2966 Whether this tool should be deferred and discovered via tool search.2990 Whether this tool should be deferred and discovered via tool search.


2985 3009 

2986 The namespace name used in tool calls (for example, `crm`).3010 The namespace name used in tool calls (for example, `crm`).

2987 3011 

2988 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`3012 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

2989 3013 

2990 The function/custom tools available inside this namespace.3014 The function/custom tools available inside this namespace.

2991 3015 

2992 - `Function object { name, type, allowed_callers, 5 more }`3016 - `Function object { name, type, allowed_callers, 6 more }`

2993 3017 

2994 - `name: string`3018 - `name: string`

2995 3019 


3005 3029 

3006 - `"programmatic"`3030 - `"programmatic"`

3007 3031 

3032 - `async: optional boolean`

3033 

3034 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3035 

3008 - `defer_loading: optional boolean`3036 - `defer_loading: optional boolean`

3009 3037 

3010 Whether this function should be deferred and discovered via tool search.3038 Whether this function should be deferred and discovered via tool search.


3021 3049 

3022 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.3050 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

3023 3051 

3024 - `Custom object { name, type, allowed_callers, 3 more }`3052 - `Custom object { name, type, allowed_callers, 4 more }`

3025 3053 

3026 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)3054 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

3027 3055 


3043 3071 

3044 - `"programmatic"`3072 - `"programmatic"`

3045 3073 

3074 - `async: optional boolean`

3075 

3076 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

3077 

3046 - `defer_loading: optional boolean`3078 - `defer_loading: optional boolean`

3047 3079 

3048 Whether this tool should be deferred and discovered via tool search.3080 Whether this tool should be deferred and discovered via tool search.


3169 3201 

3170 The unique ID of this additional tools item.3202 The unique ID of this additional tools item.

3171 3203 

3204 - `ConfigurationUpdate object { type, id, reasoning }`

3205 

3206 An update to the conversation's response configuration. The configuration

3207 remains in effect for subsequent responses until it is replaced by another

3208 configuration update.

3209 

3210 - `type: "configuration_update"`

3211 

3212 The item type. Always `configuration_update`.

3213 

3214 - `"configuration_update"`

3215 

3216 - `id: optional string or null`

3217 

3218 The unique ID of the configuration update item.

3219 

3220 - `reasoning: optional object { effort }`

3221 

3222 Updates to reasoning configuration. Only effort is supported.

3223 

3224 - `effort: optional ReasoningEffort or null`

3225 

3226 The reasoning effort to use for subsequent responses until another

3227 configuration update replaces it.

3228 

3229 - `"none"`

3230 

3231 - `"minimal"`

3232 

3233 - `"low"`

3234 

3235 - `"medium"`

3236 

3237 - `"high"`

3238 

3239 - `"xhigh"`

3240 

3241 - `"max"`

3242 

3172 - `Reasoning object { id, summary, type, 3 more }`3243 - `Reasoning object { id, summary, type, 3 more }`

3173 3244 

3174 A description of the chain of thought used by a reasoning model while generating3245 A description of the chain of thought used by a reasoning model while generating


4012 4083 

4013 - `"program"`4084 - `"program"`

4014 4085 

4015 - `CustomToolCall object { call_id, input, name, 4 more }`4086 - `CustomToolCall object { call_id, input, name, 5 more }`

4016 4087 

4017 A call to a custom tool created by the model.4088 A call to a custom tool created by the model.

4018 4089 


4038 4109 

4039 The unique ID of the custom tool call in the OpenAI platform.4110 The unique ID of the custom tool call in the OpenAI platform.

4040 4111 

4112 - `async: optional boolean`

4113 

4114 Whether the custom tool call runs asynchronously.

4115 

4041 - `caller: optional object { type } or object { caller_id, type } or null`4116 - `caller: optional object { type } or object { caller_id, type } or null`

4042 4117 

4043 The execution context that produced this tool call.4118 The execution context that produced this tool call.


4203 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)4278 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)

4204 for model-specific support.4279 for model-specific support.

4205 4280 

4206 - `"none"`

4207 

4208 - `"minimal"`

4209 

4210 - `"low"`

4211 

4212 - `"medium"`

4213 

4214 - `"high"`

4215 

4216 - `"xhigh"`

4217 

4218 - `"max"`

4219 

4220 - `generate_summary: optional "auto" or "concise" or "detailed" or null`4281 - `generate_summary: optional "auto" or "concise" or "detailed" or null`

4221 4282 

4222 **Deprecated:** use `summary` instead.4283 **Deprecated:** use `summary` instead.


4525 4586 

4526 - `"shell"`4587 - `"shell"`

4527 4588 

4528- `tools: optional array of object { name, parameters, strict, 5 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more or null`4589- `tools: optional array of object { name, parameters, strict, 6 more } or object { type, vector_store_ids, filters, 2 more } or object { type } or 13 more or null`

4529 4590 

4530 An array of tools the model may call while generating a response. You can specify which tool to use by setting the `tool_choice` parameter.4591 An array of tools the model may call while generating a response. You can specify which tool to use by setting the `tool_choice` parameter.

4531 4592 

4532 - `Function object { name, parameters, strict, 5 more }`4593 - `Function object { name, parameters, strict, 6 more }`

4533 4594 

4534 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).4595 Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).

4535 4596 


4559 4620 

4560 - `"programmatic"`4621 - `"programmatic"`

4561 4622 

4623 - `async: optional boolean`

4624 

4562 - `defer_loading: optional boolean`4625 - `defer_loading: optional boolean`

4563 4626 

4564 Whether this function is deferred and loaded via tool search.4627 Whether this function is deferred and loaded via tool search.


5135 5198 

5136 - `ContainerReference object { container_id, type }`5199 - `ContainerReference object { container_id, type }`

5137 5200 

5138 - `Custom object { name, type, allowed_callers, 3 more }`5201 - `Custom object { name, type, allowed_callers, 4 more }`

5139 5202 

5140 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)5203 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

5141 5204 


5157 5220 

5158 - `"programmatic"`5221 - `"programmatic"`

5159 5222 

5223 - `async: optional boolean`

5224 

5225 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5226 

5160 - `defer_loading: optional boolean`5227 - `defer_loading: optional boolean`

5161 5228 

5162 Whether this tool should be deferred and discovered via tool search.5229 Whether this tool should be deferred and discovered via tool search.


5181 5248 

5182 The namespace name used in tool calls (for example, `crm`).5249 The namespace name used in tool calls (for example, `crm`).

5183 5250 

5184 - `tools: array of object { name, type, allowed_callers, 5 more } or object { name, type, allowed_callers, 3 more }`5251 - `tools: array of object { name, type, allowed_callers, 6 more } or object { name, type, allowed_callers, 4 more }`

5185 5252 

5186 The function/custom tools available inside this namespace.5253 The function/custom tools available inside this namespace.

5187 5254 

5188 - `Function object { name, type, allowed_callers, 5 more }`5255 - `Function object { name, type, allowed_callers, 6 more }`

5189 5256 

5190 - `name: string`5257 - `name: string`

5191 5258 


5201 5268 

5202 - `"programmatic"`5269 - `"programmatic"`

5203 5270 

5271 - `async: optional boolean`

5272 

5273 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5274 

5204 - `defer_loading: optional boolean`5275 - `defer_loading: optional boolean`

5205 5276 

5206 Whether this function should be deferred and discovered via tool search.5277 Whether this function should be deferred and discovered via tool search.


5217 5288 

5218 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.5289 Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.

5219 5290 

5220 - `Custom object { name, type, allowed_callers, 3 more }`5291 - `Custom object { name, type, allowed_callers, 4 more }`

5221 5292 

5222 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)5293 A custom tool that processes input using a specified format. Learn more about [custom tools](/docs/guides/function-calling#custom-tools)

5223 5294 


5239 5310 

5240 - `"programmatic"`5311 - `"programmatic"`

5241 5312 

5313 - `async: optional boolean`

5314 

5315 Whether the tool response can be returned asynchronously versus immediately returned on next response creation.

5316 

5242 - `defer_loading: optional boolean`5317 - `defer_loading: optional boolean`

5243 5318 

5244 Whether this tool should be deferred and discovered via tool search.5319 Whether this tool should be deferred and discovered via tool search.


5395 -H "Content-Type: application/json" \5470 -H "Content-Type: application/json" \

5396 -H "Authorization: Bearer $OPENAI_API_KEY" \5471 -H "Authorization: Bearer $OPENAI_API_KEY" \

5397 -d '{5472 -d '{

5398 "model": "gpt-5.6-sol",5473 "model": "gpt-6-astra",

5399 "input": "Tell me a joke."5474 "input": "Tell me a joke."

5400 }'5475 }'

5401```5476```

Details

1## Retrieve a safety alert

2 

3**get** `/safety/alerts/{id}`

4 

5Get a safety alert belonging to the authenticated API project.

6 

7### Path Parameters

8 

9- `id: string`

10 

11 Project safety alert ID

12 

13### Returns

14 

15- `SafetyAlert object { id, created_at, error_type, 6 more }`

16 

17 - `id: string`

18 

19 - `created_at: number`

20 

21 - `error_type: "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

22 

23 - `"potentially_unintended_data_transfer"`

24 

25 - `"potentially_unintended_data_access"`

26 

27 - `"potentially_unintended_destructive_activity"`

28 

29 - `"other"`

30 

31 - `model: string`

32 

33 - `object: "safety.alert"`

34 

35 - `"safety.alert"`

36 

37 - `reason: string or null`

38 

39 A customer-safe description derived from error_type, or null for zero data retention requests.

40 

41 - `request_id: string`

42 

43 - `request_paused: boolean`

44 

45 Whether block registration succeeded for this request. This does not confirm that response execution stopped.

46 

47 - `response_id: string`

48 

49### Example

50 

51```http

52curl https://api.openai.com/v1/safety/alerts/$ID \

53 -H "Authorization: Bearer $OPENAI_API_KEY"

54```

55 

56#### Response

57 

58```json

59{

60 "id": "id",

61 "created_at": 0,

62 "error_type": "potentially_unintended_data_transfer",

63 "model": "model",

64 "object": "safety.alert",

65 "reason": "reason",

66 "request_id": "request_id",

67 "request_paused": true,

68 "response_id": "response_id"

69}

70```

71 

72### Example

73 

74```http

75curl https://api.openai.com/v1/safety/alerts/alert_0123456789abcdef0123456789abcdef \

76 -H "Authorization: Bearer $OPENAI_API_KEY"

77```

78 

79#### Response

80 

81```json

82{

83 "id": "alert_0123456789abcdef0123456789abcdef",

84 "object": "safety.alert",

85 "created_at": 1787659200,

86 "request_id": "req_123",

87 "response_id": "resp_123",

88 "model": "gpt-6-astra",

89 "request_paused": true,

90 "error_type": "potentially_unintended_data_access",

91 "reason": "Potentially unintended data access."

92}

93```

Details

90 90 

91 A human-readable description of the error that was returned.91 A human-readable description of the error that was returned.

92 92 

93 - `misalignment: optional object { detailed_explanation, error_type, steer }`

94 

95 - `detailed_explanation: optional string`

96 

97 The public explanation for this block.

98 

99 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

100 

101 An optional classification; clients must accept additional values.

102 

103 - `string`

104 

105 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

106 

107 An optional classification; clients must accept additional values.

108 

109 - `"potentially_unintended_data_transfer"`

110 

111 - `"potentially_unintended_data_access"`

112 

113 - `"potentially_unintended_destructive_activity"`

114 

115 - `"other"`

116 

117 - `steer: optional object { message }`

118 

119 An optional public continuation instruction.

120 

121 - `message: string`

122 

123 The public continuation instruction.

124 

93 - `expires_at: number or null`125 - `expires_at: number or null`

94 126 

95 Unix timestamp (seconds) for when the downloadable assets expire, if set.127 Unix timestamp (seconds) for when the downloadable assets expire, if set.


178 "created_at": 0,210 "created_at": 0,

179 "error": {211 "error": {

180 "code": "code",212 "code": "code",

213 "message": "message",

214 "misalignment": {

215 "detailed_explanation": "detailed_explanation",

216 "error_type": "potentially_unintended_data_transfer",

217 "steer": {

181 "message": "message"218 "message": "message"

219 }

220 }

182 },221 },

183 "expires_at": 0,222 "expires_at": 0,

184 "model": "sora-2",223 "model": "sora-2",

Details

48 48 

49 A human-readable description of the error that was returned.49 A human-readable description of the error that was returned.

50 50 

51 - `misalignment: optional object { detailed_explanation, error_type, steer }`

52 

53 - `detailed_explanation: optional string`

54 

55 The public explanation for this block.

56 

57 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

58 

59 An optional classification; clients must accept additional values.

60 

61 - `string`

62 

63 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

64 

65 An optional classification; clients must accept additional values.

66 

67 - `"potentially_unintended_data_transfer"`

68 

69 - `"potentially_unintended_data_access"`

70 

71 - `"potentially_unintended_destructive_activity"`

72 

73 - `"other"`

74 

75 - `steer: optional object { message }`

76 

77 An optional public continuation instruction.

78 

79 - `message: string`

80 

81 The public continuation instruction.

82 

51 - `expires_at: number or null`83 - `expires_at: number or null`

52 84 

53 Unix timestamp (seconds) for when the downloadable assets expire, if set.85 Unix timestamp (seconds) for when the downloadable assets expire, if set.


139 "created_at": 0,171 "created_at": 0,

140 "error": {172 "error": {

141 "code": "code",173 "code": "code",

174 "message": "message",

175 "misalignment": {

176 "detailed_explanation": "detailed_explanation",

177 "error_type": "potentially_unintended_data_transfer",

178 "steer": {

142 "message": "message"179 "message": "message"

180 }

181 }

143 },182 },

144 "expires_at": 0,183 "expires_at": 0,

145 "model": "sora-2",184 "model": "sora-2",

Details

58 58 

59 A human-readable description of the error that was returned.59 A human-readable description of the error that was returned.

60 60 

61 - `misalignment: optional object { detailed_explanation, error_type, steer }`

62 

63 - `detailed_explanation: optional string`

64 

65 The public explanation for this block.

66 

67 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

68 

69 An optional classification; clients must accept additional values.

70 

71 - `string`

72 

73 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

74 

75 An optional classification; clients must accept additional values.

76 

77 - `"potentially_unintended_data_transfer"`

78 

79 - `"potentially_unintended_data_access"`

80 

81 - `"potentially_unintended_destructive_activity"`

82 

83 - `"other"`

84 

85 - `steer: optional object { message }`

86 

87 An optional public continuation instruction.

88 

89 - `message: string`

90 

91 The public continuation instruction.

92 

61 - `expires_at: number or null`93 - `expires_at: number or null`

62 94 

63 Unix timestamp (seconds) for when the downloadable assets expire, if set.95 Unix timestamp (seconds) for when the downloadable assets expire, if set.


150 "created_at": 0,182 "created_at": 0,

151 "error": {183 "error": {

152 "code": "code",184 "code": "code",

185 "message": "message",

186 "misalignment": {

187 "detailed_explanation": "detailed_explanation",

188 "error_type": "potentially_unintended_data_transfer",

189 "steer": {

153 "message": "message"190 "message": "message"

191 }

192 }

154 },193 },

155 "expires_at": 0,194 "expires_at": 0,

156 "model": "sora-2",195 "model": "sora-2",

Details

52 52 

53 A human-readable description of the error that was returned.53 A human-readable description of the error that was returned.

54 54 

55 - `misalignment: optional object { detailed_explanation, error_type, steer }`

56 

57 - `detailed_explanation: optional string`

58 

59 The public explanation for this block.

60 

61 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

62 

63 An optional classification; clients must accept additional values.

64 

65 - `string`

66 

67 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

68 

69 An optional classification; clients must accept additional values.

70 

71 - `"potentially_unintended_data_transfer"`

72 

73 - `"potentially_unintended_data_access"`

74 

75 - `"potentially_unintended_destructive_activity"`

76 

77 - `"other"`

78 

79 - `steer: optional object { message }`

80 

81 An optional public continuation instruction.

82 

83 - `message: string`

84 

85 The public continuation instruction.

86 

55 - `expires_at: number or null`87 - `expires_at: number or null`

56 88 

57 Unix timestamp (seconds) for when the downloadable assets expire, if set.89 Unix timestamp (seconds) for when the downloadable assets expire, if set.


156 "created_at": 0,188 "created_at": 0,

157 "error": {189 "error": {

158 "code": "code",190 "code": "code",

191 "message": "message",

192 "misalignment": {

193 "detailed_explanation": "detailed_explanation",

194 "error_type": "potentially_unintended_data_transfer",

195 "steer": {

159 "message": "message"196 "message": "message"

197 }

198 }

160 },199 },

161 "expires_at": 0,200 "expires_at": 0,

162 "model": "sora-2",201 "model": "sora-2",

Details

44 44 

45 A human-readable description of the error that was returned.45 A human-readable description of the error that was returned.

46 46 

47 - `misalignment: optional object { detailed_explanation, error_type, steer }`

48 

49 - `detailed_explanation: optional string`

50 

51 The public explanation for this block.

52 

53 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

54 

55 An optional classification; clients must accept additional values.

56 

57 - `string`

58 

59 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

60 

61 An optional classification; clients must accept additional values.

62 

63 - `"potentially_unintended_data_transfer"`

64 

65 - `"potentially_unintended_data_access"`

66 

67 - `"potentially_unintended_destructive_activity"`

68 

69 - `"other"`

70 

71 - `steer: optional object { message }`

72 

73 An optional public continuation instruction.

74 

75 - `message: string`

76 

77 The public continuation instruction.

78 

47 - `expires_at: number or null`79 - `expires_at: number or null`

48 80 

49 Unix timestamp (seconds) for when the downloadable assets expire, if set.81 Unix timestamp (seconds) for when the downloadable assets expire, if set.


132 "created_at": 0,164 "created_at": 0,

133 "error": {165 "error": {

134 "code": "code",166 "code": "code",

167 "message": "message",

168 "misalignment": {

169 "detailed_explanation": "detailed_explanation",

170 "error_type": "potentially_unintended_data_transfer",

171 "steer": {

135 "message": "message"172 "message": "message"

173 }

174 }

136 },175 },

137 "expires_at": 0,176 "expires_at": 0,

138 "model": "sora-2",177 "model": "sora-2",

Details

38 38 

39 A human-readable description of the error that was returned.39 A human-readable description of the error that was returned.

40 40 

41 - `misalignment: optional object { detailed_explanation, error_type, steer }`

42 

43 - `detailed_explanation: optional string`

44 

45 The public explanation for this block.

46 

47 - `error_type: optional string or "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

48 

49 An optional classification; clients must accept additional values.

50 

51 - `string`

52 

53 - `SafetyAlertErrorType = "potentially_unintended_data_transfer" or "potentially_unintended_data_access" or "potentially_unintended_destructive_activity" or "other"`

54 

55 An optional classification; clients must accept additional values.

56 

57 - `"potentially_unintended_data_transfer"`

58 

59 - `"potentially_unintended_data_access"`

60 

61 - `"potentially_unintended_destructive_activity"`

62 

63 - `"other"`

64 

65 - `steer: optional object { message }`

66 

67 An optional public continuation instruction.

68 

69 - `message: string`

70 

71 The public continuation instruction.

72 

41 - `expires_at: number or null`73 - `expires_at: number or null`

42 74 

43 Unix timestamp (seconds) for when the downloadable assets expire, if set.75 Unix timestamp (seconds) for when the downloadable assets expire, if set.


122 "created_at": 0,154 "created_at": 0,

123 "error": {155 "error": {

124 "code": "code",156 "code": "code",

157 "message": "message",

158 "misalignment": {

159 "detailed_explanation": "detailed_explanation",

160 "error_type": "potentially_unintended_data_transfer",

161 "steer": {

125 "message": "message"162 "message": "message"

163 }

164 }

126 },165 },

127 "expires_at": 0,166 "expires_at": 0,

128 "model": "sora-2",167 "model": "sora-2",