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

tools changedmanaged-agents/tools

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+73added
Lines−0removed
From line 223 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 223, old and new numbered
/
lines
from line 223
223223 ]
224224 )
225225 ```
226 
227 ```hcl Terraform
228 resource "anthropic_beta_agent" "coding_assistant" {
229 name = "Coding Assistant"
230 model = { id = "claude-opus-5-5" }
231 tools = [
232 {
233 agent_toolset_20260401 = {
234 configs = [
235 { web_fetch = { enabled = false } },
236 ]
237 }
238 },
239 ]
240 }
241 ```
226242</CodeGroup>
227243 
228244### Disabling specific tools
from line 255
239255}
240256```
241257 
258With the Terraform provider, this entry goes in the `tools` argument of an `anthropic_beta_agent` resource:
259 
260```hcl
261tools = [
262 {
263 agent_toolset_20260401 = {
264 configs = [
265 { web_fetch = { enabled = false } },
266 { web_search = { enabled = false } },
267 ]
268 }
269 },
270]
271```
272 
242273### Enabling only specific tools
243274 
244275The `default_config` object sets the baseline for every tool in the set, and per-tool `configs` entries override it. To start with everything off and enable only what you need, set `default_config.enabled` to `false`:
from line 286
255286}
256287```
257288 
289With the Terraform provider, this entry goes in the `tools` argument of an `anthropic_beta_agent` resource:
290 
291```hcl
292tools = [
293 {
294 agent_toolset_20260401 = {
295 default_config = { enabled = false }
296 configs = [
297 { bash = { enabled = true } },
298 { read = { enabled = true } },
299 { write = { enabled = true } },
300 ]
301 }
302 },
303]
304```
305 
258306### Restricting web search and web fetch
259307 
260308The `web_search` and `web_fetch` entries also accept domain lists, a cap on fetched content, and a search location. See [Restrict web search and web fetch domains](https://platform.claude.com/docs/en/managed-agents/tools-web-restrictions).
from line 534
486534 }
487535 ]
488536 )
537 ```
538 
539 ```hcl Terraform
540 resource "anthropic_beta_agent" "weather_agent" {
541 name = "Weather Agent"
542 model = { id = "claude-opus-5-5" }
543 tools = [
544 {
545 custom = {
546 name = "get_weather"
547 description = "Get current weather for a location"
548 input_schema = jsonencode({
549 type = "object"
550 properties = {
551 location = {
552 type = "string"
553 description = "City name"
554 }
555 }
556 required = ["location"]
557 })
558 }
559 },
560 ]
561 }
489562 ```
490563</CodeGroup>
491564 
Feedback