AgentSubmitInput
A user message, interrupt resume payload, or runtime state patch submitted to an agent.
import type { AgentSubmitInput } from '@threadplane/chat';Declaration
export interface AgentSubmitInput {
message?: string | ContentBlock[];
resume?: unknown;
state?: Record<string, unknown>;
}Members
message
New user message to append. May be combined with resume and/or state in the same submit call.
message?: string | ContentBlock[];resume
Resume payload for an active interrupt.
resume?: unknown;state
State patch to merge before submitting (runtime-interpreted).
state?: Record<string, unknown>;