Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,274 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,274
◇
Types & classes
3,937
↳
Endpoints
46
Method
close_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
src/anthropic/lib/tools/_toolsets/_browser.py:437
Method
close_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
src/anthropic/lib/tools/_toolsets/_browser.py:689
Method
close_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
tests/lib/tools/toolsets/_fakes.py:224
Method
close_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
tests/lib/tools/toolsets/_fakes.py:300
Method
closed
Whether the underlying bash process has exited / been torn down. Inverse of "alive". Named `closed` (not `alive`) to match the TS `Ba
src/anthropic/lib/tools/agent_toolset.py:498
Method
collect_items
(dir_path: Path, relative_path: str, depth: int)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:429
Method
collect_items
(dir_path: AsyncPath, relative_path: str, depth: int)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:719
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:198
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:319
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:447
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:528
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:609
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:690
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:158
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:258
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:365
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:426
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:487
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:548
Function
computed_field
(func: Any | None = None, /, **__: Any)
src/anthropic/_models.py:1040
Function
config_dir
(tmp_path: pathlib.Path, monkeypatch: pytest.MonkeyPatch)
tests/lib/test_client_copy.py:220
Method
config_path
(self)
src/anthropic/lib/credentials/_providers.py:212
Method
configs
The wire `configs`: yours, plus `enabled: False` for every member this class does not serve — what `to_dict()` sends. A copy: nothing you do t
src/anthropic/lib/tools/_toolsets/_computer.py:127
Method
configs
The wire `configs` that `to_dict()` sends: yours, plus `enabled: False` for every member this class does not serve. A copy: nothing you do to
src/anthropic/lib/tools/_toolsets/_browser.py:192
Function
confirm
(context: BetaConfirmContext | BetaComputerConfirmContext)
tests/lib/tools/test_runner_eager_toolsets.py:127
Function
confirm
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:330
Function
confirm
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_pipeline.py:359
Function
confirm
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_enforcement.py:184
Function
confirm_context
What the `confirm` callable receives: the member and its parsed input, and the tab the call targets (named, else active) with its URL, as of the l
src/anthropic/lib/tools/_toolsets/_pipeline.py:380
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:127
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:200
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:276
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:333
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:390
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:447
Method
connectors
(self)
src/anthropic/resources/organization/analytics/analytics.py:79
Method
connectors
(self)
src/anthropic/resources/organization/analytics/analytics.py:128
Method
connectors
(self)
src/anthropic/resources/organization/analytics/analytics.py:180
Method
connectors
(self)
src/anthropic/resources/organization/analytics/analytics.py:213
Method
connectors
(self)
src/anthropic/resources/organization/analytics/analytics.py:246
Method
connectors
(self)
src/anthropic/resources/organization/analytics/analytics.py:279
Method
construct
( # type: ignore cls, _fields_set: set[str] | None = None, **values: Unpack[FinalRequ
src/anthropic/_models.py:1125
Method
copy
(self, **kwargs: Any)
src/anthropic/types/parsed_message.py:43
Method
copy
(self, **kwargs: Any)
src/anthropic/types/beta/parsed_beta_message.py:49
Method
copy
Create a new client instance re-using the same options given to the current client with optional overriding.
src/anthropic/lib/foundry.py:425
Method
copy_tools
(params: Any)
tests/lib/threads/test_tool_runner_threading.py:561
Method
copy_tools
(params: Any)
tests/lib/threads/test_async_beta_threads.py:1488
Function
coroutine
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:396
Function
coroutine
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:428
Function
coroutine
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:206
Method
cost
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:147
Method
cost
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:220
Method
cost
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:296
Method
cost
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:353
Method
cost
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:410
Method
cost
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:467
Method
cost_report
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:159
Method
cost_report
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:232
Method
cost_report
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:308
Method
cost_report
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:365
Method
cost_report
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:422
Method
cost_report
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:479
Function
count_tokens
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:591
Method
count_tokens
Count the number of tokens in a Message. The Token Count API can be used to count the number of tokens in a Message, includi
src/anthropic/resources/beta/messages/messages.py:2092
Method
count_tokens
Count the number of tokens in a Message. The Token Count API can be used to count the number of tokens in a Message, includi
src/anthropic/resources/beta/messages/messages.py:4424
Method
count_tokens
Count the number of tokens in a Message. The Token Count API can be used to count the number of tokens in a Message, includi
src/anthropic/resources/messages/messages.py:3361
Function
counting
(**kwargs: Any)
tests/test_open_telemetry.py:828
Function
counting_hash
(path: Path)
tests/lib/tools/test_file_store.py:250
Method
create
Create Action URL Args: user_profile_id: The ID of the user profile the action is for (`uprof_...`). action: Th
src/anthropic/resources/user_profiles/action_urls.py:42
Method
create
Create Action URL Args: user_profile_id: The ID of the user profile the action is for (`uprof_...`). action: Th
src/anthropic/resources/user_profiles/action_urls.py:117
Method
create
Create User Profile Args: access_type: How the platform uses the API for this entity. `application` (default): the
src/anthropic/resources/user_profiles/user_profiles.py:68
Method
create
Create User Profile Args: access_type: How the platform uses the API for this entity. `application` (default): the
src/anthropic/resources/user_profiles/user_profiles.py:424
Method
create
Start an asynchronous job that uses past sessions to produce a reorganized version of a memory store and get back the dream to poll f
src/anthropic/resources/beta/dreams.py:496
Method
create
Create Deployment Args: agent: Agent to deploy. Accepts the `agent` ID string, which pins the latest version,
src/anthropic/resources/beta/deployments.py:60
Method
create
Create Deployment Args: agent: Agent to deploy. Accepts the `agent` ID string, which pins the latest version,
src/anthropic/resources/beta/deployments.py:739
Method
create
Create a new environment with the specified configuration. Args: name: Human-readable name for the environment
src/anthropic/resources/beta/environments/environments.py:61
Method
create
Create a new environment with the specified configuration. Args: name: Human-readable name for the environment
src/anthropic/resources/beta/environments/environments.py:565
Method
create
Create Session Args: agent: Agent identifier. Accepts the `agent` ID string, which pins the latest version f
src/anthropic/resources/beta/sessions/sessions.py:91
Method
create
Create Session Args: agent: Agent identifier. Accepts the `agent` ID string, which pins the latest version f
src/anthropic/resources/beta/sessions/sessions.py:635
Method
create
Create a Credential Args: vault_id: Identifier of the vault to create the credential in. auth: Authentication c
src/anthropic/resources/beta/vaults/credentials.py:49
Method
create
Create a Credential Args: vault_id: Identifier of the vault to create the credential in. auth: Authentication c
src/anthropic/resources/beta/vaults/credentials.py:620
Method
create
Create a Vault Args: display_name: Human-readable name for the vault. 1-255 characters. metadata: Arbitrary key
src/anthropic/resources/beta/vaults/vaults.py:59
Method
create
Create a Vault Args: display_name: Human-readable name for the vault. 1-255 characters. metadata: Arbitrary key
src/anthropic/resources/beta/vaults/vaults.py:509
Method
create
Create Action URL Args: user_profile_id: The ID of the user profile the action is for (`uprof_...`). action: Th
src/anthropic/resources/beta/user_profiles/action_urls.py:48
Method
create
Create Action URL Args: user_profile_id: The ID of the user profile the action is for (`uprof_...`). action: Th
src/anthropic/resources/beta/user_profiles/action_urls.py:138
Method
create
Create User Profile Args: access_type: How the platform uses the API for this entity. `application` (default): the
src/anthropic/resources/beta/user_profiles/user_profiles.py:66
Method
create
Create User Profile Args: access_type: How the platform uses the API for this entity. `application` (default): the
src/anthropic/resources/beta/user_profiles/user_profiles.py:603
Method
create
Send a batch of Message creation requests. The Message Batches API can be used to process multiple Messages API requests at
src/anthropic/resources/beta/messages/batches.py:51
Method
create
Send a batch of Message creation requests. The Message Batches API can be used to process multiple Messages API requests at
src/anthropic/resources/beta/messages/batches.py:555
Method
create
Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversa
src/anthropic/resources/beta/messages/messages.py:126
Method
create
Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversa
src/anthropic/resources/beta/messages/messages.py:2458
Method
create
Create an external key config owned by the caller's organization. Args: provider_config: KMS provider identity and auth co
src/anthropic/resources/beta/organization/external_keys.py:48
Method
create
Create an external key config owned by the caller's organization. Args: provider_config: KMS provider identity and auth co
src/anthropic/resources/beta/organization/external_keys.py:394
Method
create
Invite a user to join the organization by email. On plans that draw members from a finite pool of purchased seats, the invite
src/anthropic/resources/beta/organization/invites.py:46
Method
create
Invite a user to join the organization by email. On plans that draw members from a finite pool of purchased seats, the invite
src/anthropic/resources/beta/organization/invites.py:310
Method
create
Create an organization webhook endpoint. An organization webhook endpoint belongs to the organization rather than to one of
src/anthropic/resources/beta/organization/webhooks.py:54
Method
create
Create an organization webhook endpoint. An organization webhook endpoint belongs to the organization rather than to one of
src/anthropic/resources/beta/organization/webhooks.py:560
Method
create
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/beta/organization/federation/issuers.py:46
Method
create
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/beta/organization/federation/issuers.py:449
Method
create
**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federat
src/anthropic/resources/beta/organization/federation/rules/rules.py:59
← previous
next →
3,201–3,300 of 12,274, ranked by callers