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
input?
Section titled “input?”
optionalinput?:unknown
Complete tool-call arguments as emitted by Mastra.
output?
Section titled “output?”
optionaloutput?:unknown
Complete tool result/error as emitted by Mastra.
progress?
Section titled “progress?”
optionalprogress?:ToolProgress[]
status
Section titled “status”status:
"running"|"done"|"error"
toolName
Section titled “toolName”toolName:
string