{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreifhfa2ih5c5qe35gyb7myzibluwdpuixambs7cnjwbvaix32wvswi",
    "uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mg6b5d6blls2"
  },
  "path": "/t/using-allowlist-in-shell-tools-triggers-error-in-the-api/1375529#post_5",
  "publishedAt": "2026-03-03T16:51:30.000Z",
  "site": "https://community.openai.com",
  "textContent": "### Reporting working → non-working in the same call type is an important notation.\n\nPreface: use a supported AI model → `gpt-5.2`\n\n  1. Setting Data Controls in OpenAI platform:\n\n\n\n\n\n  2. Creating hosted shell tool in Responses playground:\n\n\n\n\n  3. Employing shell tool with auto-container.\n\n\n\n\n\n\n\n# 4. Confirmation - one more thing is down on the API:\n\n\n\n“Get code” snippet.\n\n\n      \"tools\": [\n        {\n          \"type\": \"shell\",\n          \"environment\": {\n            \"type\": \"container_auto\",\n            \"network_policy\": {\n              \"type\": \"allowlist\",\n              \"allowed_domains\": [\n                \"pypi.org\",\n                \"files.pythonhosted.org\"\n              ]\n            }\n          }\n        }\n      ],\n",
  "title": "Using allowlist in shell tools triggers error in the API"
}