n8n_manage_agents
Manage n8n AI agents end-to-end: create, mutate, validate, call, publish, revert, and delete persisted assistants with memory, tools, and channels via the MCP server.
Instructions
Manage n8n Agents (persisted assistants with a model, instructions, tools, skills, tasks, memory and channels) through n8n's instance-level MCP server. Requires N8N_MCP_ACCESS_TOKEN (MCP API key from n8n Settings → Instance-level MCP) and n8n >= 2.34 with the agents module. Actions: reference, search, get, create, mutate, validate, call, publish, unpublish, revert, versions, delete, discover_assets, verify_mcp_server, update_integration. Start with action=reference (config shape and mutate operations), then discover_assets → create → mutate (one resource at a time, always with the latest configHash) → validate. publish only when the user explicitly asks. call runs the agent with real credentials and tools and may return approvals[] that need a human decision — never approve on the user's behalf. This is not the AI Agent workflow node; use get_node for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments for the action, forwarded to n8n verbatim. See tools_documentation("n8n_manage_agents", "full") for the per-action fields. | |
| action | Yes | Operation to perform | |
| timeoutMs | No | Request timeout in ms. Default 30000; 180000 for action=call. The agent run continues in n8n even if this expires. |