Debian Codegraph @

src/anthropic/types/skill_params.py

raw
1 from __future__ import annotations
2
3 from typing_extensions import Literal, Required, TypedDict
4
5 __all__ = ["SkillParams"]
6
7
8 class SkillParams(TypedDict, total=False):
9 """Specification for a skill to be loaded in a container (request model)."""
10
11 skill_id: Required[str]
12 """Skill ID"""
13
14 type: Required[Literal["anthropic", "custom"]]
15 """Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)"""
16
17 version: str
18 """Skill version or 'latest' for most recent version"""