Update draft agent
update_agentUpdate a draft's fields (model, tools, system message, knowledge...). status/workflow/organization/user are refused with reasons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Partial map of fields to change (send only what changes). Accepted: name, avatar, description, model_id, model_provider, model_config, reasoning_config, hitl_config, system_message, tags, metadata, needed_tools, needed_agents, memory_config, pattern_type, pattern_config, capabilities, is_memory_enabled, use_byok, byok_fallback_to_system, enable_rich_content, rich_content_types, rich_content_prompt_mode, enable_file_tools, enable_python_repl, enable_artifacts, vector_stores, files, is_public. `metadata` and `pattern_config` merge key-wise (send a key to replace it, null to delete). status/workflow/organization and relation fields (mcp_servers, api_endpoints, ai_tools, governance_policies, used_triggers) are refused here — use the dedicated attach_*/set_* tools instead. | |
| agent_id | Yes | Id of the draft agent to update. |