Skip to main content

Interface: AgentRunContext

Interface: AgentRunContext

Properties

executeTool()

executeTool: (name: string, args: unknown) => Promise<unknown>;

Tool implementations should sanitize failure text — errors become tool_result.error and can flow back into the LLM transcript.

Parameters

ParameterType
namestring
argsunknown

Returns

Promise<unknown>


signal?

optional signal: AbortSignal;

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs