Package com.axelor.ai.tool.procedure
Class InspectProcessTool
java.lang.Object
com.axelor.ai.tool.procedure.InspectProcessTool
- All Implemented Interfaces:
SystemTool<InspectProcessTool.Input>
The digest of how a model's forms work — ways in, states, fields, buttons with their client
expressions, hooks, every chain written out with the questions it can ask, workflows — and, given
a skill, how its procedures stand against the forms as they are now.
For writing procedures and for checking them after an upgrade: it lays out the application's inner workings, so only an AI administrator may run it, whatever agent it is linked to.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncode()Unique code matching AiTool.systemTool field.Brief description of what this tool does.execute(InspectProcessTool.Input input, ToolContext context) Execute with the given typed input and agent-scoped context.The input record class.name()Human-readable display name (e.g.safety()Safety classification for approval decisions.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axelor.ai.tool.system.SystemTool
beforeApproval, callTitle, provideContext, refusal, runsOutsideTransaction, undoneByRollback
-
Field Details
-
CODE
- See Also:
-
-
Method Details
-
code
Description copied from interface:SystemToolUnique code matching AiTool.systemTool field.- Specified by:
codein interfaceSystemTool<InspectProcessTool.Input>
-
name
Description copied from interface:SystemToolHuman-readable display name (e.g. "Search Records").- Specified by:
namein interfaceSystemTool<InspectProcessTool.Input>
-
description
Description copied from interface:SystemToolBrief description of what this tool does.- Specified by:
descriptionin interfaceSystemTool<InspectProcessTool.Input>
-
inputType
Description copied from interface:SystemToolThe input record class. ReturnVoid.classfor tools with no input.- Specified by:
inputTypein interfaceSystemTool<InspectProcessTool.Input>
-
safety
Description copied from interface:SystemToolSafety classification for approval decisions. Tools default toToolSafety.WRITE. Override toToolSafety.READ_ONLYfor safe tools that never require approval orToolSafety.DESTRUCTIVEfor tools that should always require approval.- Specified by:
safetyin interfaceSystemTool<InspectProcessTool.Input>
-
execute
Description copied from interface:SystemToolExecute with the given typed input and agent-scoped context.- Specified by:
executein interfaceSystemTool<InspectProcessTool.Input>
-