Code execution container for the request.
Either a container ID from a previous response, or a dict of container parameters — notably skills to load into the container. Skills require a code execution tool to be bound.
model = ChatAnthropic(
model="claude-opus-5",
container={
"skills": [{"type": "anthropic", "skill_id": "pptx", "version": "latest"}]
},
).bind_tools([{"type": "code_execution_20260521", "name": "code_execution"}])
Can also be passed at call time, which overrides the value set here.