Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

permission-policies changedmanaged-agents/permission-policies

Nearest release: v2.1.336, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+86added
Lines−0removed
From line 227 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits37to this page, all time

The whole hunk

from line 227, old and new numbered
/
lines
from line 227
227227 ]
228228 )
229229 ```
230 
231 ```hcl Terraform
232 resource "anthropic_beta_agent" "coding_assistant" {
233 name = "Coding Assistant"
234 model = { id = "claude-opus-5-5" }
235 tools = [
236 {
237 agent_toolset_20260401 = {
238 default_config = {
239 permission_policy = "always_ask"
240 }
241 }
242 },
243 ]
244 }
245 ```
230246</CodeGroup>
231247 
232248`default_config` (java, php: `defaultConfig`; csharp, go: `DefaultConfig`) is optional. If you omit it, the agent toolset is enabled with the default permission policy, `always_allow`.
from line 481
465481 ]
466482 )
467483 ```
484 
485 ```hcl Terraform
486 resource "anthropic_beta_agent" "dev_assistant" {
487 name = "Dev Assistant"
488 model = { id = "claude-opus-5-5" }
489 mcp_servers = [
490 { url = { name = "github", url = "https://mcp.example.com/github" } },
491 ]
492 tools = [
493 { agent_toolset_20260401 = {} },
494 {
495 mcp_toolset = {
496 mcp_server_name = "github"
497 default_config = {
498 permission_policy = "always_allow"
499 }
500 }
501 },
502 ]
503 }
504 ```
468505</CodeGroup>
469506 
470507## Override an individual tool policy
from line 694
657694 }
658695 ]
659696 ```
697 
698 ```hcl Terraform
699 resource "anthropic_beta_agent" "bash_review_assistant" {
700 name = "Coding Assistant"
701 model = { id = "claude-opus-5-5" }
702 tools = [
703 {
704 agent_toolset_20260401 = {
705 default_config = {
706 permission_policy = "always_allow"
707 }
708 configs = [
709 { bash = { permission_policy = "always_ask" } },
710 ]
711 }
712 },
713 ]
714 }
715 ```
660716</CodeGroup>
661717 
662718Pass this `tools` (csharp, go: `Tools`) configuration when you create the agent. MCP toolsets support the same per-tool overrides, with `name` (csharp, go: `Name`) set to the tool name reported by the MCP server. See [Configure which MCP tools are available](https://platform.claude.com/docs/en/managed-agents/mcp-connector#configure-which-mcp-tools-are-available).
from line 1042
9861042 }
9871043 ]
9881044 )
1045 ```
1046 
1047 ```hcl Terraform
1048 resource "anthropic_beta_agent" "ops_agent" {
1049 name = "Ops Agent"
1050 model = { id = "claude-opus-5-5" }
1051 mcp_servers = [
1052 { url = { name = "github", url = "https://mcp.example.com/github" } },
1053 ]
1054 tools = [
1055 {
1056 agent_toolset_20260401 = {
1057 default_config = {
1058 permission_policy = "auto"
1059 }
1060 configs = [
1061 { bash = { permission_policy = "always_ask" } },
1062 ]
1063 }
1064 },
1065 {
1066 mcp_toolset = {
1067 mcp_server_name = "github"
1068 default_config = {
1069 permission_policy = "auto"
1070 }
1071 }
1072 },
1073 ]
1074 }
9891075 ```
9901076</CodeGroup>
9911077 
Feedback