Class SaveAgentTool

java.lang.Object
com.axelor.ai.tool.builder.SaveAgentTool
All Implemented Interfaces:
SystemTool<SaveAgentTool.Input>

public class SaveAgentTool extends Object implements SystemTool<SaveAgentTool.Input>
Creates or updates an agent by code, from the fields of an agent seed file's frontmatter.

What it never does (invariant 2): enable an agent, or give anyone access to one — isEnabled, roles, groups and users are not inputs. A new agent is saved disabled and unshared; an existing one keeps its state and its access lists. It never edits the Agent Builder itself. Every code it is given must name a record: an unknown one is refused, not skipped.