MCPcopy Create free account

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

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

Methodcreate
**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:520
Methodcreate
Set a Slack channel up for Claude Tag and return it with its identifier. If the channel is already set up, whether in claude.ai, by C
src/anthropic/resources/beta/organization/claude_tag/slack_channels.py:54
Methodcreate
Set a Slack channel up for Claude Tag and return it with its identifier. If the channel is already set up, whether in claude.ai, by C
src/anthropic/resources/beta/organization/claude_tag/slack_channels.py:506
Methodcreate
Attach a Bundle to a Slack channel or a Slack workspace. A Bundle attached to a workspace can be used in the workspace and in every c
src/anthropic/resources/beta/organization/claude_tag/bundles/targets.py:52
Methodcreate
Attach a Bundle to a Slack channel or a Slack workspace. A Bundle attached to a workspace can be used in the workspace and in every c
src/anthropic/resources/beta/organization/claude_tag/bundles/targets.py:401
Methodcreate
Create Workspace Args: name: Name of the Workspace. data_residency: Data residency configuration for the worksp
src/anthropic/resources/beta/organization/workspaces/workspaces.py:83
Methodcreate
Create Workspace Args: name: Name of the Workspace. data_residency: Data residency configuration for the worksp
src/anthropic/resources/beta/organization/workspaces/workspaces.py:470
Methodcreate
Create an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type `"direct"`. The RBAC Group
src/anthropic/resources/beta/organization/rbac_groups/rbac_groups.py:57
Methodcreate
Create an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type `"direct"`. The RBAC Group
src/anthropic/resources/beta/organization/rbac_groups/rbac_groups.py:333
Methodcreate
Register an OpenTelemetry destination for the organization. The destination starts in state `enabled`. An organization can have at m
src/anthropic/resources/beta/organization/telemetry_destinations/telemetry_destinations.py:70
Methodcreate
Register an OpenTelemetry destination for the organization. The destination starts in state `enabled`. An organization can have at m
src/anthropic/resources/beta/organization/telemetry_destinations/telemetry_destinations.py:594
Methodcreate
Add a version to an organization-owned Plugin by uploading the new version's files; it becomes the version served to members unless t
src/anthropic/resources/beta/organization/plugins/versions.py:65
Methodcreate
Add a version to an organization-owned Plugin by uploading the new version's files; it becomes the version served to members unless t
src/anthropic/resources/beta/organization/plugins/versions.py:506
Methodcreate
Create an organization-owned Plugin and its first version by uploading the version's files. The upload is `multipart/form-da
src/anthropic/resources/beta/organization/plugins/plugins.py:96
Methodcreate
Create an organization-owned Plugin and its first version by uploading the version's files. The upload is `multipart/form-da
src/anthropic/resources/beta/organization/plugins/plugins.py:656
Methodcreate
**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/service_accounts/service_accounts.py:58
Methodcreate
**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/service_accounts/service_accounts.py:419
Methodcreate
The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a
src/anthropic/resources/beta/tunnels/certificates.py:46
Methodcreate
The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a
src/anthropic/resources/beta/tunnels/certificates.py:400
Methodcreate
The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a
src/anthropic/resources/beta/tunnels/tunnels.py:59
Methodcreate
The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a
src/anthropic/resources/beta/tunnels/tunnels.py:539
Methodcreate
Create Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may chan
src/anthropic/resources/beta/skills/versions.py:65
Methodcreate
Create Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may chan
src/anthropic/resources/beta/skills/versions.py:486
Methodcreate
Create Skill Args: files: Files to upload for the skill. All files must be in the same top-level directory
src/anthropic/resources/beta/skills/skills.py:69
Methodcreate
Create Skill Args: files: Files to upload for the skill. All files must be in the same top-level directory
src/anthropic/resources/beta/skills/skills.py:411
Methodcreate
Create a Memory Args: memory_store_id: The ID of the memory store to create the memory in (`memstore_...`). con
src/anthropic/resources/beta/memory_stores/memories.py:53
Methodcreate
Create a Memory Args: memory_store_id: The ID of the memory store to create the memory in (`memstore_...`). con
src/anthropic/resources/beta/memory_stores/memories.py:549
Methodcreate
Create a Memory Store Args: name: The name of the memory store, 1 to 255 characters long, without control ch
src/anthropic/resources/beta/memory_stores/memory_stores.py:72
Methodcreate
Create a Memory Store Args: name: The name of the memory store, 1 to 255 characters long, without control ch
src/anthropic/resources/beta/memory_stores/memory_stores.py:574
Methodcreate
Create Agent Args: model: Model identifier. Accepts the [model string](https://platform.claude.com/docs/en/a
src/anthropic/resources/beta/agents/agents.py:69
Methodcreate
Create Agent Args: model: Model identifier. Accepts the [model string](https://platform.claude.com/docs/en/a
src/anthropic/resources/beta/agents/agents.py:555
Methodcreate
Send a batch of Message creation requests. The Message Batches API can be used to process multiple Messages API requests at
src/anthropic/resources/messages/batches.py:50
Methodcreate
Send a batch of Message creation requests. The Message Batches API can be used to process multiple Messages API requests at
src/anthropic/resources/messages/batches.py:489
Methodcreate
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/messages/messages.py:122
Methodcreate
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/messages/messages.py:1922
Methodcreate
Create an external key config owned by the caller's organization. Args: provider_config: KMS provider identity and auth co
src/anthropic/resources/organization/external_keys.py:48
Methodcreate
Create an external key config owned by the caller's organization. Args: provider_config: KMS provider identity and auth co
src/anthropic/resources/organization/external_keys.py:388
Methodcreate
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/organization/invites.py:46
Methodcreate
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/organization/invites.py:306
Methodcreate
**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/organization/federation/issuers.py:45
Methodcreate
**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/organization/federation/issuers.py:408
Methodcreate
**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/organization/federation/rules/rules.py:58
Methodcreate
**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/organization/federation/rules/rules.py:468
Methodcreate
Create Workspace Args: name: Name of the Workspace. data_residency: Data residency configuration for the worksp
src/anthropic/resources/organization/workspaces/workspaces.py:82
Methodcreate
Create Workspace Args: name: Name of the Workspace. data_residency: Data residency configuration for the worksp
src/anthropic/resources/organization/workspaces/workspaces.py:457
Methodcreate
Create an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type `"direct"`. The RBAC Group
src/anthropic/resources/organization/rbac_groups/rbac_groups.py:57
Methodcreate
Create an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type `"direct"`. The RBAC Group
src/anthropic/resources/organization/rbac_groups/rbac_groups.py:328
Methodcreate
**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/organization/service_accounts/service_accounts.py:57
Methodcreate
**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/organization/service_accounts/service_accounts.py:378
Methodcreate
Create Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may chan
src/anthropic/resources/skills/versions.py:56
Methodcreate
Create Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may chan
src/anthropic/resources/skills/versions.py:356
Methodcreate
Create Skill Args: files: Files to upload for the skill. All files must be in the same top-level directory
src/anthropic/resources/skills/skills.py:68
Methodcreate
Create Skill Args: files: Files to upload for the skill. All files must be in the same top-level directory
src/anthropic/resources/skills/skills.py:362
Methodcreate
(self, command: BetaMemoryTool20250818CreateCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:489
Methodcreate
(self, command: BetaMemoryTool20250818CreateCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:781
Methodcreate
(self, _memory_store_id: str, *, path: str, content: str)
tests/lib/tools/memory_sync/_fake_anthropic.py:141
Functioncreate_batch
(client: AnthropicBedrockMantle, user_profile_id: str | Omit)
tests/lib/test_bedrock_mantle.py:631
Methodcreate_batch
(client: Any)
tests/test_open_telemetry.py:8087
Methodcreate_enrollment_url
Create Enrollment URL Args: user_profile_id: The ID of the user profile to create an enrollment URL for (`uprof_...`).
src/anthropic/resources/beta/user_profiles/user_profiles.py:1050
Methodcreate_exclusive
()
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:790
Functioncreate_tz
(minutes: int)
tests/test_utils/test_datetime_parse.py:14
Methodcredential_arguments
A value for each credential argument. The one named `x` sends `Bearer from-x`.
tests/lib/test_credentials.py:4240
Methodcredentials
(self)
src/anthropic/resources/beta/vaults/vaults.py:37
Methodcredentials
(self)
src/anthropic/resources/beta/vaults/vaults.py:487
Methodcredentials
(self)
src/anthropic/resources/beta/vaults/vaults.py:959
Methodcredentials
(self)
src/anthropic/resources/beta/vaults/vaults.py:987
Methodcredentials
(self)
src/anthropic/resources/beta/vaults/vaults.py:1015
Methodcredentials
(self)
src/anthropic/resources/beta/vaults/vaults.py:1043
Methodcurrent_message_snapshot
(self)
src/anthropic/lib/streaming/_beta_messages.py:135
Methodcurrent_message_snapshot
(self)
src/anthropic/lib/streaming/_beta_messages.py:307
Methodcurrent_message_snapshot
(self)
src/anthropic/lib/streaming/_messages.py:130
Methodcurrent_message_snapshot
(self)
src/anthropic/lib/streaming/_messages.py:295
Functioncurrent_time
Return the host's current local time as an ISO-8601 string.
examples/managed-agents-worker-dispatch.py:43
Functioncurrent_time
Return the host's current local time as an ISO-8601 string.
examples/managed-agents-self-hosted-sandbox-worker.py:42
Methodcursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
src/anthropic/lib/tools/_toolsets/_computer.py:215
Methodcursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
src/anthropic/lib/tools/_toolsets/_computer.py:333
Methodcursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
tests/lib/tools/toolsets/test_computer_interface.py:43
Methodcursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
tests/lib/tools/toolsets/test_computer_interface.py:171
Methodcursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
tests/lib/tools/toolsets/_computer_fakes.py:95
Methodcursor_position
( self, context: BetaToolsetCallContext, input: BetaComputerCursorPositionInput )
tests/lib/tools/toolsets/_computer_fakes.py:150
Methodcustom_auth
(self)
src/anthropic/_base_client.py:786
Methodcustom_auth
(self)
src/anthropic/_client.py:428
Methodcustom_auth
(self)
src/anthropic/_client.py:830
Methoddata
(self)
src/anthropic/_streaming.py:315
Methoddecorated
()
tests/lib/test_credentials.py:3712
Methoddefault_headers
(self)
src/anthropic/_base_client.py:794
Methoddefault_headers
(self)
src/anthropic/_client.py:389
Methoddefault_headers
(self)
src/anthropic/_client.py:797
Methoddefault_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:236
Methoddefault_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:426
Methoddefault_headers
(self)
src/anthropic/lib/bedrock/_client.py:191
Methoddefault_headers
(self)
src/anthropic/lib/bedrock/_client.py:372
Methoddefault_headers
(self)
src/anthropic/lib/aws/_client.py:133
Methoddefault_headers
(self)
src/anthropic/lib/aws/_client.py:358
Methoddefault_headers
(self)
src/anthropic/lib/vertex/_client.py:127
Methoddefault_headers
(self)
src/anthropic/lib/vertex/_client.py:293
Methoddefault_query
(self)
src/anthropic/_base_client.py:805
Methoddefer_tool_call
Hold a tool call of the current reply until you are done with the reply, which is when it runs without `run_tools_eagerly`: at the end of the
src/anthropic/lib/tools/_beta_runner.py:1557
Methoddeferred_tool_calls
The tool calls of the current reply that `defer_tool_call()` is holding, in the model's order, as their `tool_use` blocks. A call is
src/anthropic/lib/tools/_beta_runner.py:1039
Methoddeferred_tool_calls
The tool calls of the current reply that `defer_tool_call()` is holding, in the model's order, as their `tool_use` blocks. A call is
src/anthropic/lib/tools/_beta_runner.py:1584
← previousnext →3,301–3,400 of 12,274, ranked by callers