-
Notifications
You must be signed in to change notification settings - Fork 394
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
According to the API documentation, following code example I could use to run Agent Skills:
import anthropic
client = anthropic.Anthropic()
response = client.messages.create(
model="claude-sonnet-4-5-20250929",
max_tokens=4096,
betas=["code-execution-2025-08-25", "skills-2025-10-02"],
container={
"skills": [
{
"type": "anthropic",
"skill_id": "pptx",
"version": "latest"
}
]
},
messages=[{
"role": "user",
"content": "Create a presentation about renewable energy"
}],
tools=[{
"type": "code_execution_20250825",
"name": "code_execution"
}]
)
But this code doesn't work in version 0.71.0, because I got a TypeError: "TypeError: Messages.create() got an unexpected keyword argument 'container'". It looks like this version still doesn't fully support Agent Skills. Am I right?
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation