MCPcopy Create free account

hub / github.com/anthropics/anthropic-sdk-python / functions

Functions12,274 in github.com/anthropics/anthropic-sdk-python

Functiontest_zip_non_unix_host_type_bits_are_plain_data
Only a Unix creator host makes `external_attr` a mode; the same bits from a FAT/NTFS archiver describe an ordinary file.
tests/lib/tools/test_skills.py:329
Functiontest_zip_preserves_executable_bit
(tmp_path: Path)
tests/lib/tools/test_skills.py:206
Functiontest_zip_unix_directory_bits_without_trailing_slash_make_a_directory
(tmp_path: Path)
tests/lib/tools/test_skills.py:383
Functiontest_zip_unix_special_entries_are_skipped_not_written_as_files
(tmp_path: Path)
tests/lib/tools/test_skills.py:310
Functiontest_zip_without_unix_attrs_is_not_executable
(tmp_path: Path)
tests/lib/tools/test_skills.py:226
Methodtext
Read and decode the response content into a string.
src/anthropic/_response.py:371
Methodtext
Read and decode the response content into a string.
src/anthropic/_response.py:484
Methodthread
Start a message thread: a conversation the server holds between turns, so each request sends only the new messages. Takes the arguments of `cr
src/anthropic/resources/beta/messages/messages.py:4267
Methodthread_a
()
tests/lib/test_refusal_fallback.py:1063
Methodthread_b
()
tests/lib/test_refusal_fallback.py:1074
Methodthreading
Whether turns send a `thread` field at all.
src/anthropic/lib/threads/_thread_state.py:86
Methodthreads
(self)
src/anthropic/resources/beta/sessions/sessions.py:69
Methodthreads
(self)
src/anthropic/resources/beta/sessions/sessions.py:613
Methodthreads
(self)
src/anthropic/resources/beta/sessions/sessions.py:1179
Methodthreads
(self)
src/anthropic/resources/beta/sessions/sessions.py:1215
Methodthreads
(self)
src/anthropic/resources/beta/sessions/sessions.py:1251
Methodthreads
(self)
src/anthropic/resources/beta/sessions/sessions.py:1287
Functiontimed_send
(*args: Any, **kwargs: Any)
tests/lib/tools/test_session_runner.py:1227
Methodtimeout
(self)
src/anthropic/_request.py:62
Methodtimeout
(self)
src/anthropic/_base_client.py:828
Methodto_dict
(self)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:94
Methodto_dict
(self)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:207
Methodto_dict
(self)
src/anthropic/lib/tools/_beta_functions.py:191
Methodto_dict
The `tools[]` entry to send. SDK-side behaviour options never appear here.
src/anthropic/lib/tools/_toolsets/_runnable.py:96
Methodto_dict
(self)
tests/lib/tools/test_open_telemetry.py:856
Methodto_dict
(self)
tests/lib/tools/toolsets/_stubs.py:76
Methodto_param
Convert this response BetaMessage to a BetaMessageParam so it can be passed back to the API as an input message, e.g. in the `messages` param.
src/anthropic/types/beta/beta_message.py:173
Methodtoken_provider
()
tests/lib/test_azure.py:42
Methodtoken_provider
()
tests/lib/test_azure.py:272
Methodtoken_provider
()
tests/lib/test_azure.py:322
Methodtool_result
(self, tool_use: BetaToolUseBlock)
src/anthropic/lib/tools/_toolsets/_runnable.py:181
Methodtool_runner
Dispatch a self-hosted session's tool-call events. The sessions-side counterpart to `client.beta.messages.tool_runner`: returns a `an
src/anthropic/resources/beta/sessions/events.py:589
Methodtool_runner
( self, *, max_tokens: int, messages: Iterable[BetaMessageParam], mode
src/anthropic/resources/beta/messages/messages.py:4013
Methodtool_runner
( self, *, max_iterations: int | Omit = omit, stream: Literal[False] | Omit =
src/anthropic/lib/threads/_beta_threads.py:251
Methodtool_runner
( self, *, max_iterations: int | Omit = omit, stream: Literal[False] | Omit =
src/anthropic/lib/threads/_beta_threads.py:464
Methodtool_use
(index: int, name: str, **fields: object)
tests/test_open_telemetry.py:5466
Methodtool_use_id
(self)
src/anthropic/lib/tools/_toolsets/_pipeline.py:72
Methodtraceparents
(self)
tests/test_tracing.py:118
Functiontracer_provider_that_is_not_installed
A job can inherit an `OTEL_PYTHON_TRACER_PROVIDER` that names a provider its environment lacks. OpenTelemetry then raises each time it is asked f
tests/test_tracing.py:339
Methodtriple_click
(self, context: BetaToolsetCallContext, input: BetaComputerTripleClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:244
Methodtriple_click
(self, context: BetaToolsetCallContext, input: BetaComputerTripleClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:366
Methodtriple_click
(self, context: BetaToolsetCallContext, input: BetaBrowserTripleClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:357
Methodtriple_click
(self, context: BetaToolsetCallContext, input: BetaBrowserTripleClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:603
Methodtunnels
(self)
src/anthropic/resources/beta/beta.py:188
Methodtunnels
(self)
src/anthropic/resources/beta/beta.py:273
Methodtunnels
(self)
src/anthropic/resources/beta/beta.py:357
Methodtunnels
(self)
src/anthropic/resources/beta/beta.py:422
Methodtunnels
(self)
src/anthropic/resources/beta/beta.py:487
Methodtunnels
(self)
src/anthropic/resources/beta/beta.py:552
Methodtype
(self, context: BetaToolsetCallContext, input: BetaComputerTypeInput)
src/anthropic/lib/tools/_toolsets/_computer.py:212
Methodtype
(self, context: BetaToolsetCallContext, input: BetaComputerTypeInput)
src/anthropic/lib/tools/_toolsets/_computer.py:330
Methodtype
(self, context: BetaToolsetCallContext, input: BetaBrowserTypeInput)
src/anthropic/lib/tools/_toolsets/_browser.py:631
Methodtype
(self, context: BetaToolsetCallContext, input: BetaComputerTypeInput)
tests/lib/tools/toolsets/_computer_fakes.py:113
Methodtype
(self, context: BetaToolsetCallContext, input: BetaComputerTypeInput)
tests/lib/tools/toolsets/_computer_fakes.py:168
Methodundocumented
(city: str)
tests/lib/tools/test_open_telemetry.py:851
Functionunloadable_global_tracer_provider
Makes OpenTelemetry fail to load its global tracer provider, as when the environment names one that is not installed.
tests/test_open_telemetry.py:8220
Methodunpause
Unpause Deployment Args: deployment_id: Unique identifier of the deployment to unpause. betas: This endpoint is
src/anthropic/resources/beta/deployments.py:1331
Methoduntil_done
Consumes the tool runner stream and returns the last message if it has not been consumed yet. If it has, it simply returns the last m
src/anthropic/lib/tools/_beta_runner.py:760
Methoduntil_done
Consumes the tool runner stream and returns the last message if it has not been consumed yet. If it has, it simply returns the last m
src/anthropic/lib/tools/_beta_runner.py:1304
Methodunwrap
Verifies the webhook signature from the `webhook-id`, `webhook-timestamp` and `webhook-signature` headers using your webhook signing
src/anthropic/resources/beta/webhooks.py:76
Functionupdate
(params: Any)
tests/lib/tools/toolsets/test_browser_runner.py:422
Methodupdate
Update User Profile Args: user_profile_id: The ID of the user profile to update (`uprof_...`). access_type: If
src/anthropic/resources/user_profiles/user_profiles.py:193
Methodupdate
Update User Profile Args: user_profile_id: The ID of the user profile to update (`uprof_...`). access_type: If
src/anthropic/resources/user_profiles/user_profiles.py:549
Methodupdate
Update Deployment Args: deployment_id: Unique identifier of the deployment to update. agent: Agent to deploy. A
src/anthropic/resources/beta/deployments.py:242
Methodupdate
Update Deployment Args: deployment_id: Unique identifier of the deployment to update. agent: Agent to deploy. A
src/anthropic/resources/beta/deployments.py:921
Methodupdate
Update an existing environment's configuration. Args: config: Updated environment configuration description: Up
src/anthropic/resources/beta/environments/environments.py:221
Methodupdate
Update an existing environment's configuration. Args: config: Updated environment configuration description: Up
src/anthropic/resources/beta/environments/environments.py:725
Methodupdate
Update work item metadata with merge semantics. This endpoint accepts a Claude API key. It rejects the environment key and the
src/anthropic/resources/beta/environments/work.py:138
Methodupdate
Update work item metadata with merge semantics. This endpoint accepts a Claude API key. It rejects the environment key and the
src/anthropic/resources/beta/environments/work.py:768
Methodupdate
Update Session Resource Args: authorization_token: New authorization token for the resource. Currently only `github_reposi
src/anthropic/resources/beta/sessions/resources.py:125
Methodupdate
Update Session Resource Args: authorization_token: New authorization token for the resource. Currently only `github_reposi
src/anthropic/resources/beta/sessions/resources.py:523
Methodupdate
Update Session Args: agent: Agent configuration update. Only `tools` and `mcp_servers` are updatable mid-ses
src/anthropic/resources/beta/sessions/sessions.py:258
Methodupdate
Update Session Args: agent: Agent configuration update. Only `tools` and `mcp_servers` are updatable mid-ses
src/anthropic/resources/beta/sessions/sessions.py:802
Methodupdate
Update a Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique id
src/anthropic/resources/beta/vaults/credentials.py:204
Methodupdate
Update a Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique id
src/anthropic/resources/beta/vaults/credentials.py:775
Methodupdate
Update a Vault Args: vault_id: Unique identifier of the vault to update. display_name: Updated human-readable n
src/anthropic/resources/beta/vaults/vaults.py:198
Methodupdate
Update a Vault Args: vault_id: Unique identifier of the vault to update. display_name: Updated human-readable n
src/anthropic/resources/beta/vaults/vaults.py:648
Methodupdate
Update User Profile Args: user_profile_id: The ID of the user profile to update (`uprof_...`). access_type: If
src/anthropic/resources/beta/user_profiles/user_profiles.py:243
Methodupdate
Update User Profile Args: user_profile_id: The ID of the user profile to update (`uprof_...`). access_type: If
src/anthropic/resources/beta/user_profiles/user_profiles.py:780
Methodupdate
Set the default installation setting of one of the organization's own plugin marketplaces. Every Plugin in it without a setting of it
src/anthropic/resources/beta/organization/plugin_marketplaces.py:128
Methodupdate
Set the default installation setting of one of the organization's own plugin marketplaces. Every Plugin in it without a setting of it
src/anthropic/resources/beta/organization/plugin_marketplaces.py:610
Methodupdate
Update your organization's Compliance Settings. Setting `state` to `enabled` turns on the Compliance API and begins capturing
src/anthropic/resources/beta/organization/compliance_settings.py:74
Methodupdate
Update your organization's Compliance Settings. Setting `state` to `enabled` turns on the Compliance API and begins capturing
src/anthropic/resources/beta/organization/compliance_settings.py:186
Methodupdate
Partially update an external key config. Omitted fields are left unchanged. `display_name` is always editable. `geo` and `provider_c
src/anthropic/resources/beta/organization/external_keys.py:156
Methodupdate
Partially update an external key config. Omitted fields are left unchanged. `display_name` is always editable. `geo` and `provider_c
src/anthropic/resources/beta/organization/external_keys.py:502
Methodupdate
Update API Key Args: api_key_id: ID of the API key. name: Name of the API key. status: Status of the
src/anthropic/resources/beta/organization/api_keys.py:87
Methodupdate
Update API Key Args: api_key_id: ID of the API key. name: Name of the API key. status: Status of the
src/anthropic/resources/beta/organization/api_keys.py:276
Methodupdate
Update an organization webhook endpoint. Only the fields you send are changed. Every request must include the beta header `a
src/anthropic/resources/beta/organization/webhooks.py:212
Methodupdate
Update an organization webhook endpoint. Only the fields you send are changed. Every request must include the beta header `a
src/anthropic/resources/beta/organization/webhooks.py:718
Methodupdate
Update a member's organization role. Args: user_id: ID of the User. role: New role for the User.
src/anthropic/resources/beta/organization/users.py:90
Methodupdate
Update a member's organization role. Args: user_id: ID of the User. role: New role for the User.
src/anthropic/resources/beta/organization/users.py:424
Methodupdate
**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:193
Methodupdate
**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:596
Methodupdate
**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:234
Methodupdate
**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:695
Methodupdate
Change the settings a Slack workspace stores. The update is partial: a setting left out is unchanged, and a setting sent as null is c
src/anthropic/resources/beta/organization/claude_tag/slack_workspaces.py:127
Methodupdate
Change the settings a Slack workspace stores. The update is partial: a setting left out is unchanged, and a setting sent as null is c
src/anthropic/resources/beta/organization/claude_tag/slack_workspaces.py:398
Methodupdate
Change the settings a Slack channel stores. The update is partial: a setting left out is unchanged, and a setting sent as null is cle
src/anthropic/resources/beta/organization/claude_tag/slack_channels.py:225
Methodupdate
Change the settings a Slack channel stores. The update is partial: a setting left out is unchanged, and a setting sent as null is cle
src/anthropic/resources/beta/organization/claude_tag/slack_channels.py:677
Methodupdate
Change a Bundle's instructions. The update is partial: a field left out is unchanged, and `instructions` sent as null or as an empty
src/anthropic/resources/beta/organization/claude_tag/bundles/bundles.py:126
← previousnext →11,401–11,500 of 12,274, ranked by callers