Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.

Supported Types

components.ReasoningItem

value: components.ReasoningItem = /* values here */

components.EasyInputMessage

value: components.EasyInputMessage = /* values here */

components.InputMessageItem

value: components.InputMessageItem = /* values here */

components.FunctionCallItem

value: components.FunctionCallItem = /* values here */

components.FunctionCallOutputItem

value: components.FunctionCallOutputItem = /* values here */

components.ApplyPatchCallItem

value: components.ApplyPatchCallItem = /* values here */

components.ApplyPatchCallOutputItem

value: components.ApplyPatchCallOutputItem = /* values here */

components.InputsMessage

value: components.InputsMessage = /* values here */

components.InputsReasoning

value: components.InputsReasoning = /* values here */

components.OutputFunctionCallItem

value: components.OutputFunctionCallItem = /* values here */

components.OutputCustomToolCallItem

value: components.OutputCustomToolCallItem = /* values here */

components.OutputWebSearchCallItem

value: components.OutputWebSearchCallItem = /* values here */

components.OutputFileSearchCallItem

value: components.OutputFileSearchCallItem = /* values here */

components.OutputImageGenerationCallItem

value: components.OutputImageGenerationCallItem = /* values here */

components.OutputCodeInterpreterCallItem

value: components.OutputCodeInterpreterCallItem = /* values here */

components.OutputComputerCallItem

value: components.OutputComputerCallItem = /* values here */

components.OutputDatetimeItem

value: components.OutputDatetimeItem = /* values here */

components.OutputWebSearchServerToolItem

value: components.OutputWebSearchServerToolItem = /* values here */

components.OutputCodeInterpreterServerToolItem

value: components.OutputCodeInterpreterServerToolItem = /* values here */

components.OutputFileSearchServerToolItem

value: components.OutputFileSearchServerToolItem = /* values here */

components.OutputImageGenerationServerToolItem

value: components.OutputImageGenerationServerToolItem = /* values here */

components.OutputBrowserUseServerToolItem

value: components.OutputBrowserUseServerToolItem = /* values here */

components.OutputBashServerToolItem

value: components.OutputBashServerToolItem = /* values here */

components.OutputTextEditorServerToolItem

value: components.OutputTextEditorServerToolItem = /* values here */

components.OutputApplyPatchServerToolItem

value: components.OutputApplyPatchServerToolItem = /* values here */

components.OutputWebFetchServerToolItem

value: components.OutputWebFetchServerToolItem = /* values here */

components.OutputToolSearchServerToolItem

value: components.OutputToolSearchServerToolItem = /* values here */

components.OutputMemoryServerToolItem

value: components.OutputMemoryServerToolItem = /* values here */

components.OutputMcpServerToolItem

value: components.OutputMcpServerToolItem = /* values here */

components.OutputSearchModelsServerToolItem

value: components.OutputSearchModelsServerToolItem = /* values here */

components.LocalShellCallItem

value: components.LocalShellCallItem = /* values here */

components.LocalShellCallOutputItem

value: components.LocalShellCallOutputItem = /* values here */

components.ShellCallItem

value: components.ShellCallItem = /* values here */

components.ShellCallOutputItem

value: components.ShellCallOutputItem = /* values here */

components.McpListToolsItem

value: components.McpListToolsItem = /* values here */

components.McpApprovalRequestItem

value: components.McpApprovalRequestItem = /* values here */

components.McpApprovalResponseItem

value: components.McpApprovalResponseItem = /* values here */

components.McpCallItem

value: components.McpCallItem = /* values here */

components.CustomToolCallItem

value: components.CustomToolCallItem = /* values here */

components.CustomToolCallOutputItem

value: components.CustomToolCallOutputItem = /* values here */

components.CompactionItem

value: components.CompactionItem = /* values here */

components.ItemReferenceItem

value: components.ItemReferenceItem = /* values here */