Share via


AgentRequest interface

Represents a request to an agent with telemetry context

Properties

content

The content of the request

executionType

The type of invocation (how the agent was called)

sessionId

Optional session identifier for grouping related requests

sourceMetadata

Optional metadata about the source of the invocation

Property Details

content

The content of the request

content: string

Property Value

string

executionType

The type of invocation (how the agent was called)

executionType?: ExecutionType

Property Value

sessionId

Optional session identifier for grouping related requests

sessionId?: string

Property Value

string

sourceMetadata

Optional metadata about the source of the invocation

sourceMetadata?: SourceMetadata

Property Value