Documentation / @agentick/core / SendInput
Interface: SendInput<P>
Defined in: core/src/app/types.ts:890
Input for sending messages to a session.
Extends the wire-safe SharedSendInput with local execution fields. Always uses messages array (no singular message form).
Example
session.send({
messages: [{ role: "user", content: [{ type: "text", text: "Hello!" }] }],
maxTicks: 5,
});Extends
SendInput<P>
Extended by
Type Parameters
P
P = { }
Properties
ephemeral?
optionalephemeral:EphemeralInput[]
Defined in: shared/src/protocol.ts:153
Ephemeral content (appended to compiled ephemeral)
Inherited from
grounding?
optionalgrounding:GroundingInput[]
Defined in: shared/src/protocol.ts:149
Grounding context (ephemeral with _grounding metadata)
Inherited from
maxTicks?
optionalmaxTicks:number
Defined in: core/src/app/types.ts:892
Override maxTicks for this execution
messages?
optionalmessages:Message[]
Defined in: shared/src/protocol.ts:141
Messages to deliver
Inherited from
metadata?
optionalmetadata:Record<string,unknown>
Defined in: shared/src/protocol.ts:145
Metadata attached to messages
Inherited from
props?
optionalprops:P
Defined in: shared/src/protocol.ts:143
Component props to update
Inherited from
sections?
optionalsections:SectionInput[]
Defined in: shared/src/protocol.ts:151
Named sections (JSX wins on ID collision)
Inherited from
signal?
optionalsignal:AbortSignal
Defined in: core/src/app/types.ts:894
Per-execution abort signal (not serializable — local only)
system?
optionalsystem:string[]
Defined in: shared/src/protocol.ts:147
Additional system instructions (appended to compiled systemEntries)
Inherited from
tools?
optionaltools:ExecutableTool<(input,ctx?) =>ContentBlock[] |Promise<ContentBlock[]>>[]
Defined in: core/src/app/types.ts:899
Additional tools for this execution. Merged with session and app tools (execution tools take priority on name conflict).