AIToolData
typedef
Properties
attributes : Record<string, any> | undefinedmodule:ai/aicore/model/aiinteraction~AIToolData#attributesAdditional parameters returned by the tool.
Content depends on the AI tool implementation.
Available only if
typeis'result'.data : Record<string, any> | undefinedmodule:ai/aicore/model/aiinteraction~AIToolData#dataData returned by the tool.
Content depends on the AI tool implementation.
toolName : stringmodule:ai/aicore/model/aiinteraction~AIToolData#toolNameName of the AI tool which returned the data.
type : 'result' | 'notification'module:ai/aicore/model/aiinteraction~AIToolData#typeData type.
'result'– if the AI tool returned final results of its execution.'notification'– if the AI tool returned a notification (e.g., progress update).
Value
object