Agent SDK reference - Python changedagent-sdk/python
Nearest release: v2.1.319, published 3 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 6 Nov 2026 03:59 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 6 Nov 2026 04:07 UTC.
Upstream edited
Recorded here
Lines+5added
Lines−12removed
From line
3,664
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits70to this page, all time
The whole hunk
from line 3664, old and new numbered
/
from line 3664
36643664
36653665### `SandboxIgnoreViolations`
36663666
3667Configuration for ignoring specific sandbox violations.
3667Violations to leave out of the sandbox's violation report. Each key matches part of a command, or `*` for every command, and each value lists text to match in a violation line: `{"*": ["/etc/hosts"]}` hides violations that mention `/etc/hosts`. A matching access is still blocked. See [`sandbox.ignoreViolations`](https://code.claude.com/docs/en/settings-reference#sandbox-ignoreviolations).
36683668
36693669```python theme={null}
3670class SandboxIgnoreViolations(TypedDict, total=False):
3671 file: list[str]
3672 network: list[str]
3670SandboxIgnoreViolations = dict[str, list[str]]
36733671```
3674
3675| Property | Type | Default | Description |
3676| :- | :- | :- | :- |
3677| `file` | `list[str]` | `[]` | File path patterns to ignore violations for |
3678| `network` | `list[str]` | `[]` | Network patterns to ignore violations for |
36793672
36803673### Permissions Fallback for Unsandboxed Commands
36813674
No line in this hunk matches that.