Creates a new agent with optional tools, API tools, MCP servers, and frontend actions. Use this endpoint to set up a fully configured agent in a single request.
Validation: All referenced tools, API tools, and MCP servers are validated before creation.
Default model: The default AI model is assigned if none is specified.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Name of the agent
Description of the agent
Is the agent active?
URL to the icon/avatar of the agent
Array of tool names available to this agent
Array of API tool names available to this agent
Array of MCP server names available to this agent
Instructions for the agent behavior
Additional metadata for the agent
AI model to use for this agent
Configuration metadata for the AI model
Agent created successfully