Type Alias: ToolEvent
ToolEvent =
object
Lifecycle of a single tool invocation surfaced inline in the assistant
bubble. running while we wait for the backend, done on tool-result,
error on tool-error. progress is an in-order log of mid-flight
events the tool itself pushed through Mastra’s ctx.writer.
Properties
Section titled “Properties”id:
string
progress?
Section titled “progress?”
optionalprogress?:ToolProgress[]
status
Section titled “status”status:
"running"|"done"|"error"
toolName
Section titled “toolName”toolName:
string