The whole hunk
from line 161, old and new numbered
/
lines
from line 161
161161 tools: [{type: "agent_toolset_20260401"}]
162162 )
163163 ```
164
165 <ForLanguage tab="CLI">
166 [`ant apply`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/apply) creates the agent from `coding-assistant.md`, prints its ID, and records it in `claude-lock.json`. Commit `claude-lock.json` so the next `ant apply` updates this agent instead of creating a second one.
167 </ForLanguage>
164168</CodeGroup>
165169
166170The response echoes your configuration and adds `id`, `type`, `version`, `created_at`, `updated_at`, and `archived_at` fields, and fills in `model` fields you omit, such as `effort`, with their defaults. The `version` starts at 1 and increments each time an update changes the agent.