assassinlike commited on
Commit
c66daab
·
verified ·
1 Parent(s): 1cac6a0

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_base64_image_source_param.py +23 -0
  2. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_base64_pdf_block_param.py +7 -0
  3. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_bash_code_execution_output_block_param.py +13 -0
  4. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_bash_code_execution_result_block.py +21 -0
  5. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_cache_creation.py +13 -0
  6. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citation_char_location.py +24 -0
  7. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citation_content_block_location.py +24 -0
  8. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citation_page_location.py +24 -0
  9. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citation_search_result_location.py +24 -0
  10. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citation_web_search_result_location_param.py +20 -0
  11. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citations_config_param.py +11 -0
  12. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citations_delta.py +31 -0
  13. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_param.py +38 -0
  14. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_code_execution_output_block.py +13 -0
  15. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_code_execution_result_block_param.py +22 -0
  16. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_code_execution_tool_20250522_param.py +34 -0
  17. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_code_execution_tool_result_block.py +17 -0
  18. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_code_execution_tool_result_block_param_content_param.py +16 -0
  19. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_compaction_block.py +22 -0
  20. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_compaction_iteration_usage.py +31 -0
  21. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_container_params.py +20 -0
  22. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_container_upload_block.py +15 -0
  23. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_content_block_param.py +52 -0
  24. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_context_management_config_param.py +21 -0
  25. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_context_management_response.py +21 -0
  26. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_direct_caller.py +13 -0
  27. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_file_image_source_param.py +13 -0
  28. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_input_json_delta.py +13 -0
  29. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_input_tokens_clear_at_least_param.py +13 -0
  30. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_mcp_tool_use_block.py +22 -0
  31. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_memory_tool_20250818_str_replace_command.py +21 -0
  32. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_memory_tool_20250818_view_command.py +19 -0
  33. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_message_delta_usage.py +37 -0
  34. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_message_param.py +16 -0
  35. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_model_capabilities.py +40 -0
  36. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_model_info.py +39 -0
  37. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_output_config_param.py +22 -0
  38. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_raw_message_start_event.py +14 -0
  39. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_redacted_thinking_block.py +13 -0
  40. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_request_mcp_server_url_definition_param.py +22 -0
  41. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_request_mcp_tool_result_block_param.py +24 -0
  42. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_server_tool_caller_20260120_param.py +13 -0
  43. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_server_tool_usage.py +13 -0
  44. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_skill.py +20 -0
  45. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_skill_params.py +20 -0
  46. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_text_block_param.py +22 -0
  47. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_thinking_capability.py +16 -0
  48. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_thinking_config_adaptive_param.py +20 -0
  49. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_thinking_config_disabled_param.py +11 -0
  50. data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_thinking_config_enabled_param.py +33 -0
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_base64_image_source_param.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union
6
+ from typing_extensions import Literal, Required, Annotated, TypedDict
7
+
8
+ from ..._types import Base64FileInput
9
+ from ..._utils import PropertyInfo
10
+ from ..._models import set_pydantic_config
11
+
12
+ __all__ = ["BetaBase64ImageSourceParam"]
13
+
14
+
15
+ class BetaBase64ImageSourceParam(TypedDict, total=False):
16
+ data: Required[Annotated[Union[str, Base64FileInput], PropertyInfo(format="base64")]]
17
+
18
+ media_type: Required[Literal["image/jpeg", "image/png", "image/gif", "image/webp"]]
19
+
20
+ type: Required[Literal["base64"]]
21
+
22
+
23
+ set_pydantic_config(BetaBase64ImageSourceParam, {"arbitrary_types_allowed": True})
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_base64_pdf_block_param.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from .beta_request_document_block_param import BetaRequestDocumentBlockParam
6
+
7
+ BetaBase64PDFBlockParam = BetaRequestDocumentBlockParam
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_bash_code_execution_output_block_param.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ __all__ = ["BetaBashCodeExecutionOutputBlockParam"]
8
+
9
+
10
+ class BetaBashCodeExecutionOutputBlockParam(TypedDict, total=False):
11
+ file_id: Required[str]
12
+
13
+ type: Required[Literal["bash_code_execution_output"]]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_bash_code_execution_result_block.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+ from .beta_bash_code_execution_output_block import BetaBashCodeExecutionOutputBlock
8
+
9
+ __all__ = ["BetaBashCodeExecutionResultBlock"]
10
+
11
+
12
+ class BetaBashCodeExecutionResultBlock(BaseModel):
13
+ content: List[BetaBashCodeExecutionOutputBlock]
14
+
15
+ return_code: int
16
+
17
+ stderr: str
18
+
19
+ stdout: str
20
+
21
+ type: Literal["bash_code_execution_result"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_cache_creation.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from ..._models import BaseModel
4
+
5
+ __all__ = ["BetaCacheCreation"]
6
+
7
+
8
+ class BetaCacheCreation(BaseModel):
9
+ ephemeral_1h_input_tokens: int
10
+ """The number of input tokens used to create the 1 hour cache entry."""
11
+
12
+ ephemeral_5m_input_tokens: int
13
+ """The number of input tokens used to create the 5 minute cache entry."""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citation_char_location.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+
8
+ __all__ = ["BetaCitationCharLocation"]
9
+
10
+
11
+ class BetaCitationCharLocation(BaseModel):
12
+ cited_text: str
13
+
14
+ document_index: int
15
+
16
+ document_title: Optional[str] = None
17
+
18
+ end_char_index: int
19
+
20
+ file_id: Optional[str] = None
21
+
22
+ start_char_index: int
23
+
24
+ type: Literal["char_location"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citation_content_block_location.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+
8
+ __all__ = ["BetaCitationContentBlockLocation"]
9
+
10
+
11
+ class BetaCitationContentBlockLocation(BaseModel):
12
+ cited_text: str
13
+
14
+ document_index: int
15
+
16
+ document_title: Optional[str] = None
17
+
18
+ end_block_index: int
19
+
20
+ file_id: Optional[str] = None
21
+
22
+ start_block_index: int
23
+
24
+ type: Literal["content_block_location"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citation_page_location.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+
8
+ __all__ = ["BetaCitationPageLocation"]
9
+
10
+
11
+ class BetaCitationPageLocation(BaseModel):
12
+ cited_text: str
13
+
14
+ document_index: int
15
+
16
+ document_title: Optional[str] = None
17
+
18
+ end_page_number: int
19
+
20
+ file_id: Optional[str] = None
21
+
22
+ start_page_number: int
23
+
24
+ type: Literal["page_location"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citation_search_result_location.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+
8
+ __all__ = ["BetaCitationSearchResultLocation"]
9
+
10
+
11
+ class BetaCitationSearchResultLocation(BaseModel):
12
+ cited_text: str
13
+
14
+ end_block_index: int
15
+
16
+ search_result_index: int
17
+
18
+ source: str
19
+
20
+ start_block_index: int
21
+
22
+ title: Optional[str] = None
23
+
24
+ type: Literal["search_result_location"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citation_web_search_result_location_param.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Optional
6
+ from typing_extensions import Literal, Required, TypedDict
7
+
8
+ __all__ = ["BetaCitationWebSearchResultLocationParam"]
9
+
10
+
11
+ class BetaCitationWebSearchResultLocationParam(TypedDict, total=False):
12
+ cited_text: Required[str]
13
+
14
+ encrypted_index: Required[str]
15
+
16
+ title: Required[Optional[str]]
17
+
18
+ type: Required[Literal["web_search_result_location"]]
19
+
20
+ url: Required[str]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citations_config_param.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import TypedDict
6
+
7
+ __all__ = ["BetaCitationsConfigParam"]
8
+
9
+
10
+ class BetaCitationsConfigParam(TypedDict, total=False):
11
+ enabled: bool
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_citations_delta.py ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Union
4
+ from typing_extensions import Literal, Annotated, TypeAlias
5
+
6
+ from ..._utils import PropertyInfo
7
+ from ..._models import BaseModel
8
+ from .beta_citation_char_location import BetaCitationCharLocation
9
+ from .beta_citation_page_location import BetaCitationPageLocation
10
+ from .beta_citation_content_block_location import BetaCitationContentBlockLocation
11
+ from .beta_citation_search_result_location import BetaCitationSearchResultLocation
12
+ from .beta_citations_web_search_result_location import BetaCitationsWebSearchResultLocation
13
+
14
+ __all__ = ["BetaCitationsDelta", "Citation"]
15
+
16
+ Citation: TypeAlias = Annotated[
17
+ Union[
18
+ BetaCitationCharLocation,
19
+ BetaCitationPageLocation,
20
+ BetaCitationContentBlockLocation,
21
+ BetaCitationsWebSearchResultLocation,
22
+ BetaCitationSearchResultLocation,
23
+ ],
24
+ PropertyInfo(discriminator="type"),
25
+ ]
26
+
27
+
28
+ class BetaCitationsDelta(BaseModel):
29
+ citation: Citation
30
+
31
+ type: Literal["citations_delta"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_param.py ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union, Optional
6
+ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
+
8
+ from ..._types import SequenceNotStr
9
+ from .beta_tool_uses_keep_param import BetaToolUsesKeepParam
10
+ from .beta_tool_uses_trigger_param import BetaToolUsesTriggerParam
11
+ from .beta_input_tokens_trigger_param import BetaInputTokensTriggerParam
12
+ from .beta_input_tokens_clear_at_least_param import BetaInputTokensClearAtLeastParam
13
+
14
+ __all__ = ["BetaClearToolUses20250919EditParam", "Trigger"]
15
+
16
+ Trigger: TypeAlias = Union[BetaInputTokensTriggerParam, BetaToolUsesTriggerParam]
17
+
18
+
19
+ class BetaClearToolUses20250919EditParam(TypedDict, total=False):
20
+ type: Required[Literal["clear_tool_uses_20250919"]]
21
+
22
+ clear_at_least: Optional[BetaInputTokensClearAtLeastParam]
23
+ """Minimum number of tokens that must be cleared when triggered.
24
+
25
+ Context will only be modified if at least this many tokens can be removed.
26
+ """
27
+
28
+ clear_tool_inputs: Union[bool, SequenceNotStr[str], None]
29
+ """Whether to clear all tool inputs (bool) or specific tool inputs to clear (list)"""
30
+
31
+ exclude_tools: Optional[SequenceNotStr[str]]
32
+ """Tool names whose uses are preserved from clearing"""
33
+
34
+ keep: BetaToolUsesKeepParam
35
+ """Number of tool uses to retain in the conversation"""
36
+
37
+ trigger: Trigger
38
+ """Condition that triggers the context management strategy"""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_code_execution_output_block.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ..._models import BaseModel
6
+
7
+ __all__ = ["BetaCodeExecutionOutputBlock"]
8
+
9
+
10
+ class BetaCodeExecutionOutputBlock(BaseModel):
11
+ file_id: str
12
+
13
+ type: Literal["code_execution_output"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_code_execution_result_block_param.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Iterable
6
+ from typing_extensions import Literal, Required, TypedDict
7
+
8
+ from .beta_code_execution_output_block_param import BetaCodeExecutionOutputBlockParam
9
+
10
+ __all__ = ["BetaCodeExecutionResultBlockParam"]
11
+
12
+
13
+ class BetaCodeExecutionResultBlockParam(TypedDict, total=False):
14
+ content: Required[Iterable[BetaCodeExecutionOutputBlockParam]]
15
+
16
+ return_code: Required[int]
17
+
18
+ stderr: Required[str]
19
+
20
+ stdout: Required[str]
21
+
22
+ type: Required[Literal["code_execution_result"]]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_code_execution_tool_20250522_param.py ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import List, Optional
6
+ from typing_extensions import Literal, Required, TypedDict
7
+
8
+ from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam
9
+
10
+ __all__ = ["BetaCodeExecutionTool20250522Param"]
11
+
12
+
13
+ class BetaCodeExecutionTool20250522Param(TypedDict, total=False):
14
+ name: Required[Literal["code_execution"]]
15
+ """Name of the tool.
16
+
17
+ This is how the tool will be called by the model and in `tool_use` blocks.
18
+ """
19
+
20
+ type: Required[Literal["code_execution_20250522"]]
21
+
22
+ allowed_callers: List[Literal["direct", "code_execution_20250825", "code_execution_20260120"]]
23
+
24
+ cache_control: Optional[BetaCacheControlEphemeralParam]
25
+ """Create a cache control breakpoint at this content block."""
26
+
27
+ defer_loading: bool
28
+ """If true, tool will not be included in initial system prompt.
29
+
30
+ Only loaded when returned via tool_reference from tool search.
31
+ """
32
+
33
+ strict: bool
34
+ """When true, guarantees schema validation on tool names and inputs"""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_code_execution_tool_result_block.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ..._models import BaseModel
6
+ from .beta_code_execution_tool_result_block_content import BetaCodeExecutionToolResultBlockContent
7
+
8
+ __all__ = ["BetaCodeExecutionToolResultBlock"]
9
+
10
+
11
+ class BetaCodeExecutionToolResultBlock(BaseModel):
12
+ content: BetaCodeExecutionToolResultBlockContent
13
+ """Code execution result with encrypted stdout for PFC + web_search results."""
14
+
15
+ tool_use_id: str
16
+
17
+ type: Literal["code_execution_tool_result"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_code_execution_tool_result_block_param_content_param.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union
6
+ from typing_extensions import TypeAlias
7
+
8
+ from .beta_code_execution_result_block_param import BetaCodeExecutionResultBlockParam
9
+ from .beta_code_execution_tool_result_error_param import BetaCodeExecutionToolResultErrorParam
10
+ from .beta_encrypted_code_execution_result_block_param import BetaEncryptedCodeExecutionResultBlockParam
11
+
12
+ __all__ = ["BetaCodeExecutionToolResultBlockParamContentParam"]
13
+
14
+ BetaCodeExecutionToolResultBlockParamContentParam: TypeAlias = Union[
15
+ BetaCodeExecutionToolResultErrorParam, BetaCodeExecutionResultBlockParam, BetaEncryptedCodeExecutionResultBlockParam
16
+ ]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_compaction_block.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+
8
+ __all__ = ["BetaCompactionBlock"]
9
+
10
+
11
+ class BetaCompactionBlock(BaseModel):
12
+ """A compaction block returned when autocompact is triggered.
13
+
14
+ When content is None, it indicates the compaction failed to produce a valid
15
+ summary (e.g., malformed output from the model). Clients may round-trip
16
+ compaction blocks with null content; the server treats them as no-ops.
17
+ """
18
+
19
+ content: Optional[str] = None
20
+ """Summary of compacted content, or null if compaction failed"""
21
+
22
+ type: Literal["compaction"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_compaction_iteration_usage.py ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+ from .beta_cache_creation import BetaCacheCreation
8
+
9
+ __all__ = ["BetaCompactionIterationUsage"]
10
+
11
+
12
+ class BetaCompactionIterationUsage(BaseModel):
13
+ """Token usage for a compaction iteration."""
14
+
15
+ cache_creation: Optional[BetaCacheCreation] = None
16
+ """Breakdown of cached tokens by TTL"""
17
+
18
+ cache_creation_input_tokens: int
19
+ """The number of input tokens used to create the cache entry."""
20
+
21
+ cache_read_input_tokens: int
22
+ """The number of input tokens read from the cache."""
23
+
24
+ input_tokens: int
25
+ """The number of input tokens which were used."""
26
+
27
+ output_tokens: int
28
+ """The number of output tokens which were used."""
29
+
30
+ type: Literal["compaction"]
31
+ """Usage for a compaction iteration"""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_container_params.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Iterable, Optional
6
+ from typing_extensions import TypedDict
7
+
8
+ from .beta_skill_params import BetaSkillParams
9
+
10
+ __all__ = ["BetaContainerParams"]
11
+
12
+
13
+ class BetaContainerParams(TypedDict, total=False):
14
+ """Container parameters with skills to be loaded."""
15
+
16
+ id: Optional[str]
17
+ """Container id"""
18
+
19
+ skills: Optional[Iterable[BetaSkillParams]]
20
+ """List of skills to load in the container"""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_container_upload_block.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ..._models import BaseModel
6
+
7
+ __all__ = ["BetaContainerUploadBlock"]
8
+
9
+
10
+ class BetaContainerUploadBlock(BaseModel):
11
+ """Response model for a file uploaded to the container."""
12
+
13
+ file_id: str
14
+
15
+ type: Literal["container_upload"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_content_block_param.py ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union
6
+ from typing_extensions import TypeAlias
7
+
8
+ from .beta_content_block import BetaContentBlock
9
+ from .beta_text_block_param import BetaTextBlockParam
10
+ from .beta_image_block_param import BetaImageBlockParam
11
+ from .beta_thinking_block_param import BetaThinkingBlockParam
12
+ from .beta_tool_use_block_param import BetaToolUseBlockParam
13
+ from .beta_compaction_block_param import BetaCompactionBlockParam
14
+ from .beta_tool_result_block_param import BetaToolResultBlockParam
15
+ from .beta_mcp_tool_use_block_param import BetaMCPToolUseBlockParam
16
+ from .beta_search_result_block_param import BetaSearchResultBlockParam
17
+ from .beta_server_tool_use_block_param import BetaServerToolUseBlockParam
18
+ from .beta_container_upload_block_param import BetaContainerUploadBlockParam
19
+ from .beta_request_document_block_param import BetaRequestDocumentBlockParam
20
+ from .beta_redacted_thinking_block_param import BetaRedactedThinkingBlockParam
21
+ from .beta_web_fetch_tool_result_block_param import BetaWebFetchToolResultBlockParam
22
+ from .beta_web_search_tool_result_block_param import BetaWebSearchToolResultBlockParam
23
+ from .beta_request_mcp_tool_result_block_param import BetaRequestMCPToolResultBlockParam
24
+ from .beta_tool_search_tool_result_block_param import BetaToolSearchToolResultBlockParam
25
+ from .beta_code_execution_tool_result_block_param import BetaCodeExecutionToolResultBlockParam
26
+ from .beta_bash_code_execution_tool_result_block_param import BetaBashCodeExecutionToolResultBlockParam
27
+ from .beta_text_editor_code_execution_tool_result_block_param import BetaTextEditorCodeExecutionToolResultBlockParam
28
+
29
+ __all__ = ["BetaContentBlockParam"]
30
+
31
+ BetaContentBlockParam: TypeAlias = Union[
32
+ BetaTextBlockParam,
33
+ BetaImageBlockParam,
34
+ BetaRequestDocumentBlockParam,
35
+ BetaSearchResultBlockParam,
36
+ BetaThinkingBlockParam,
37
+ BetaRedactedThinkingBlockParam,
38
+ BetaToolUseBlockParam,
39
+ BetaToolResultBlockParam,
40
+ BetaServerToolUseBlockParam,
41
+ BetaWebSearchToolResultBlockParam,
42
+ BetaWebFetchToolResultBlockParam,
43
+ BetaCodeExecutionToolResultBlockParam,
44
+ BetaBashCodeExecutionToolResultBlockParam,
45
+ BetaTextEditorCodeExecutionToolResultBlockParam,
46
+ BetaToolSearchToolResultBlockParam,
47
+ BetaMCPToolUseBlockParam,
48
+ BetaRequestMCPToolResultBlockParam,
49
+ BetaContainerUploadBlockParam,
50
+ BetaCompactionBlockParam,
51
+ BetaContentBlock,
52
+ ]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_context_management_config_param.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union, Iterable
6
+ from typing_extensions import TypeAlias, TypedDict
7
+
8
+ from .beta_compact_20260112_edit_param import BetaCompact20260112EditParam
9
+ from .beta_clear_thinking_20251015_edit_param import BetaClearThinking20251015EditParam
10
+ from .beta_clear_tool_uses_20250919_edit_param import BetaClearToolUses20250919EditParam
11
+
12
+ __all__ = ["BetaContextManagementConfigParam", "Edit"]
13
+
14
+ Edit: TypeAlias = Union[
15
+ BetaClearToolUses20250919EditParam, BetaClearThinking20251015EditParam, BetaCompact20260112EditParam
16
+ ]
17
+
18
+
19
+ class BetaContextManagementConfigParam(TypedDict, total=False):
20
+ edits: Iterable[Edit]
21
+ """List of context management edits to apply"""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_context_management_response.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Union
4
+ from typing_extensions import Annotated, TypeAlias
5
+
6
+ from ..._utils import PropertyInfo
7
+ from ..._models import BaseModel
8
+ from .beta_clear_thinking_20251015_edit_response import BetaClearThinking20251015EditResponse
9
+ from .beta_clear_tool_uses_20250919_edit_response import BetaClearToolUses20250919EditResponse
10
+
11
+ __all__ = ["BetaContextManagementResponse", "AppliedEdit"]
12
+
13
+ AppliedEdit: TypeAlias = Annotated[
14
+ Union[BetaClearToolUses20250919EditResponse, BetaClearThinking20251015EditResponse],
15
+ PropertyInfo(discriminator="type"),
16
+ ]
17
+
18
+
19
+ class BetaContextManagementResponse(BaseModel):
20
+ applied_edits: List[AppliedEdit]
21
+ """List of context management edits that were applied."""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_direct_caller.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ..._models import BaseModel
6
+
7
+ __all__ = ["BetaDirectCaller"]
8
+
9
+
10
+ class BetaDirectCaller(BaseModel):
11
+ """Tool invocation directly from the model."""
12
+
13
+ type: Literal["direct"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_file_image_source_param.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ __all__ = ["BetaFileImageSourceParam"]
8
+
9
+
10
+ class BetaFileImageSourceParam(TypedDict, total=False):
11
+ file_id: Required[str]
12
+
13
+ type: Required[Literal["file"]]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_input_json_delta.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ..._models import BaseModel
6
+
7
+ __all__ = ["BetaInputJSONDelta"]
8
+
9
+
10
+ class BetaInputJSONDelta(BaseModel):
11
+ partial_json: str
12
+
13
+ type: Literal["input_json_delta"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_input_tokens_clear_at_least_param.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ __all__ = ["BetaInputTokensClearAtLeastParam"]
8
+
9
+
10
+ class BetaInputTokensClearAtLeastParam(TypedDict, total=False):
11
+ type: Required[Literal["input_tokens"]]
12
+
13
+ value: Required[int]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_mcp_tool_use_block.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Dict
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+
8
+ __all__ = ["BetaMCPToolUseBlock"]
9
+
10
+
11
+ class BetaMCPToolUseBlock(BaseModel):
12
+ id: str
13
+
14
+ input: Dict[str, object]
15
+
16
+ name: str
17
+ """The name of the MCP tool"""
18
+
19
+ server_name: str
20
+ """The name of the MCP server"""
21
+
22
+ type: Literal["mcp_tool_use"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_memory_tool_20250818_str_replace_command.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ..._models import BaseModel
6
+
7
+ __all__ = ["BetaMemoryTool20250818StrReplaceCommand"]
8
+
9
+
10
+ class BetaMemoryTool20250818StrReplaceCommand(BaseModel):
11
+ command: Literal["str_replace"]
12
+ """Command type identifier"""
13
+
14
+ new_str: str
15
+ """Text to replace with"""
16
+
17
+ old_str: str
18
+ """Text to search for and replace"""
19
+
20
+ path: str
21
+ """Path to the file where text should be replaced"""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_memory_tool_20250818_view_command.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+
8
+ __all__ = ["BetaMemoryTool20250818ViewCommand"]
9
+
10
+
11
+ class BetaMemoryTool20250818ViewCommand(BaseModel):
12
+ command: Literal["view"]
13
+ """Command type identifier"""
14
+
15
+ path: str
16
+ """Path to directory or file to view"""
17
+
18
+ view_range: Optional[List[int]] = None
19
+ """Optional line range for viewing specific lines"""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_message_delta_usage.py ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+
5
+ from ..._models import BaseModel
6
+ from .beta_iterations_usage import BetaIterationsUsage
7
+ from .beta_server_tool_usage import BetaServerToolUsage
8
+
9
+ __all__ = ["BetaMessageDeltaUsage"]
10
+
11
+
12
+ class BetaMessageDeltaUsage(BaseModel):
13
+ cache_creation_input_tokens: Optional[int] = None
14
+ """The cumulative number of input tokens used to create the cache entry."""
15
+
16
+ cache_read_input_tokens: Optional[int] = None
17
+ """The cumulative number of input tokens read from the cache."""
18
+
19
+ input_tokens: Optional[int] = None
20
+ """The cumulative number of input tokens which were used."""
21
+
22
+ iterations: Optional[BetaIterationsUsage] = None
23
+ """Per-iteration token usage breakdown.
24
+
25
+ Each entry represents one sampling iteration, with its own input/output token
26
+ counts and cache statistics. This allows you to:
27
+
28
+ - Determine which iterations exceeded long context thresholds (>=200k tokens)
29
+ - Calculate the true context window size from the last iteration
30
+ - Understand token accumulation across server-side tool use loops
31
+ """
32
+
33
+ output_tokens: int
34
+ """The cumulative number of output tokens which were used."""
35
+
36
+ server_tool_use: Optional[BetaServerToolUsage] = None
37
+ """The number of server tool requests."""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_message_param.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union, Iterable
6
+ from typing_extensions import Literal, Required, TypedDict
7
+
8
+ from .beta_content_block_param import BetaContentBlockParam
9
+
10
+ __all__ = ["BetaMessageParam"]
11
+
12
+
13
+ class BetaMessageParam(TypedDict, total=False):
14
+ content: Required[Union[str, Iterable[BetaContentBlockParam]]]
15
+
16
+ role: Required[Literal["user", "assistant"]]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_model_capabilities.py ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from ..._models import BaseModel
4
+ from .beta_effort_capability import BetaEffortCapability
5
+ from .beta_capability_support import BetaCapabilitySupport
6
+ from .beta_thinking_capability import BetaThinkingCapability
7
+ from .beta_context_management_capability import BetaContextManagementCapability
8
+
9
+ __all__ = ["BetaModelCapabilities"]
10
+
11
+
12
+ class BetaModelCapabilities(BaseModel):
13
+ """Model capability information."""
14
+
15
+ batch: BetaCapabilitySupport
16
+ """Whether the model supports the Batch API."""
17
+
18
+ citations: BetaCapabilitySupport
19
+ """Whether the model supports citation generation."""
20
+
21
+ code_execution: BetaCapabilitySupport
22
+ """Whether the model supports code execution tools."""
23
+
24
+ context_management: BetaContextManagementCapability
25
+ """Context management support and available strategies."""
26
+
27
+ effort: BetaEffortCapability
28
+ """Effort (reasoning_effort) support and available levels."""
29
+
30
+ image_input: BetaCapabilitySupport
31
+ """Whether the model accepts image content blocks."""
32
+
33
+ pdf_input: BetaCapabilitySupport
34
+ """Whether the model accepts PDF content blocks."""
35
+
36
+ structured_outputs: BetaCapabilitySupport
37
+ """Whether the model supports structured output / JSON mode / strict tool schemas."""
38
+
39
+ thinking: BetaThinkingCapability
40
+ """Thinking capability and supported type configurations."""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_model_info.py ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from ..._models import BaseModel
8
+ from .beta_model_capabilities import BetaModelCapabilities
9
+
10
+ __all__ = ["BetaModelInfo"]
11
+
12
+
13
+ class BetaModelInfo(BaseModel):
14
+ id: str
15
+ """Unique model identifier."""
16
+
17
+ capabilities: Optional[BetaModelCapabilities] = None
18
+ """Model capability information."""
19
+
20
+ created_at: datetime
21
+ """RFC 3339 datetime string representing the time at which the model was released.
22
+
23
+ May be set to an epoch value if the release date is unknown.
24
+ """
25
+
26
+ display_name: str
27
+ """A human-readable name for the model."""
28
+
29
+ max_input_tokens: Optional[int] = None
30
+ """Maximum input context window size in tokens for this model."""
31
+
32
+ max_tokens: Optional[int] = None
33
+ """Maximum value for the `max_tokens` parameter when using this model."""
34
+
35
+ type: Literal["model"]
36
+ """Object type.
37
+
38
+ For Models, this is always `"model"`.
39
+ """
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_output_config_param.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Optional
6
+ from typing_extensions import Literal, TypedDict
7
+
8
+ from .beta_json_output_format_param import BetaJSONOutputFormatParam
9
+
10
+ __all__ = ["BetaOutputConfigParam"]
11
+
12
+
13
+ class BetaOutputConfigParam(TypedDict, total=False):
14
+ effort: Optional[Literal["low", "medium", "high", "max"]]
15
+ """All possible effort levels."""
16
+
17
+ format: Optional[BetaJSONOutputFormatParam]
18
+ """A schema to specify Claude's output format in responses.
19
+
20
+ See
21
+ [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs)
22
+ """
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_raw_message_start_event.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ..._models import BaseModel
6
+ from .beta_message import BetaMessage
7
+
8
+ __all__ = ["BetaRawMessageStartEvent"]
9
+
10
+
11
+ class BetaRawMessageStartEvent(BaseModel):
12
+ message: BetaMessage
13
+
14
+ type: Literal["message_start"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_redacted_thinking_block.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ..._models import BaseModel
6
+
7
+ __all__ = ["BetaRedactedThinkingBlock"]
8
+
9
+
10
+ class BetaRedactedThinkingBlock(BaseModel):
11
+ data: str
12
+
13
+ type: Literal["redacted_thinking"]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_request_mcp_server_url_definition_param.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Optional
6
+ from typing_extensions import Literal, Required, TypedDict
7
+
8
+ from .beta_request_mcp_server_tool_configuration_param import BetaRequestMCPServerToolConfigurationParam
9
+
10
+ __all__ = ["BetaRequestMCPServerURLDefinitionParam"]
11
+
12
+
13
+ class BetaRequestMCPServerURLDefinitionParam(TypedDict, total=False):
14
+ name: Required[str]
15
+
16
+ type: Required[Literal["url"]]
17
+
18
+ url: Required[str]
19
+
20
+ authorization_token: Optional[str]
21
+
22
+ tool_configuration: Optional[BetaRequestMCPServerToolConfigurationParam]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_request_mcp_tool_result_block_param.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union, Iterable, Optional
6
+ from typing_extensions import Literal, Required, TypedDict
7
+
8
+ from .beta_text_block_param import BetaTextBlockParam
9
+ from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam
10
+
11
+ __all__ = ["BetaRequestMCPToolResultBlockParam"]
12
+
13
+
14
+ class BetaRequestMCPToolResultBlockParam(TypedDict, total=False):
15
+ tool_use_id: Required[str]
16
+
17
+ type: Required[Literal["mcp_tool_result"]]
18
+
19
+ cache_control: Optional[BetaCacheControlEphemeralParam]
20
+ """Create a cache control breakpoint at this content block."""
21
+
22
+ content: Union[str, Iterable[BetaTextBlockParam]]
23
+
24
+ is_error: bool
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_server_tool_caller_20260120_param.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ __all__ = ["BetaServerToolCaller20260120Param"]
8
+
9
+
10
+ class BetaServerToolCaller20260120Param(TypedDict, total=False):
11
+ tool_id: Required[str]
12
+
13
+ type: Required[Literal["code_execution_20260120"]]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_server_tool_usage.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from ..._models import BaseModel
4
+
5
+ __all__ = ["BetaServerToolUsage"]
6
+
7
+
8
+ class BetaServerToolUsage(BaseModel):
9
+ web_fetch_requests: int
10
+ """The number of web fetch tool requests."""
11
+
12
+ web_search_requests: int
13
+ """The number of web search tool requests."""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_skill.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ..._models import BaseModel
6
+
7
+ __all__ = ["BetaSkill"]
8
+
9
+
10
+ class BetaSkill(BaseModel):
11
+ """A skill that was loaded in a container (response model)."""
12
+
13
+ skill_id: str
14
+ """Skill ID"""
15
+
16
+ type: Literal["anthropic", "custom"]
17
+ """Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)"""
18
+
19
+ version: str
20
+ """Skill version or 'latest' for most recent version"""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_skill_params.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ __all__ = ["BetaSkillParams"]
8
+
9
+
10
+ class BetaSkillParams(TypedDict, total=False):
11
+ """Specification for a skill to be loaded in a container (request model)."""
12
+
13
+ skill_id: Required[str]
14
+ """Skill ID"""
15
+
16
+ type: Required[Literal["anthropic", "custom"]]
17
+ """Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)"""
18
+
19
+ version: str
20
+ """Skill version or 'latest' for most recent version"""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_text_block_param.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Iterable, Optional
6
+ from typing_extensions import Literal, Required, TypedDict
7
+
8
+ from .beta_text_citation_param import BetaTextCitationParam
9
+ from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam
10
+
11
+ __all__ = ["BetaTextBlockParam"]
12
+
13
+
14
+ class BetaTextBlockParam(TypedDict, total=False):
15
+ text: Required[str]
16
+
17
+ type: Required[Literal["text"]]
18
+
19
+ cache_control: Optional[BetaCacheControlEphemeralParam]
20
+ """Create a cache control breakpoint at this content block."""
21
+
22
+ citations: Optional[Iterable[BetaTextCitationParam]]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_thinking_capability.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from ..._models import BaseModel
4
+ from .beta_thinking_types import BetaThinkingTypes
5
+
6
+ __all__ = ["BetaThinkingCapability"]
7
+
8
+
9
+ class BetaThinkingCapability(BaseModel):
10
+ """Thinking capability details."""
11
+
12
+ supported: bool
13
+ """Whether this capability is supported by the model."""
14
+
15
+ types: BetaThinkingTypes
16
+ """Supported thinking type configurations."""
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_thinking_config_adaptive_param.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Optional
6
+ from typing_extensions import Literal, Required, TypedDict
7
+
8
+ __all__ = ["BetaThinkingConfigAdaptiveParam"]
9
+
10
+
11
+ class BetaThinkingConfigAdaptiveParam(TypedDict, total=False):
12
+ type: Required[Literal["adaptive"]]
13
+
14
+ display: Optional[Literal["summarized", "omitted"]]
15
+ """Controls how thinking content appears in the response.
16
+
17
+ When set to `summarized`, thinking is returned normally. When set to `omitted`,
18
+ thinking content is redacted but a signature is returned for multi-turn
19
+ continuity. Defaults to `summarized`.
20
+ """
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_thinking_config_disabled_param.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ __all__ = ["BetaThinkingConfigDisabledParam"]
8
+
9
+
10
+ class BetaThinkingConfigDisabledParam(TypedDict, total=False):
11
+ type: Required[Literal["disabled"]]
data/conda_envs/openunlearning_2506/lib/python3.11/site-packages/anthropic/types/beta/beta_thinking_config_enabled_param.py ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Optional
6
+ from typing_extensions import Literal, Required, TypedDict
7
+
8
+ __all__ = ["BetaThinkingConfigEnabledParam"]
9
+
10
+
11
+ class BetaThinkingConfigEnabledParam(TypedDict, total=False):
12
+ budget_tokens: Required[int]
13
+ """Determines how many tokens Claude can use for its internal reasoning process.
14
+
15
+ Larger budgets can enable more thorough analysis for complex problems, improving
16
+ response quality.
17
+
18
+ Must be ≥1024 and less than `max_tokens`.
19
+
20
+ See
21
+ [extended thinking](https://docs.claude.com/en/docs/build-with-claude/extended-thinking)
22
+ for details.
23
+ """
24
+
25
+ type: Required[Literal["enabled"]]
26
+
27
+ display: Optional[Literal["summarized", "omitted"]]
28
+ """Controls how thinking content appears in the response.
29
+
30
+ When set to `summarized`, thinking is returned normally. When set to `omitted`,
31
+ thinking content is redacted but a signature is returned for multi-turn
32
+ continuity. Defaults to `summarized`.
33
+ """