updateAiAgent

View as Markdown

Update the current draft version.

Updates version-level content. PATCH semantics — only provided fields are modified. Creates a new draft version row.

Parameters

NameTypeRequiredDescription
agentIdintegerYesThe agent’s numeric ID (from create or list response)
namestringNo
descriptionstringNo
prompt_configobjectNo
toolsAgentToolDto[]No
skill_idsinteger[]No
skills_inlineInlineSkillDto[]NoAgent-owned inline skills. Full-array replacement semantics. null=no change, []=clear all.
capabilitiesstringNoFree-form description of what the agent can do. Plain string PATCH — null = no change. Send "" to clear.
adapter_typeobjectNoRuntime adapter for the agent. PATCH semantics — !present → no change; present-null →
adapter_config_templateobjectNoPer-adapter free-form config. PATCH semantics — null/absent → no change; explicit
max_concurrent_runsintegerNoPer-agent concurrency cap. PATCH semantics — !present → no change; present-null → clear
iconobjectNo