Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,522 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,522
◇
Types & classes
4,093
↳
Endpoints
47
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:198
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:327
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:463
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:552
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:641
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:730
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:67
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:568
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:1088
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:1121
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:1154
Method
service_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:1187
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:443
Method
service_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:845
Method
service_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:878
Method
service_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:911
Method
service_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:944
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:148
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:236
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:327
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:395
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:463
Method
sessions
(self)
src/anthropic/resources/beta/beta.py:531
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
Create or replace an RBAC Group's Claude Code managed settings. New settings join the end of `rbac_group_order`, and existing settin
src/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.py:300
Method
set
Create or replace an RBAC Group's Claude Code managed settings. New settings join the end of `rbac_group_order`, and existing settin
src/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.py:676
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:253
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:579
Method
set_attribute
(self, key: str, value: Any)
tests/test_tracing.py:45
Function
setup_logging
()
src/anthropic/_utils/_logs.py:16
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:74
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:640
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1225
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1258
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1291
Method
shares
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1324
Method
should_sample
(self, *args: Any, **kwargs: Any)
tests/test_open_telemetry.py:200
Method
should_sample
(self, *args: Any, **kwargs: Any)
tests/lib/environments/test_poller_method.py:607
Method
should_sample
(self, *args: Any, **kwargs: Any)
tests/lib/tools/test_open_telemetry.py:1013
Method
sign_out
Sign a member out of Claude everywhere, without removing them from the organization. This ends their sign-in sessions and removes the
src/anthropic/resources/beta/organization/users.py:597
Function
silent
(_input: dict[str, Any])
tests/lib/tools/test_session_runner.py:371
Method
simple_add
Add two numbers together.
tests/lib/tools/test_functions.py:421
Method
simple_func
A simple function.
tests/lib/tools/test_functions.py:172
Method
simple_function
A simple function with basic parameter types.
tests/lib/tools/test_functions.py:46
← previous
next →
4,801–4,900 of 12,522, ranked by callers