ToolContext
class ToolContext(val invocationContext: InvocationContext, val actions: EventActions = EventActions(), val functionCallId: String? = null, val toolConfirmation: ToolConfirmation? = null, val eventId: String? = null) : ReadonlyToolContext
ToolContext provides a structured context for executing tools or functions.
Constructors
Link copied to clipboard
constructor(invocationContext: InvocationContext, actions: EventActions = EventActions(), functionCallId: String? = null, toolConfirmation: ToolConfirmation? = null, eventId: String? = null)
Properties
Functions
Link copied to clipboard
Requests the current LLM agent to stop after the current step completes.
Link copied to clipboard
Lists the artifacts available in the current session.
Link copied to clipboard
Loads a specific artifact from the current session.
Link copied to clipboard
Link copied to clipboard