AI agents, tools, models, and guardrails

AI tools maintain the agents, tools, models, and guardrails of Naia Agent Studio. An agent uses tools, a model, and guardrails. A guardrail of type llm uses a model. Create or update these artifacts before the agent that refers to them. To build a valid model configuration, call list_ai_vendor_settings first.

Required access: the following tools of the Naia Agent Studio section in one of your roles:

  • Agent (aiagent) for the agent tools.

  • AI Tool (aitool) for the AI tool tools.

  • Model (aimodel) for the model tools.

  • Guardrails (aiguardrail) for the guardrail tools.

  • Agent Trace (aiagenttrace) for the agent trace log tools.

Display access is enough to list and read. Saving and deleting require Edit access. list_ai_vendor_settings does not check tool access, because it returns only the static list of supported vendors.

If none of your roles includes the tool with the required access, the call fails immediately with an access denied error. Contact an administrator to request access, or see Access control for more information on how access is enforced.

To keep responses small, related artifacts are reduced to their id and name in the responses of these tools. Use the tools of the related artifact type to read the full object.

Available tools

AI agents

The agent tools work with standard (local) agents and with external agents, such as A2A peers.

In the responses of get_ai_agent and save_ai_agent, the assigned tools, apps, launchpads, peers, and sapDataSources, and the scripts, apps, launchpads, processFlows, and peers listed under whereUsed are reduced to id and name.

Tool Description

list_ai_agents

List AI agents. Supports filtering, field selection, and sorting through listOptions.

get_ai_agent

Return an AI agent by its ID, including its configuration, prompts, roles, and tools, and the artifacts that it is assigned to or used by.

save_ai_agent

Create or update an AI agent. Omit id to create a new agent. An agent of type standard requires model. An agent of type external, an A2A peer, requires name and cardUrl.

delete_ai_agent

Delete an AI agent by its ID.

The field enableIntelligentApps corresponds to the Enable use with Agentic Apps setting of an agent.

AI tools

In the responses of list_ai_tools, get_ai_tool, and save_ai_tool, the roles of a tool are reduced to id and name.

Tool Description

list_ai_tools

List AI tools. Without field selection, each entry contains id, name, type, package, and updatedAt. Supports filtering, field selection, and sorting through listOptions.

get_ai_tool

Return an AI tool by its ID, including the agents it is assigned to.

save_ai_tool

Create or update an AI tool. Pass the full tool object, including the tool type and its type-specific configuration. Omit id to create a new tool.

delete_ai_tool

Delete an AI tool by its ID.

AI models

In the responses of the model tools, the roles of a model and the agents, tables, and guardrails listed under whereUsed are reduced to id and name.

Tool Description

list_ai_models

List AI models. The vendor configuration (config) is never included in the list, even if you select it. Use get_ai_model to read it. Supports filtering, field selection, and sorting through listOptions.

get_ai_model

Return an AI model by its ID, including its vendor configuration and where it is used.

save_ai_model

Create or update an AI model. Pass the full model object, including the vendor type and the configuration. Omit id to create a new model.

delete_ai_model

Delete an AI model by its ID. The deletion fails if an agent uses the model or if the model is set as the global embedding model.

list_ai_vendor_settings

List every AI model vendor that the system supports. For each vendor, the response contains the names of its configuration fields, for example, apiKey, region, or resourceName, the available embedding models with their vector dimensions, and the available image generation models. Only field names are returned, no configured values.

AI guardrails

The guardrail tools are available from Neptune DXP - Open Edition 25.0.1.

The type of a guardrail sets what it runs: llm runs a model, function runs a server script, and rule_based runs a rules engine. Each guardrail keeps a history of prompt versions. Exactly one prompt version is active.

Tool Description

list_ai_guardrails

List AI guardrails. Supports filtering, field selection, and sorting through listOptions.

get_ai_guardrail

Return an AI guardrail by its ID, including its active prompt, its prompt version history, the model, script, or rules engine that it runs, and the agents that use it.

save_ai_guardrail

Create or update an AI guardrail. Omit id to create a new guardrail. The type sets the required reference: llm requires model, function requires script, and rule_based requires rulesengine. Passing prompt.txt adds a new prompt version and makes it the active prompt.

delete_ai_guardrail

Delete an AI guardrail by its ID, including its prompt versions.

Agent trace logs

The agent trace log tools are available from Neptune DXP - Open Edition 25.0.1. They are read-only.

Tool Description

list_agent_trace_logs

List agent trace logs. Supports filtering.

get_agent_trace_log

Return an agent trace log entry by its ID.

Was this page helpful?

What made the biggest difference for you?
What went wrong? (Your feedback helps us fix it.)

Please don't include personal or sensitive data.