> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer-test.atomicwork.com/llms.txt.
> For full documentation content, see https://developer-test.atomicwork.com/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer-test.atomicwork.com/_mcp/server.

# updateAiCoworker

Update the current draft version.

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

## Parameters

| 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       |                                                                                                          |