Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,274 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,274
◇
Types & classes
3,937
↳
Endpoints
46
Method
retrieve_metadata
Get File Metadata Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want
src/anthropic/resources/beta/files.py:309
Method
retrieve_metadata
Get File Metadata Args: file_id: ID of the File. betas: Optional header to specify the beta version(s) you want
src/anthropic/resources/beta/files.py:733
Method
retry
(self)
src/anthropic/_streaming.py:311
Method
retry_handler
(_request: httpx2.Request)
tests/test_client.py:1363
Method
retry_handler
(_request: httpx2.Request)
tests/test_client.py:2814
Method
reveal_token
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:841
Function
rewrite
(params: dict[str, Any])
tests/lib/threads/helpers.py:600
Method
right_click
(self, context: BetaToolsetCallContext, input: BetaComputerRightClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:235
Method
right_click
(self, context: BetaToolsetCallContext, input: BetaComputerRightClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:357
Method
right_click
(self, context: BetaToolsetCallContext, input: BetaBrowserRightClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:348
Method
right_click
(self, context: BetaToolsetCallContext, input: BetaBrowserRightClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:594
Method
roots
Every attached store's folder on disk. The worker adds these to the file tools' allowed roots, so a store mounted outside the working
src/anthropic/lib/tools/_memories.py:246
Method
rotate_token
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:916
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:31
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:60
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:92
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:105
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:118
Method
rules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:131
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:31
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:60
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:92
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:105
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:118
Method
rules
(self)
src/anthropic/resources/organization/federation/federation.py:131
Method
run
Run Deployment Now Args: deployment_id: Unique identifier of the deployment to run. betas: This endpoint is in
src/anthropic/resources/beta/deployments.py:1265
Function
run_async
()
tests/lib/tools/test_runners.py:1620
Function
run_async
()
tests/lib/tools/toolsets/test_browser_runner.py:397
Method
run_leader
()
tests/lib/test_credentials.py:4145
Method
run_waiter
()
tests/lib/test_credentials.py:4158
Method
scope
(self)
src/anthropic/lib/credentials/_workload.py:194
Function
scoped_calls
Record every `_scoped_client(client, environment_key)` call; still returns the parent client (the autouse fixture's behaviour) so the runner k
tests/lib/tools/test_session_runner.py:51
Function
screenshot
Custom tool sharing a computer member's name.
tests/lib/tools/toolsets/test_runner.py:274
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput)
src/anthropic/lib/tools/_toolsets/_computer.py:253
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput )
src/anthropic/lib/tools/_toolsets/_computer.py:375
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput)
src/anthropic/lib/tools/_toolsets/_browser.py:339
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput )
src/anthropic/lib/tools/_toolsets/_browser.py:583
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput)
tests/lib/tools/toolsets/_fakes.py:172
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput )
tests/lib/tools/toolsets/_fakes.py:244
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput)
tests/lib/tools/toolsets/test_interface.py:54
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput )
tests/lib/tools/toolsets/test_interface.py:66
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput)
tests/lib/tools/toolsets/test_computer_interface.py:39
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput )
tests/lib/tools/toolsets/test_computer_interface.py:221
Method
screenshot
(self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput)
tests/lib/tools/toolsets/_computer_fakes.py:87
Method
screenshot
( self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput )
tests/lib/tools/toolsets/_computer_fakes.py:140
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
src/anthropic/lib/tools/_toolsets/_computer.py:247
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
src/anthropic/lib/tools/_toolsets/_computer.py:369
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
src/anthropic/lib/tools/_toolsets/_browser.py:375
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
src/anthropic/lib/tools/_toolsets/_browser.py:625
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
tests/lib/tools/toolsets/_fakes.py:180
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
tests/lib/tools/toolsets/_fakes.py:254
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
tests/lib/tools/toolsets/_computer_fakes.py:125
Method
scroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
tests/lib/tools/toolsets/_computer_fakes.py:180
Method
scroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
src/anthropic/lib/tools/_toolsets/_browser.py:378
Method
scroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
src/anthropic/lib/tools/_toolsets/_browser.py:628
Method
scroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
tests/lib/tools/toolsets/_fakes.py:184
Method
scroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
tests/lib/tools/toolsets/_fakes.py:258
Function
search
Search for something.
tests/lib/tools/toolsets/test_browser_runner.py:444
Function
search_available_tools
Search for useful tools using a query string
examples/tools_runner_search_tool.py:51
Method
send
Send Events Args: events: Events to send to the `session`. betas: This endpoint is in beta: requests must send
src/anthropic/resources/beta/sessions/events.py:440
Method
send
Send the staged messages and `messages` as one turn and return the reply. Keyword arguments apply to this turn only. Raises `AnthropicError` w
src/anthropic/lib/threads/_beta_threads.py:393
Method
send_twice
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3548
Method
send_x_api_key
(request: httpx2.Request)
tests/test_header_case_sensitivity.py:275
Method
sends
The spans of the requests that send the result of a tool call of the primary thread, and then of one of the thread `sthr_1`. The client se
tests/lib/tools/test_open_telemetry.py:2365
Function
sent_twice
(memory_id: str, **kwargs: Any)
tests/lib/tools/memory_sync/test_lost_response.py:115
Function
serve
(self: Any, context: Any, input: Any)
tests/lib/tools/toolsets/test_computer_interface.py:244
Function
serve_async
(self: Any, context: Any, input: Any)
tests/lib/tools/toolsets/test_computer_interface.py:247
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:182
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:303
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:431
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:512
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:593
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:674
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:61
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:448
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:854
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:887
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:920
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:953
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:142
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:242
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:349
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:410
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:471
Method
service_accounts
(self)
src/anthropic/resources/organization/organization.py:532
Method
service_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:60
Method
service_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:435
Method
service_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:829
Method
service_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:862
Method
service_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:895
Method
service_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:928
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:148
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:233
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:321
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:386
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:451
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:516
Function
sessions_create_request_attributes
What the span of a `sessions.create` call starts with that is not a field of the request's `body` as it is. Read when the span starts, and never
src/anthropic/lib/_tracing/_api_call.py:123
Method
set
Set a spend limit. Upsert keyed on (scope, period): setting a limit that already exists overwrites it in place. A Claude Ent
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:556
Method
set
Set or change an organization-owned Plugin's installation setting for the whole organization or for one RBAC Group. Writing
src/anthropic/resources/beta/organization/plugins/installation_settings.py:250
← previous
next →
4,701–4,800 of 12,274, ranked by callers