AgentRunInput
AgentRunInput<
Context> =object
Defined in: packages/core/src/agent/types.ts:29
Type Parameters
Section titled “Type Parameters”Context
Section titled “Context”Context = unknown
Properties
Section titled “Properties”context?
Section titled “context?”
optionalcontext?:Context
Defined in: packages/core/src/agent/types.ts:31
memoryScope
Section titled “memoryScope”memoryScope:
string
Defined in: packages/core/src/agent/types.ts:30
messages?
Section titled “messages?”
optionalmessages?:CoreMessage[]
Defined in: packages/core/src/agent/types.ts:33
outputSchema?
Section titled “outputSchema?”
optionaloutputSchema?:z.ZodType<unknown>
Defined in: packages/core/src/agent/types.ts:35
Per-episode override of the agent’s outputSchema.
optionaluser?:string
Defined in: packages/core/src/agent/types.ts:32
workflow?
Section titled “workflow?”
optionalworkflow?:AgentWorkflowScope
Defined in: packages/core/src/agent/types.ts:40
When running inside a workflow, pass the current WorkflowContext ids so agent events attach to the correct step. Omit for standalone episodes.