The whole hunk
from line 475, old and new numbered
/
lines
from line 475
475475
476476Use the `configs` array to override the default for individual tools. The `name` values for the agent toolset are listed in [Available tools](https://platform.claude.com/docs/en/managed-agents/tools#available-tools). This example allows the full agent toolset by default but requires confirmation before any bash command runs:
477477
478<CodeGroup>
478<CodeGroup defaultLanguage="CLI">
479479 ```bash cURL
480480 tools='[
481481 {
from line 493
493493 ]'
494494 ```
495495
496 ```bash CLI
497 ant beta:agents create <<'YAML'
498 name: Coding Assistant
499 model: claude-opus-5
500 tools:
501 - type: agent_toolset_20260401
502 default_config:
503 permission_policy:
504 type: always_allow
505 configs:
506 - name: bash
507 permission_policy:
508 type: always_ask
509 YAML
510 ```
496 <MultiFileExample language="cli" label="CLI">
497 ```bash CLI
498 ant apply agent.md
499 ```
500
501 <File filename="agent.md">
502 ```markdown
503 ---
504 name: Coding Assistant
505 model: claude-opus-5
506 tools:
507 - type: agent_toolset_20260401
508 default_config:
509 permission_policy:
510 type: always_allow
511 configs:
512 - name: bash
513 permission_policy:
514 type: always_ask
515 ---
516 ```
517 </File>
518 </MultiFileExample>
511519
512520 ```python Python
513521 tools = [