OptionalactiveWhether the tool is active
OptionaldescriptionDescription of the tool
OptionaldisplayWhether to display the tool output
OptionaldocumentDocument status for the tool
OptionalexecutionExecution mode for the tool (autopilot or copilot)
Optionalm2mReference to overrides for tool usage in agent (sn_aia_agent_tool_m2m)
OptionalmaxMaximum number of automatic executions
Name of the tool
OptionaloutputStrategy for transforming the tool output
OptionalpostMessage to display after tool execution
OptionalpostScript to execute after the tool runs
OptionalpreMessage to display before tool execution
OptionalpreWhether to run this tool before other tools
OptionalrecordRecord type for the tool (custom, promoted, or template)
OptionalsysReference to overrides for tool definition (sn_aia_tool)
OptionaltimeoutTimeout duration for tool execution
OptionaltoolAdditional attributes for the tool - structured as an object
OptionaltransformationInstructions for transforming the tool output
OptionalwidgetsWidgets associated with the tool
Base type with common fields shared across all tool types. Contains fields from both sn_aia_tool (tool definition) and sn_aia_agent_tool_m2m (tool usage in agent).