Update an agent configuration
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the agent to update
Deprecated, use corpus instead. Array of Knowledge IDs the agent should use during the converse. When omitted, all knowledge is used.
Array of corpus items the agent should use during the converse. When omitted, all knowledge is used.
Directs your AI Agent's operational behavior.
Use custom prompt to instruct the style and formatting of the agent's response
Define the planning strategy your AI Agent should use when breaking down tasks and solving problems
Array of the agent tools to enable. If not provided, or null is provided - default tools of the agent are used. If empty list provided - none of the tools are used. When connection_id is set for a tool, it will use that specific connection instead of the default one.
Tool availability by agent model:
magpie-2.0, magpie-2.5, magpie-1.1): All tools below are available.magpie-1.1-flash): Only semantic_search is supported. Requests specifying other tools will be rejected with a 400 error.llm-only): No tools are executed. Requests specifying tools will be rejected with a 400 error.Knowledge management tools:
Actions:
Data processing tools:
Enhanced response tools:
Web tools:
The unique identifier for a tool.
Array of the agent tools to disable. Disabling is performed after the 'agent_tools' rules are applied. For example, agent_tools: null and disabled_tools: [data_analysis] will enable everything but the data_analysis tool. If nothing or [] is provided, nothing is disabled and therefore only the agent_tools setting is relevant.
The unique identifier for a tool.
The LLM used to generate responses.
gemini-3-pro-preview, gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-2.5-pro, gemini-2.5-pro-preview-05-06, gemini-2.5-flash, gemini-2.5-flash-preview-04-17, gemini-2.5-flash-native-audio-preview-12-2025, gemini-2.5-flash-lite, gpt-5, gpt-5.1, gemini-2.0-flash-001, gemini-2.0-flash, gemini-1.5-pro-001, gemini-1.5-pro-002, gemini-1.5-flash-002, gemini-1.5-flash-001, chatgpt-4o-latest, gpt-4o, gpt-4, gpt-4-turbo, gpt-4o-mini The agent model determines the processing mode for Converse requests. Each model maps to one of three modes available in the Datagrid UI:
Agentic mode (full tool use, planning, and multi-step reasoning):
magpie-2.0 — Default. Agentic model with proactive planning and reasoning.magpie-2.5 — Beta. Our latest agentic model — faster, more adaptable, and built to handle a broader range of real-world tasks.magpie-1.1 — Previous-generation agentic model.Ask mode (lightweight, single-turn Q&A):
magpie-1.1-flash — Fast model optimized for RAG use cases. Only supports the semantic_search tool. A 400 error will be returned if other tools are specified. Structured outputs are not supported.Fastest mode (direct LLM response, no tool execution):
llm-only — Runs a direct LLM conversation with no planning or tool calls. A 400 error will be returned if tools are specified. Structured outputs are not supported.Can also accept any custom string value for future model versions.
magpie-1.1, magpie-1.1-flash, magpie-2.0, magpie-2.5, llm-only Registered MCP servers to enable for this agent.
The name of the agent
255The emoji of the agent
255The description of the agent
1000Updated agent
The object type, always 'agent'
agent Unique identifier for the agent
The name of the agent
The emoji of the agent
The description of the agent
The ISO string for when the agent was created
Deprecated, use corpus instead. Array of Knowledge IDs the agent should use during the converse. When omitted, all knowledge is used.
Array of corpus items the agent should use during the converse. When omitted, all knowledge is used.
Directs your AI Agent's operational behavior.
Use custom prompt to instruct the style and formatting of the agent's response
Define the planning strategy your AI Agent should use when breaking down tasks and solving problems
The agent model determines the processing mode for Converse requests. Each model maps to one of three modes available in the Datagrid UI:
Agentic mode (full tool use, planning, and multi-step reasoning):
magpie-2.0 — Default. Agentic model with proactive planning and reasoning.magpie-2.5 — Beta. Our latest agentic model — faster, more adaptable, and built to handle a broader range of real-world tasks.magpie-1.1 — Previous-generation agentic model.Ask mode (lightweight, single-turn Q&A):
magpie-1.1-flash — Fast model optimized for RAG use cases. Only supports the semantic_search tool. A 400 error will be returned if other tools are specified. Structured outputs are not supported.Fastest mode (direct LLM response, no tool execution):
llm-only — Runs a direct LLM conversation with no planning or tool calls. A 400 error will be returned if tools are specified. Structured outputs are not supported.Can also accept any custom string value for future model versions.
magpie-1.1, magpie-1.1-flash, magpie-2.0, magpie-2.5, llm-only The LLM used to generate responses.
gemini-3-pro-preview, gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-2.5-pro, gemini-2.5-pro-preview-05-06, gemini-2.5-flash, gemini-2.5-flash-preview-04-17, gemini-2.5-flash-native-audio-preview-12-2025, gemini-2.5-flash-lite, gpt-5, gpt-5.1, gemini-2.0-flash-001, gemini-2.0-flash, gemini-1.5-pro-001, gemini-1.5-pro-002, gemini-1.5-flash-002, gemini-1.5-flash-001, chatgpt-4o-latest, gpt-4o, gpt-4, gpt-4-turbo, gpt-4o-mini Tools that this agent can use.
Registered MCP servers enabled for this agent.