Skip to main content

Interface: RunAgentInput

Interface: RunAgentInput

Properties

messages

messages: string | Message[];

Seed messages for the run. Either a single user string or a full message list.


plugins?

optional plugins: PluginData<PluginConstructor, unknown, string>[];

Optional plugin list. Required when def.tools is the function form (plugins) => Record<string, AgentTool> and the function dereferences any plugins. runAgent constructs a fresh instance per plugin and dispatches tool calls against it as the service principal (no OBO — there is no HTTP request in standalone mode).


signal?

optional signal: AbortSignal;

Abort signal for cancellation.

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs