ResponseContextExtensions Class

Definition

Extension methods for ResponseContext that generate correctly formatted item IDs with automatic partition key propagation from the current response.

public static class ResponseContextExtensions
type ResponseContextExtensions = class
Public Module ResponseContextExtensions
Inheritance
ResponseContextExtensions

Methods

Name Description
NewApplyPatchCallItemId(ResponseContext)

Generates a new apply-patch call item ID sharing the response's partition key.

NewApplyPatchCallOutputItemId(ResponseContext)

Generates a new apply-patch call output item ID sharing the response's partition key.

NewCodeInterpreterCallItemId(ResponseContext)

Generates a new code interpreter call item ID sharing the response's partition key.

NewCompactionItemId(ResponseContext)

Generates a new compaction item ID sharing the response's partition key.

NewComputerCallItemId(ResponseContext)

Generates a new computer call item ID sharing the response's partition key.

NewComputerCallOutputItemId(ResponseContext)

Generates a new computer call output item ID sharing the response's partition key.

NewCustomToolCallItemId(ResponseContext)

Generates a new custom tool call item ID sharing the response's partition key.

NewCustomToolCallOutputItemId(ResponseContext)

Generates a new custom tool call output item ID sharing the response's partition key.

NewFileSearchCallItemId(ResponseContext)

Generates a new file search call item ID sharing the response's partition key.

NewFunctionCallItemId(ResponseContext)

Generates a new function tool call item ID sharing the response's partition key.

NewFunctionCallOutputItemId(ResponseContext)

Generates a new function call output item ID sharing the response's partition key.

NewFunctionShellCallItemId(ResponseContext)

Generates a new function shell call item ID sharing the response's partition key.

NewFunctionShellCallOutputItemId(ResponseContext)

Generates a new function shell call output item ID sharing the response's partition key.

NewImageGenCallItemId(ResponseContext)

Generates a new image generation call item ID sharing the response's partition key.

NewItemId(ResponseContext)

Generates a new generic item ID sharing the response's partition key.

NewLocalShellCallItemId(ResponseContext)

Generates a new local shell call item ID sharing the response's partition key.

NewLocalShellCallOutputItemId(ResponseContext)

Generates a new local shell call output item ID sharing the response's partition key.

NewMcpApprovalRequestItemId(ResponseContext)

Generates a new MCP approval request item ID sharing the response's partition key.

NewMcpApprovalResponseItemId(ResponseContext)

Generates a new MCP approval response item ID sharing the response's partition key.

NewMcpCallItemId(ResponseContext)

Generates a new MCP tool call item ID sharing the response's partition key.

NewMcpListToolsItemId(ResponseContext)

Generates a new MCP list tools item ID sharing the response's partition key.

NewMessageItemId(ResponseContext)

Generates a new output message item ID sharing the response's partition key.

NewOutputMessageItemId(ResponseContext)

Generates a new output message item ID sharing the response's partition key.

NewReasoningItemId(ResponseContext)

Generates a new reasoning item ID sharing the response's partition key.

NewStructuredOutputItemId(ResponseContext)

Generates a new structured output item ID sharing the response's partition key.

NewWebSearchCallItemId(ResponseContext)

Generates a new web search call item ID sharing the response's partition key.

NewWorkflowActionItemId(ResponseContext)

Generates a new workflow action item ID sharing the response's partition key.

Applies to