MCPcopy Create free account

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

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

Methodretrieve_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
Methodretrieve_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
Methodretry
(self)
src/anthropic/_streaming.py:311
Methodretry_handler
(_request: httpx2.Request)
tests/test_client.py:1363
Methodretry_handler
(_request: httpx2.Request)
tests/test_client.py:2814
Methodreveal_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
Functionrewrite
(params: dict[str, Any])
tests/lib/threads/helpers.py:600
Methodright_click
(self, context: BetaToolsetCallContext, input: BetaComputerRightClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:235
Methodright_click
(self, context: BetaToolsetCallContext, input: BetaComputerRightClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:357
Methodright_click
(self, context: BetaToolsetCallContext, input: BetaBrowserRightClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:348
Methodright_click
(self, context: BetaToolsetCallContext, input: BetaBrowserRightClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:594
Methodroots
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
Methodrotate_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
Methodrules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:31
Methodrules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:60
Methodrules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:92
Methodrules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:105
Methodrules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:118
Methodrules
(self)
src/anthropic/resources/beta/organization/federation/federation.py:131
Methodrules
(self)
src/anthropic/resources/organization/federation/federation.py:31
Methodrules
(self)
src/anthropic/resources/organization/federation/federation.py:60
Methodrules
(self)
src/anthropic/resources/organization/federation/federation.py:92
Methodrules
(self)
src/anthropic/resources/organization/federation/federation.py:105
Methodrules
(self)
src/anthropic/resources/organization/federation/federation.py:118
Methodrules
(self)
src/anthropic/resources/organization/federation/federation.py:131
Methodrun
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
Functionrun_async
()
tests/lib/tools/test_runners.py:1620
Functionrun_async
()
tests/lib/tools/toolsets/test_browser_runner.py:397
Methodrun_leader
()
tests/lib/test_credentials.py:4145
Methodrun_waiter
()
tests/lib/test_credentials.py:4158
Methodscope
(self)
src/anthropic/lib/credentials/_workload.py:194
Functionscoped_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
Functionscreenshot
Custom tool sharing a computer member's name.
tests/lib/tools/toolsets/test_runner.py:274
Methodscreenshot
(self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput)
src/anthropic/lib/tools/_toolsets/_computer.py:253
Methodscreenshot
( self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput )
src/anthropic/lib/tools/_toolsets/_computer.py:375
Methodscreenshot
(self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput)
src/anthropic/lib/tools/_toolsets/_browser.py:339
Methodscreenshot
( self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput )
src/anthropic/lib/tools/_toolsets/_browser.py:583
Methodscreenshot
(self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput)
tests/lib/tools/toolsets/_fakes.py:172
Methodscreenshot
( self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput )
tests/lib/tools/toolsets/_fakes.py:244
Methodscreenshot
(self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput)
tests/lib/tools/toolsets/test_interface.py:54
Methodscreenshot
( self, context: BetaToolsetCallContext, input: BetaBrowserScreenshotInput )
tests/lib/tools/toolsets/test_interface.py:66
Methodscreenshot
(self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput)
tests/lib/tools/toolsets/test_computer_interface.py:39
Methodscreenshot
( self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput )
tests/lib/tools/toolsets/test_computer_interface.py:221
Methodscreenshot
(self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput)
tests/lib/tools/toolsets/_computer_fakes.py:87
Methodscreenshot
( self, context: BetaToolsetCallContext, input: BetaComputerScreenshotInput )
tests/lib/tools/toolsets/_computer_fakes.py:140
Methodscroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
src/anthropic/lib/tools/_toolsets/_computer.py:247
Methodscroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
src/anthropic/lib/tools/_toolsets/_computer.py:369
Methodscroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
src/anthropic/lib/tools/_toolsets/_browser.py:375
Methodscroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
src/anthropic/lib/tools/_toolsets/_browser.py:625
Methodscroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
tests/lib/tools/toolsets/_fakes.py:180
Methodscroll
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollInput)
tests/lib/tools/toolsets/_fakes.py:254
Methodscroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
tests/lib/tools/toolsets/_computer_fakes.py:125
Methodscroll
(self, context: BetaToolsetCallContext, input: BetaComputerScrollInput)
tests/lib/tools/toolsets/_computer_fakes.py:180
Methodscroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
src/anthropic/lib/tools/_toolsets/_browser.py:378
Methodscroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
src/anthropic/lib/tools/_toolsets/_browser.py:628
Methodscroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
tests/lib/tools/toolsets/_fakes.py:184
Methodscroll_to
(self, context: BetaToolsetCallContext, input: BetaBrowserScrollToInput)
tests/lib/tools/toolsets/_fakes.py:258
Functionsearch
Search for something.
tests/lib/tools/toolsets/test_browser_runner.py:444
Functionsearch_available_tools
Search for useful tools using a query string
examples/tools_runner_search_tool.py:51
Methodsend
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
Methodsend
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
Methodsend_twice
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3548
Methodsend_x_api_key
(request: httpx2.Request)
tests/test_header_case_sensitivity.py:275
Methodsends
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
Functionsent_twice
(memory_id: str, **kwargs: Any)
tests/lib/tools/memory_sync/test_lost_response.py:115
Functionserve
(self: Any, context: Any, input: Any)
tests/lib/tools/toolsets/test_computer_interface.py:244
Functionserve_async
(self: Any, context: Any, input: Any)
tests/lib/tools/toolsets/test_computer_interface.py:247
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:182
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:303
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:431
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:512
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:593
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/organization.py:674
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:61
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:448
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:854
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:887
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:920
Methodservice_accounts
(self)
src/anthropic/resources/beta/organization/workspaces/workspaces.py:953
Methodservice_accounts
(self)
src/anthropic/resources/organization/organization.py:142
Methodservice_accounts
(self)
src/anthropic/resources/organization/organization.py:242
Methodservice_accounts
(self)
src/anthropic/resources/organization/organization.py:349
Methodservice_accounts
(self)
src/anthropic/resources/organization/organization.py:410
Methodservice_accounts
(self)
src/anthropic/resources/organization/organization.py:471
Methodservice_accounts
(self)
src/anthropic/resources/organization/organization.py:532
Methodservice_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:60
Methodservice_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:435
Methodservice_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:829
Methodservice_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:862
Methodservice_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:895
Methodservice_accounts
(self)
src/anthropic/resources/organization/workspaces/workspaces.py:928
Methodsessions
(self)
src/anthropic/resources/beta/beta.py:148
Methodsessions
(self)
src/anthropic/resources/beta/beta.py:233
Methodsessions
(self)
src/anthropic/resources/beta/beta.py:321
Methodsessions
(self)
src/anthropic/resources/beta/beta.py:386
Methodsessions
(self)
src/anthropic/resources/beta/beta.py:451
Methodsessions
(self)
src/anthropic/resources/beta/beta.py:516
Functionsessions_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
Methodset
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
Methodset
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
← previousnext →4,701–4,800 of 12,274, ranked by callers