MCPcopy Create free account

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

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

Method_sleep
(self, seconds: float)
src/anthropic/_resource.py:22
Method_sleep
(self, seconds: float)
src/anthropic/_resource.py:38
Method_spin
(self)
examples/memory/basic.py:61
Function_stop
(_work_id: str, **_kwargs: Any)
tests/lib/environments/test_poller_method.py:187
Method_stop_watcher
When `_stop` is set, close the work stream so `_dispatch_loop` exits.
src/anthropic/lib/tools/_beta_session_runner.py:983
Method_stream_loop
(self)
src/anthropic/lib/tools/_beta_session_runner.py:657
Function_symlinks_in_dir
(root: Path, under: str, base: Path)
src/anthropic/lib/tools/_file_store.py:388
Function_sync_noop
(_seconds: float)
tests/lib/environments/test_poller_method.py:106
Method_sync_store
(self, store: _AttachedStore, final: bool = False)
src/anthropic/lib/tools/_memories.py:373
Method_test
()
tests/lib/tools/test_mcp_tool.py:335
Method_toolset_confirm
(self, name: str, shown: BetaToolsetCallContext)
src/anthropic/lib/tools/_toolsets/_base.py:407
Method_toolset_run
( self, context: BetaToolsetCallContext, name: str, input: Mapping[str, object] )
src/anthropic/lib/tools/_toolsets/_computer.py:179
Method_toolset_run
( self, context: BetaToolsetCallContext, name: str, input: Mapping[str, object] )
src/anthropic/lib/tools/_toolsets/_computer.py:299
Method_toolset_run
( self, context: BetaToolsetCallContext, name: str, input: Mapping[str, object] )
src/anthropic/lib/tools/_toolsets/_browser.py:256
Method_toolset_run
( self, context: BetaToolsetCallContext, name: str, input: Mapping[str, object] )
src/anthropic/lib/tools/_toolsets/_browser.py:497
Method_validate
(v: Iterable[_T], handler: "ValidatorFunctionWrapHandler")
src/anthropic/_models.py:463
Method_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/_client.py:405
Method_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/_client.py:839
Method_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/foundry.py:304
Method_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/foundry.py:516
Method_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/bedrock/_mantle.py:247
Method_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/bedrock/_mantle.py:440
Method_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/aws/_client.py:357
Method_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/google_cloud/_client.py:311
Method_validate_headers
(self, headers: httpx2.Headers, omitted: frozenset[str])
src/anthropic/lib/google_cloud/_client.py:543
Function_waiter
(ev: anyio.Event)
src/anthropic/lib/tools/_beta_session_runner.py:1005
Methoda_sync_cm
()
tests/lib/tools/test_functions.py:542
Methodack
Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating se
src/anthropic/resources/beta/environments/work.py:850
Methodack
(self, work_id: str, **kwargs: Any)
tests/lib/environments/test_poller_method.py:79
Methodaclose
(self)
src/anthropic/_vendor/httpx_aiohttp/transport.py:76
Methodaclose
(self)
tests/lib/test_credentials.py:3837
Methodadd
Add Session Resource Args: file_id: ID of a previously uploaded file. mount_path: Mount path in the container.
src/anthropic/resources/beta/sessions/resources.py:715
Methodadd
**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/workspaces.py:116
Methodadd
**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/workspaces.py:335
Methodadd
**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/workspaces/service_accounts.py:251
Methodadd
**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/workspaces/service_accounts.py:610
Methodadd
Create Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. workspace_
src/anthropic/resources/beta/organization/workspaces/members.py:201
Methodadd
Create Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. workspace_
src/anthropic/resources/beta/organization/workspaces/members.py:472
Methodadd
Add a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified via t
src/anthropic/resources/beta/organization/rbac_groups/members.py:100
Methodadd
Add a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified via t
src/anthropic/resources/beta/organization/rbac_groups/members.py:277
Methodadd
**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/workspaces.py:124
Methodadd
**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/workspaces.py:357
Methodadd
**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/workspaces.py:108
Methodadd
**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/workspaces.py:306
Methodadd
**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/workspaces/service_accounts.py:227
Methodadd
**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/workspaces/service_accounts.py:547
Methodadd
Create Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. workspace_
src/anthropic/resources/organization/workspaces/members.py:201
Methodadd
Create Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. workspace_
src/anthropic/resources/organization/workspaces/members.py:472
Methodadd
**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/workspaces.py:116
Methodadd
**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/workspaces.py:328
Methodadd_leak
(leaks: list[tracemalloc.StatisticDiff], diff: tracemalloc.StatisticDiff)
tests/test_client.py:291
Methodadd_leak
(leaks: list[tracemalloc.StatisticDiff], diff: tracemalloc.StatisticDiff)
tests/test_client.py:1584
Methodadd_numbers
Add two numbers together.
tests/lib/tools/test_functions.py:79
Functionadd_raw_definitions
(runner: Any)
tests/lib/tools/test_runners.py:2019
Functionadd_then_remove
(runner: Any)
tests/lib/tools/test_runners.py:1857
Methodadd_trace_header
(request: APIRequest, call_next: CallNext)
tests/test_middleware.py:778
Methodadd_trace_header
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1514
Functionadd_weather_and_compact
(runner: Any)
tests/lib/tools/test_runners.py:2095
Methodadder_cm
()
tests/lib/tools/test_functions.py:467
Methodagents
(self)
src/anthropic/resources/beta/beta.py:140
Methodagents
(self)
src/anthropic/resources/beta/beta.py:225
Methodagents
(self)
src/anthropic/resources/beta/beta.py:313
Methodagents
(self)
src/anthropic/resources/beta/beta.py:378
Methodagents
(self)
src/anthropic/resources/beta/beta.py:443
Methodagents
(self)
src/anthropic/resources/beta/beta.py:508
Methodaiter_bytes
Given an async iterator that yields raw binary data, iterate over it & yield every event encountered
src/anthropic/_streaming.py:510
Methodaiter_bytes
Given an async iterator that yields lines, iterate over it & yield every event encountered
src/anthropic/lib/bedrock/_stream_decoder.py:43
Functionallow
A `confirm` that approves every call.
tests/lib/tools/test_runner_eager_toolsets.py:415
Methodan_async_cm
()
tests/lib/tools/test_functions.py:538
Methodanalytics
(self)
src/anthropic/resources/beta/organization/organization.py:178
Methodanalytics
(self)
src/anthropic/resources/beta/organization/organization.py:284
Methodanalytics
(self)
src/anthropic/resources/beta/organization/organization.py:397
Methodanalytics
(self)
src/anthropic/resources/beta/organization/organization.py:466
Methodanalytics
(self)
src/anthropic/resources/beta/organization/organization.py:535
Methodanalytics
(self)
src/anthropic/resources/beta/organization/organization.py:604
Methodapi_keys
(self)
src/anthropic/resources/beta/organization/organization.py:142
Methodapi_keys
(self)
src/anthropic/resources/beta/organization/organization.py:248
Methodapi_keys
(self)
src/anthropic/resources/beta/organization/organization.py:361
Methodapi_keys
(self)
src/anthropic/resources/beta/organization/organization.py:430
Methodapi_keys
(self)
src/anthropic/resources/beta/organization/organization.py:499
Methodapi_keys
(self)
src/anthropic/resources/beta/organization/organization.py:568
Methodapi_keys
(self)
src/anthropic/resources/organization/organization.py:94
Methodapi_keys
(self)
src/anthropic/resources/organization/organization.py:176
Methodapi_keys
(self)
src/anthropic/resources/organization/organization.py:265
Methodapi_keys
(self)
src/anthropic/resources/organization/organization.py:310
Methodapi_keys
(self)
src/anthropic/resources/organization/organization.py:355
Methodapi_keys
(self)
src/anthropic/resources/organization/organization.py:400
Functionapprove
(_context: BetaConfirmContext)
tests/lib/tools/toolsets/_fakes.py:311
Functionapprove
(context: object)
tests/lib/tools/toolsets/_computer_fakes.py:74
Methodapprove
Approve a pending spend limit increase request. Writes a per-user spend limit at `amount` for the requester and transitions the
src/anthropic/resources/beta/organization/spend_limits/increase_requests.py:374
Methodapps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:107
Methodapps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:172
Methodapps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:240
Methodapps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:289
Methodapps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:338
Methodapps
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:387
Methodarchive
Hide a `completed`, `failed`, or `canceled` dream from the default list of dreams. Archiving a `pending` or `running` dream
src/anthropic/resources/beta/dreams.py:732
Methodarchive
Archive Deployment Args: deployment_id: Unique identifier of the deployment to archive. betas: Optional header
src/anthropic/resources/beta/deployments.py:435
Methodarchive
Archive Deployment Args: deployment_id: Unique identifier of the deployment to archive. betas: Optional header
src/anthropic/resources/beta/deployments.py:1075
Methodarchive
Archive an environment by ID. Archived environments cannot be used to create new sessions. Args: betas: Optional h
src/anthropic/resources/beta/environments/environments.py:418
← previousnext →2,201–2,300 of 9,455, ranked by callers