Package com.axelor.ai.tool.studio
Interface StudioSystemTool<T>
- All Superinterfaces:
SystemTool<T>
- All Known Implementing Classes:
StudioCheckAppTool,StudioCreateVersionTool,StudioDeleteResourcesTool,StudioDeployAppTool,StudioInitViewTool,StudioListResourcesTool,StudioPublishAppTool,StudioSaveActionTool,StudioSaveAppTool,StudioSaveEntityTool,StudioSaveEnumTool,StudioSaveFieldTool,StudioSaveMenuTool,StudioSaveModelTool,StudioSaveQueryTool,StudioSaveSelectionTool,StudioSaveTranslationTool,StudioSaveViewTool,StudioSaveWorkflowTool,StudioUndeployAppTool
A Studio tool: it reads or changes the application as the designer does, so the user must be
allowed to read or change Studio's resources. Having the tool on an agent adds no right of its
own.
-
Method Summary
Modifier and TypeMethodDescriptiondefault ToolResult.Errorrefusal()A refusal that holds whatever the input: the user may not use the tool at all.Methods inherited from interface com.axelor.ai.tool.system.SystemTool
beforeApproval, callTitle, code, description, execute, inputType, name, provideContext, runsOutsideTransaction, safety, undoneByRollback
-
Method Details
-
refusal
Description copied from interface:SystemToolA refusal that holds whatever the input: the user may not use the tool at all. Asked before the user is asked to approve a call, and again before the call runs; null to let it go on.- Specified by:
refusalin interfaceSystemTool<T>
-