updateAiAgent
Update the current draft version.
Updates version-level content. PATCH semantics — only provided fields are modified. Creates a new draft version row.
Update the current draft version.
Updates version-level content. PATCH semantics — only provided fields are modified. Creates a new draft version row.
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | The agent’s numeric ID (from create or list response) |
name | string | No | |
description | string | No | |
prompt_config | object | No | |
tools | AgentToolDto[] | No | |
skill_ids | integer[] | No | |
skills_inline | InlineSkillDto[] | No | Agent-owned inline skills. Full-array replacement semantics. null=no change, []=clear all. |
capabilities | string | No | Free-form description of what the agent can do. Plain string PATCH — null = no change. Send "" to clear. |
adapter_type | object | No | Runtime adapter for the agent. PATCH semantics — !present → no change; present-null → |
adapter_config_template | object | No | Per-adapter free-form config. PATCH semantics — null/absent → no change; explicit → |
max_concurrent_runs | integer | No | Per-agent concurrency cap. PATCH semantics — !present → no change; present-null → clear |
icon | object | No |