The whole hunk
from line 45, old and new numbered
/
lines
from line 45
4545 }
4646 ],
4747 "tools": [{"type": "web_search_20250305", "name": "web_search", "max_uses": 10}]
48 }' | jq '{stop_reason, content}'
48 }'
4949 ```
5050
5151 ```bash CLI
5252 # Initial request. If "stop_reason" in the output is "pause_turn", re-run with
5353 # the assistant content appended to messages (see the SDK tabs).
54 ant messages create --format json <<'YAML' | jq '{stop_reason, content}'
54 ant messages create <<'YAML'
5555 model: claude-opus-5
5656 max_tokens: 1024
5757 tools:
from line 530
530530 }
531531 }
532532 ]
533 }' | jq '{stop_reason, content}'
533 }'
534534 ```
535535
536536 ```bash CLI
from line 537
537537 # If "stop_reason" is "tool_use" and a server_tool_use block has no matching
538538 # result block, run the client tools and re-run with a user message of only
539539 # their tool_result blocks appended (see the SDK tabs).
540 ant messages create --format json <<'YAML' | jq '{stop_reason, content}'
540 ant messages create <<'YAML'
541541 model: claude-opus-4-8
542542 max_tokens: 1024
543543 messages:
from line 1064
10641064Invalid domain formats are rejected at request time with a 400 `invalid_request_error`.
10651065
10661066<Note>
1067 Request-level domain restrictions work together with any organization-level domain restrictions configured in Claude Console. Request-level `allowed_domains` must be a subset of the organization-level allowed list; entries outside it cause the API to return a validation error. Domains your organization blocks are removed from a request-level allowed list rather than returning an error.
1067 Request-level domain restrictions work together with any organization-level domain restrictions configured in Claude Console. Request-level `allowed_domains` must be a subset of the organization-level allowed list; entries outside it cause the API to return a validation error. A request-level allowed list that includes a domain your organization blocks is rejected with a `400` error that names the conflicting entries.
10681068</Note>
10691069
10701070<Warning>