# Interface InvocationContextParams

The parameters for creating an invocation context.

interface InvocationContextParams {
activeStreamingTools?: Record<string, ActiveStreamingTool>;
agent: BaseAgent;
artifactService?: BaseArtifactService;
branch?: string;
credentialService?: BaseCredentialService;
endInvocation?: boolean;
invocationId: string;
liveRequestQueue?: LiveRequestQueue;
memoryService?: BaseMemoryService;
pluginManager: PluginManager;
runConfig?: RunConfig;
session: Session;
sessionService?: BaseSessionService;
transcriptionCache?: TranscriptionEntry[];
userContent?: Content;
}

- Defined in agents/invocation_context.ts:26

## Properties

### `Optional` activeStreamingTools

activeStreamingTools?: Record<string, ActiveStreamingTool>

- Defined in agents/invocation_context.ts:40

### agent

agent: BaseAgent

- Defined in agents/invocation_context.ts:33

### `Optional` artifactService

artifactService?: BaseArtifactService

- Defined in agents/invocation_context.ts:27

### `Optional` branch

branch?: string

- Defined in agents/invocation_context.ts:32

### `Optional` credentialService

credentialService?: BaseCredentialService

- Defined in agents/invocation_context.ts:30

### `Optional` endInvocation

endInvocation?: boolean

- Defined in agents/invocation_context.ts:36

### invocationId

invocationId: string

- Defined in agents/invocation_context.ts:31

### `Optional` liveRequestQueue

liveRequestQueue?: LiveRequestQueue

- Defined in agents/invocation_context.ts:39

### `Optional` memoryService

memoryService?: BaseMemoryService

- Defined in agents/invocation_context.ts:29

### pluginManager

pluginManager: PluginManager

- Defined in agents/invocation_context.ts:41

### `Optional` runConfig

runConfig?: RunConfig

- Defined in agents/invocation_context.ts:38

### session

session: Session

- Defined in agents/invocation_context.ts:35

### `Optional` sessionService

sessionService?: BaseSessionService

- Defined in agents/invocation_context.ts:28

### `Optional` transcriptionCache

transcriptionCache?: TranscriptionEntry[]

- Defined in agents/invocation_context.ts:37

### `Optional` userContent

userContent?: Content

- Defined in agents/invocation_context.ts:34