MCPcopy Create free account

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

Functions9,455 in github.com/anthropics/anthropic-sdk-python

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:715
Methodcustom_auth
(self)
src/anthropic/_client.py:433
Methodcustom_auth
(self)
src/anthropic/_client.py:861
Methoddata
(self)
src/anthropic/_streaming.py:372
Methoddecorated
()
tests/lib/test_credentials.py:3590
Methoddefault_headers
(self)
src/anthropic/_base_client.py:723
Methoddefault_headers
(self)
src/anthropic/_client.py:392
Methoddefault_headers
(self)
src/anthropic/_client.py:826
Methoddefault_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:238
Methoddefault_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:431
Methoddefault_headers
(self)
src/anthropic/lib/aws/_client.py:129
Methoddefault_headers
(self)
src/anthropic/lib/aws/_client.py:343
Methoddefault_query
(self)
src/anthropic/_base_client.py:734
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:1069
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:718
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:1096
Methoddelete
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:1597
Methoddelete
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:2320
Methoddelete
Delete File Args: file_id: ID of the File. workspace_id: Optional header to select the Workspace for this reque
src/anthropic/resources/files.py:417
Methoddelete
Delete File Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want to us
src/anthropic/resources/beta/files.py:150
Methoddelete
Delete File Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want to us
src/anthropic/resources/beta/files.py:504
Methoddelete
Delete an environment by ID. Returns a confirmation of the deletion. Args: betas: Optional header to specify the beta vers
src/anthropic/resources/beta/environments/environments.py:358
Methoddelete
Delete an environment by ID. Returns a confirmation of the deletion. Args: betas: Optional header to specify the beta vers
src/anthropic/resources/beta/environments/environments.py:801
Methoddelete
Delete Session Resource Args: betas: Optional header to specify the beta version(s) you want to use. workspace_
src/anthropic/resources/beta/sessions/resources.py:271
Methoddelete
Delete Session Resource Args: betas: Optional header to specify the beta version(s) you want to use. workspace_
src/anthropic/resources/beta/sessions/resources.py:649
Methoddelete
Delete Session Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id: Optio
src/anthropic/resources/beta/sessions/sessions.py:453
Methoddelete
Delete Session Args: betas: Optional header to specify the beta version(s) you want to use. workspace_id: Optio
src/anthropic/resources/beta/sessions/sessions.py:967
Methoddelete
Delete Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique iden
src/anthropic/resources/beta/vaults/credentials.py:357
Methoddelete
Delete Credential Args: vault_id: Identifier of the vault containing the credential. credential_id: Unique iden
src/anthropic/resources/beta/vaults/credentials.py:896
Methoddelete
Delete Vault Args: vault_id: Unique identifier of the vault to delete. betas: Optional header to specify the be
src/anthropic/resources/beta/vaults/vaults.py:331
Methoddelete
Delete Vault Args: vault_id: Unique identifier of the vault to delete. betas: Optional header to specify the be
src/anthropic/resources/beta/vaults/vaults.py:750
Methoddelete
Delete a Message Batch. Message Batches can only be deleted once they've finished processing. If you'd like to delete an in-
src/anthropic/resources/beta/messages/batches.py:273
Methoddelete
Delete a Message Batch. Message Batches can only be deleted once they've finished processing. If you'd like to delete an in-
src/anthropic/resources/beta/messages/batches.py:735
Methoddelete
Delete an external key config. The request is rejected if any workspace still references this config. Args: exter
src/anthropic/resources/beta/organization/external_keys.py:241
Methoddelete
Delete an external key config. The request is rejected if any workspace still references this config. Args: exter
src/anthropic/resources/beta/organization/external_keys.py:542
Methoddelete
Delete a pending invite. Args: invite_id: ID of the Invite. extra_headers: Send extra headers extra_
src/anthropic/resources/beta/organization/invites.py:215
Methoddelete
Delete a pending invite. Args: invite_id: ID of the Invite. extra_headers: Send extra headers extra_
src/anthropic/resources/beta/organization/invites.py:443
Methoddelete
Delete an RBAC Group. Groups provisioned by an identity provider (source type `"scim"`) cannot be deleted via the API while an organi
src/anthropic/resources/beta/organization/rbac_groups/rbac_groups.py:233
Methoddelete
Delete an RBAC Group. Groups provisioned by an identity provider (source type `"scim"`) cannot be deleted via the API while an organi
src/anthropic/resources/beta/organization/rbac_groups/rbac_groups.py:477
Methoddelete
Delete a spend limit. For a Claude Enterprise organization, this deletes a per-user override, and the member falls back to a
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:188
Methoddelete
Delete a spend limit. For a Claude Enterprise organization, this deletes a per-user override, and the member falls back to a
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:441
Methoddelete
Permanently delete a Plugin and every version it holds, exactly as when an administrator deletes it in claude.ai. The Plugin may belo
src/anthropic/resources/beta/organization/plugins/plugins.py:494
Methoddelete
Permanently delete a Plugin and every version it holds, exactly as when an administrator deletes it in claude.ai. The Plugin may belo
src/anthropic/resources/beta/organization/plugins/plugins.py:998
Methoddelete
Delete 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:281
Methoddelete
Delete 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:657
Methoddelete
Delete Skill Args: skill_id: Unique identifier for the skill. The format and length of IDs may change over
src/anthropic/resources/beta/skills/skills.py:285
Methoddelete
Delete Skill Args: skill_id: Unique identifier for the skill. The format and length of IDs may change over
src/anthropic/resources/beta/skills/skills.py:586
Methoddelete
Delete a memory Args: memory_store_id: The ID of the memory store that holds the memory (`memstore_...`). memor
src/anthropic/resources/beta/memory_stores/memories.py:411
Methoddelete
Delete a memory Args: memory_store_id: The ID of the memory store that holds the memory (`memstore_...`). memor
src/anthropic/resources/beta/memory_stores/memories.py:868
Methoddelete
Delete a memory store Args: memory_store_id: ID of the memory store to permanently delete (a `memstore_...` identifier).
src/anthropic/resources/beta/memory_stores/memory_stores.py:378
Methoddelete
Delete a memory store Args: memory_store_id: ID of the memory store to permanently delete (a `memstore_...` identifier).
src/anthropic/resources/beta/memory_stores/memory_stores.py:839
Methoddelete
Delete a Message Batch. Message Batches can only be deleted once they've finished processing. If you'd like to delete an in-
src/anthropic/resources/messages/batches.py:236
Methoddelete
Delete a Message Batch. Message Batches can only be deleted once they've finished processing. If you'd like to delete an in-
src/anthropic/resources/messages/batches.py:619
Methoddelete
Delete an external key config. The request is rejected if any workspace still references this config. Args: exter
src/anthropic/resources/organization/external_keys.py:237
Methoddelete
Delete an external key config. The request is rejected if any workspace still references this config. Args: exter
src/anthropic/resources/organization/external_keys.py:532
Methoddelete
Delete a pending invite. Args: invite_id: ID of the Invite. extra_headers: Send extra headers extra_
src/anthropic/resources/organization/invites.py:215
Methoddelete
Delete a pending invite. Args: invite_id: ID of the Invite. extra_headers: Send extra headers extra_
src/anthropic/resources/organization/invites.py:443
Methoddelete
Delete Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may chan
src/anthropic/resources/skills/versions.py:239
Methoddelete
Delete Skill Version Args: skill_id: Unique identifier for the skill. The format and length of IDs may chan
src/anthropic/resources/skills/versions.py:500
Methoddelete
Delete Skill Args: skill_id: Unique identifier for the skill. The format and length of IDs may change over
src/anthropic/resources/skills/skills.py:251
Methoddelete
Delete Skill Args: skill_id: Unique identifier for the skill. The format and length of IDs may change over
src/anthropic/resources/skills/skills.py:508
Methoddelete
(self, command: BetaMemoryTool20250818DeleteCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:575
Methoddelete
(self, command: BetaMemoryTool20250818DeleteCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:876
Methoddelete
(self, path: str)
tests/lib/tools/memory_sync/_fake_anthropic.py:64
Methoddelete
( self, memory_id: str, *, memory_store_id: str, # noqa: ARG002 expec
tests/lib/tools/memory_sync/_fake_anthropic.py:170
Functiondelete_file
Delete a file. Args: path: The file to delete.
examples/tools_runner_deferred_streaming.py:17
Functiondeleted_meanwhile
(path: str)
tests/lib/tools/memory_sync/test_keep_only_copy.py:112
Functiondeny
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_refusals.py:115
Functiondeny
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:251
Methoddeny
Deny a pending spend limit increase request. Idempotent on `denied`; denying an already-`approved` request returns 400. Anth
src/anthropic/resources/beta/organization/spend_limits/increase_requests.py:431
Methoddeployment_runs
(self)
src/anthropic/resources/beta/beta.py:156
Methoddeployment_runs
(self)
src/anthropic/resources/beta/beta.py:241
Methoddeployment_runs
(self)
src/anthropic/resources/beta/beta.py:329
Methoddeployment_runs
(self)
src/anthropic/resources/beta/beta.py:394
Methoddeployment_runs
(self)
src/anthropic/resources/beta/beta.py:459
Methoddeployment_runs
(self)
src/anthropic/resources/beta/beta.py:524
Methoddeployments
(self)
src/anthropic/resources/beta/beta.py:152
Methoddeployments
(self)
src/anthropic/resources/beta/beta.py:237
Methoddeployments
(self)
src/anthropic/resources/beta/beta.py:325
Methoddeployments
(self)
src/anthropic/resources/beta/beta.py:390
Methoddeployments
(self)
src/anthropic/resources/beta/beta.py:455
Methoddeployments
(self)
src/anthropic/resources/beta/beta.py:520
Methoddivide
Divide two numbers.
tests/lib/tools/test_functions.py:398
Methoddo
(self, name: str, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/test_runner_eager_tools.py:1037
Methoddouble_click
(self, context: BetaToolsetCallContext, input: BetaComputerDoubleClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:241
Methoddouble_click
(self, context: BetaToolsetCallContext, input: BetaComputerDoubleClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:363
Methoddouble_click
(self, context: BetaToolsetCallContext, input: BetaBrowserDoubleClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:354
Methoddouble_click
(self, context: BetaToolsetCallContext, input: BetaBrowserDoubleClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:600
Methoddownload
Download File Args: file_id: ID of the File. workspace_id: Optional header to select the Workspace for this req
src/anthropic/resources/files.py:464
Methoddownload
Download File Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want to
src/anthropic/resources/beta/files.py:208
Methoddownload
Download File Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want to
src/anthropic/resources/beta/files.py:562
Methoddownload
Download one version's `.zip` archive, exactly as stored. Each download of a Plugin from a member's personal plugin marketplace is re
src/anthropic/resources/beta/organization/plugins/versions.py:347
← previousnext →2,601–2,700 of 9,455, ranked by callers