MCPcopy Create free account

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

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

Methodrbac_groups
(self)
src/anthropic/resources/organization/organization.py:560
Methodrbac_roles
(self)
src/anthropic/resources/beta/organization/organization.py:222
Methodrbac_roles
(self)
src/anthropic/resources/beta/organization/organization.py:347
Methodrbac_roles
(self)
src/anthropic/resources/beta/organization/organization.py:479
Methodrbac_roles
(self)
src/anthropic/resources/beta/organization/organization.py:564
Methodrbac_roles
(self)
src/anthropic/resources/beta/organization/organization.py:649
Methodrbac_roles
(self)
src/anthropic/resources/beta/organization/organization.py:734
Methodrbac_roles
(self)
src/anthropic/resources/organization/organization.py:174
Methodrbac_roles
(self)
src/anthropic/resources/organization/organization.py:274
Methodrbac_roles
(self)
src/anthropic/resources/organization/organization.py:381
Methodrbac_roles
(self)
src/anthropic/resources/organization/organization.py:442
Methodrbac_roles
(self)
src/anthropic/resources/organization/organization.py:503
Methodrbac_roles
(self)
src/anthropic/resources/organization/organization.py:564
Functionread
Read a file rooted at the working directory.
src/anthropic/lib/tools/agent_toolset.py:691
Functionread
(params: Any)
tests/lib/tools/test_runners.py:2573
Methodread
(self)
tests/test_prepare.py:143
Methodread_console
(self, context: BetaToolsetCallContext, input: BetaBrowserReadConsoleInput)
src/anthropic/lib/tools/_toolsets/_browser.py:411
Methodread_console
(self, context: BetaToolsetCallContext, input: BetaBrowserReadConsoleInput)
src/anthropic/lib/tools/_toolsets/_browser.py:661
Functionread_line_range
Return lines `[start_line, end_line]` of `path`, capping the selected bytes at `limit`.
src/anthropic/lib/tools/_files.py:23
Methodread_network
(self, context: BetaToolsetCallContext, input: BetaBrowserReadNetworkInput)
src/anthropic/lib/tools/_toolsets/_browser.py:414
Methodread_network
(self, context: BetaToolsetCallContext, input: BetaBrowserReadNetworkInput)
src/anthropic/lib/tools/_toolsets/_browser.py:664
Methodread_only_roots
Root directories of stores attached read-only. The file tools consult this to refuse writes into read-only stores.
src/anthropic/lib/tools/_memories.py:255
Functionread_page
()
tests/lib/tools/toolsets/test_pipeline.py:1347
Methodread_page
(self, context: BetaToolsetCallContext, input: BetaBrowserReadPageInput)
src/anthropic/lib/tools/_toolsets/_browser.py:393
Methodread_page
(self, context: BetaToolsetCallContext, input: BetaBrowserReadPageInput)
src/anthropic/lib/tools/_toolsets/_browser.py:643
Methodread_until_sentinel
()
src/anthropic/lib/tools/agent_toolset.py:527
Methodrecord
(options: FinalRequestOptions)
tests/test_client.py:763
Methodrecord
(options: FinalRequestOptions)
tests/test_client.py:2216
Methodrecord_location
(location: str)
tests/lib/threads/test_thread_tool_runner.py:274
Methodrecord_location
(location: str)
tests/lib/threads/test_async_beta_threads.py:1654
Functionrecording_aexit
(self: agent_toolset.AgentToolContext, *exc: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:529
Functionrecording_dispose
(self: memories_mod.SessionMemoryStores)
tests/lib/tools/memory_sync/test_e2e_memory.py:567
Functionrecording_finish
(self: memories_mod.SessionMemoryStores)
tests/lib/tools/memory_sync/test_e2e_memory.py:533
Functionrecording_heartbeat_loop
(*args: Any, **kwargs: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:561
Methodrecords_content
(self)
src/anthropic/lib/_tracing/_config.py:25
Methodredact
Redact a Memory Version Args: memory_store_id: The ID of the memory store that holds the version (`memstore_...`).
src/anthropic/resources/beta/memory_stores/memory_versions.py:566
Functionrefresh_credentials
Refresh `credentials` in place via `google.auth.transport.requests`. Blocking — async callers wrap with `anthropic._utils.asyncify`.
src/anthropic/lib/_extras/_google_auth.py:66
Functionrefuse
(_path: str)
tests/lib/tools/memory_sync/test_memory_sync.py:283
Methodrefuse
(_request: Any, _call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3573
Methodrefuse
(name: str)
tests/test_open_telemetry.py:8171
Functionrefusing
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:357
Functionrefusing
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:193
Methodregenerate_signing_secret
Replace an organization webhook endpoint's signing secret. The old secret stops working immediately. The new secret is returned only
src/anthropic/resources/beta/organization/webhooks.py:971
Methodregion
(self)
src/anthropic/lib/vertex/_client.py:43
Functionregistered
`spans`, with its provider registered with the OpenTelemetry API for this test, which a client that is given none uses. A client that is given a
tests/test_open_telemetry.py:169
Methodreload
Drop the cached config so the next call re-reads it from disk. `CredentialsFile` caches the parsed config across calls to keep the ho
src/anthropic/lib/credentials/_providers.py:446
Methodreload
(self)
src/anthropic/lib/credentials/_providers.py:876
Methodremove
Remove a member from the organization. Args: user_id: ID of the User. extra_headers: Send extra headers
src/anthropic/resources/beta/organization/users.py:214
Methodremove
Remove a member from the organization. Args: user_id: ID of the User. extra_headers: Send extra headers
src/anthropic/resources/beta/organization/users.py:548
Methodremove
**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:193
Methodremove
**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:434
Methodremove
**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:346
Methodremove
**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:740
Methodremove
Delete Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. extra_head
src/anthropic/resources/beta/organization/workspaces/members.py:282
Methodremove
Delete Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. extra_head
src/anthropic/resources/beta/organization/workspaces/members.py:596
Methodremove
Remove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified
src/anthropic/resources/beta/organization/rbac_groups/members.py:161
Methodremove
Remove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified
src/anthropic/resources/beta/organization/rbac_groups/members.py:364
Methodremove
Remove one workspace from a destination's workspace list. Under `include` the workspace's spans stop going to the destination. Under
src/anthropic/resources/beta/organization/telemetry_destinations/workspaces.py:211
Methodremove
Remove one workspace from a destination's workspace list. Under `include` the workspace's spans stop going to the destination. Under
src/anthropic/resources/beta/organization/telemetry_destinations/workspaces.py:471
Methodremove
Remove an organization-owned Plugin's own installation setting for the whole organization or for one RBAC Group. Removing th
src/anthropic/resources/beta/organization/plugins/installation_settings.py:152
Methodremove
Remove an organization-owned Plugin's own installation setting for the whole organization or for one RBAC Group. Removing th
src/anthropic/resources/beta/organization/plugins/installation_settings.py:478
Methodremove
**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:205
Methodremove
**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:460
Methodremove
Remove a member from the organization. Args: user_id: ID of the User. extra_headers: Send extra headers
src/anthropic/resources/organization/users.py:208
Methodremove
Remove a member from the organization. Args: user_id: ID of the User. extra_headers: Send extra headers
src/anthropic/resources/organization/users.py:440
Methodremove
**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:176
Methodremove
**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:393
Methodremove
**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:313
Methodremove
**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:667
Methodremove
Delete Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. extra_head
src/anthropic/resources/organization/workspaces/members.py:278
Methodremove
Delete Workspace Member Args: workspace_id: ID of the Workspace. user_id: ID of the User. extra_head
src/anthropic/resources/organization/workspaces/members.py:587
Methodremove
Remove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified
src/anthropic/resources/organization/rbac_groups/members.py:159
Methodremove
Remove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified
src/anthropic/resources/organization/rbac_groups/members.py:359
Methodremove
**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:188
Methodremove
**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:419
Functionremove_then_add
(runner: Any)
tests/lib/tools/test_runners.py:1869
Functionremove_weather
(runner: Any)
tests/lib/tools/test_runners.py:1820
Functionremove_weather_and_compact
(runner: Any)
tests/lib/tools/test_runners.py:2145
Functionremoveprefix
Remove a prefix from a string. Backport of `str.removeprefix` for Python < 3.9
src/anthropic/_utils/_utils.py:381
Functionremovesuffix
Remove a suffix from a string. Backport of `str.removesuffix` for Python < 3.9
src/anthropic/_utils/_utils.py:391
Methodrename
(self, command: BetaMemoryTool20250818RenameCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:600
Methodrename
(self, command: BetaMemoryTool20250818RenameCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:901
Methodrenumber
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3488
Functionreplace_then_open
(opened: Path, flags: int)
tests/lib/tools/memory_tools/test_filesystem.py:57
Methodreplay
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:1422
Methodrequest_id
(self)
src/anthropic/_response.py:300
Methodrequest_id
(self)
src/anthropic/_response.py:413
Methodrequest_id
(self)
src/anthropic/lib/streaming/_beta_messages.py:68
Methodrequest_id
(self)
src/anthropic/lib/streaming/_beta_messages.py:240
Methodrequest_id
(self)
src/anthropic/lib/streaming/_messages.py:63
Methodrequest_id
(self)
src/anthropic/lib/streaming/_messages.py:228
Functionrequired_args
Decorator to enforce a given set of arguments or variants of arguments are passed to the decorated function. Useful for enforcing runtime validat
src/anthropic/_utils/_utils.py:226
Methodresolve_upload_documents
Vet each document id (a file staged with the Files API) the model asked to upload, or raise `ToolError` to refuse. The driver receives the ret
src/anthropic/lib/tools/_toolsets/_hooks.py:65
Methodresolve_upload_documents
(self, context: object, document_ids: object)
tests/lib/tools/toolsets/test_pipeline.py:245
Methodresolve_upload_paths
Resolve each path the model asked to upload, or raise `ToolError` to refuse. The driver receives the returned paths in `input.paths`.
src/anthropic/lib/tools/_toolsets/_hooks.py:60
Methodresolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_refusals.py:179
Methodresolve_upload_paths
(self, context: object, paths: object)
tests/lib/tools/toolsets/test_pipeline.py:242
Methodresolve_upload_paths
(self, context: BetaURLContext, paths: Sequence[str])
tests/lib/tools/toolsets/test_pipeline.py:428
Methodresolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_enforcement.py:344
Methodresolve_upload_paths
(self, context: Any, paths: Any)
tests/lib/tools/toolsets/test_enforcement.py:357
← previousnext →4,501–4,600 of 12,434, ranked by callers