Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
13,873 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
13,873
◇
Types & classes
4,472
↳
Endpoints
93
Method
middle_click
(self, context: BetaToolsetCallContext, input: BetaComputerMiddleClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:238
Method
middle_click
(self, context: BetaToolsetCallContext, input: BetaComputerMiddleClickInput)
src/anthropic/lib/tools/_toolsets/_computer.py:360
Method
middle_click
(self, context: BetaToolsetCallContext, input: BetaBrowserMiddleClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:351
Method
middle_click
(self, context: BetaToolsetCallContext, input: BetaBrowserMiddleClickInput)
src/anthropic/lib/tools/_toolsets/_browser.py:597
Function
middleware
(request: APIRequest, call_next: CallNext)
tests/lib/test_credentials.py:2509
Method
middleware
The client-level middleware, outermost first. To run extra middleware for specific calls, derive a client with `client.with_options(m
src/anthropic/_base_client.py:853
Function
mirror_request_content
(request: httpx2.Request)
tests/test_client.py:58
Function
misuse
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:120
Function
mock_aws_config
( profiles: t.List[AwsConfigProfile], monkeypatch: t.Any, )
tests/lib/test_bedrock.py:109
Method
mock_handler
(request: httpx2.Request)
tests/test_client.py:1072
Method
mock_handler
(request: httpx2.Request)
tests/test_client.py:2527
Method
model_fields_set
(self)
src/anthropic/_models.py:156
Method
model_id
(self)
tests/test_models.py:510
Function
model_parse_json
(model: type[_ModelT], data: str | bytes)
src/anthropic/_compat.py:129
Method
models
(self)
src/anthropic/_client.py:320
Method
models
(self)
src/anthropic/_client.py:728
Method
models
(self)
src/anthropic/_client.py:981
Method
models
(self)
src/anthropic/_client.py:1033
Method
models
(self)
src/anthropic/_client.py:1085
Method
models
(self)
src/anthropic/_client.py:1137
Method
models
(self)
src/anthropic/resources/beta/beta.py:140
Method
models
(self)
src/anthropic/resources/beta/beta.py:232
Method
models
(self)
src/anthropic/resources/beta/beta.py:327
Method
models
(self)
src/anthropic/resources/beta/beta.py:399
Method
models
(self)
src/anthropic/resources/beta/beta.py:471
Method
models
(self)
src/anthropic/resources/beta/beta.py:543
Method
models
Models endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:196
Method
models
Models endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:408
Function
most_utf8_size
The most that `utf8_size` can be, without reading `text`: no character is more than four bytes.
src/anthropic/lib/_tracing/_content.py:155
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaComputerMouseMoveInput)
src/anthropic/lib/tools/_toolsets/_computer.py:220
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaComputerMouseMoveInput)
src/anthropic/lib/tools/_toolsets/_computer.py:338
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaBrowserMouseMoveInput)
src/anthropic/lib/tools/_toolsets/_browser.py:372
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaBrowserMouseMoveInput)
src/anthropic/lib/tools/_toolsets/_browser.py:622
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaComputerMouseMoveInput)
tests/lib/tools/toolsets/_computer_fakes.py:101
Method
mouse_move
(self, context: BetaToolsetCallContext, input: BetaComputerMouseMoveInput)
tests/lib/tools/toolsets/_computer_fakes.py:156
Method
multiply
Multiply two numbers.
tests/lib/tools/test_functions.py:375
Function
my_async_provider
(*, force_refresh: bool = False)
examples/workload_identity.py:172
Function
my_provider
(*, force_refresh: bool = False)
examples/workload_identity.py:147
Method
name
(self)
src/anthropic/lib/tools/_tool_dispatch.py:141
Method
name
(self)
src/anthropic/lib/tools/_beta_functions.py:81
Method
name
(self)
src/anthropic/lib/tools/_beta_functions.py:99
Function
navigate
()
tests/lib/tools/toolsets/test_runnable.py:38
Function
navigate
()
tests/lib/tools/toolsets/test_runner.py:152
Method
navigate
(self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput)
src/anthropic/lib/tools/_toolsets/_browser.py:336
Method
navigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
src/anthropic/lib/tools/_toolsets/_browser.py:578
Method
navigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/test_pipeline.py:81
Method
navigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/test_pipeline.py:93
Method
navigate
(self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput)
tests/lib/tools/toolsets/_fakes.py:168
Method
navigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/_fakes.py:238
Method
navigate
(self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput)
tests/lib/tools/toolsets/test_interface.py:50
Method
navigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/test_interface.py:60
Method
navigate
( # pyright: ignore[reportIncompatibleMethodOverride] self, context: BetaToolsetCallContext, inpu
tests/lib/tools/toolsets/test_interface.py:244
Method
navigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/test_interface.py:257
Method
navigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/test_interface.py:307
Function
navigate_async
()
tests/lib/tools/toolsets/test_browser_runner.py:356
Method
never_respond
(_request: httpx2.Request)
tests/lib/threads/test_async_beta_threads.py:417
Function
new
(server: Server | None = None, open_telemetry: OpenTelemetryClientOption = None)
tests/test_tracing.py:129
Function
new_error
(error_class: type[AnthropicError], *args: object)
src/anthropic/_exceptions.py:267
Method
new_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserNewTabInput)
src/anthropic/lib/tools/_toolsets/_browser.py:424
Method
new_tab
( self, context: BetaToolsetCallContext, input: BetaBrowserNewTabInput )
src/anthropic/lib/tools/_toolsets/_browser.py:674
Method
new_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserNewTabInput)
tests/lib/tools/toolsets/_fakes.py:208
Method
new_tab
( self, context: BetaToolsetCallContext, input: BetaBrowserNewTabInput )
tests/lib/tools/toolsets/_fakes.py:282
Function
new_turn_with
(call: Call)
tests/lib/tools/test_session_runner.py:108
Method
next_page_info
(self)
src/anthropic/pagination.py:45
Method
next_page_info
(self)
src/anthropic/pagination.py:82
Method
next_page_info
(self)
src/anthropic/pagination.py:118
Method
next_page_info
(self)
src/anthropic/pagination.py:147
Function
no_ambient_credentials
No API key, auth token or credentials provider discoverable from the environment.
tests/test_header_case_sensitivity.py:39
Function
no_changes
()
src/anthropic/lib/tools/_toolsets/_results.py:28
Method
no_default_credentials
(**_kwargs: object)
tests/test_client.py:596
Method
no_default_credentials
(**_kwargs: object)
tests/test_client.py:2047
Function
no_default_creds_file
Point the config directory at an empty location so a real ~/.config/anthropic/ on the dev machine doesn't leak into tests. Patches `_config_d
tests/lib/test_credentials.py:97
Method
no_docs
(x: int)
tests/lib/tools/test_functions.py:191
Function
no_internal
(context: Any, url: str)
tests/lib/tools/toolsets/test_confirm.py:236
Function
no_logout
(context: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_refusals.py:93
Method
no_types
(x, y=10)
tests/lib/tools/test_functions.py:199
Function
no_wait
(*_args: object, **_kwargs: object)
tests/test_open_telemetry.py:2916
Method
noschema_cm
()
tests/lib/tools/test_functions.py:555
Function
notes
(tmp_path: Path)
tests/lib/tools/memory_sync/test_e2e_memory.py:28
Method
nothing
(city: str)
tests/lib/tools/test_open_telemetry.py:418
Method
notices
(self)
src/anthropic/resources/beta/compliance/review/review.py:39
Method
notices
(self)
src/anthropic/resources/beta/compliance/review/review.py:72
Method
notices
(self)
src/anthropic/resources/beta/compliance/review/review.py:108
Method
notices
(self)
src/anthropic/resources/beta/compliance/review/review.py:125
Method
notices
(self)
src/anthropic/resources/beta/compliance/review/review.py:142
Method
notices
(self)
src/anthropic/resources/beta/compliance/review/review.py:159
Function
observe_as_self_hosted_worker
Secondary scenario — NOT called by main(); shown for reference. Use this shape when you *are* a self-hosted worker (you poll a work queue and
examples/managed-agents-observe-tool-calls.py:119
Method
observed_read_bytes
(self: pathlib.Path)
tests/lib/streaming/test_messages.py:548
Method
observed_read_bytes
(self: pathlib.Path)
tests/lib/streaming/test_beta_messages.py:727
Method
observed_set_attribute
(span: SdkSpan, key: str, value: Any)
tests/test_open_telemetry.py:2745
Method
on_end
(self, span: ReadableSpan)
tests/test_open_telemetry.py:7900
Method
on_start
(self, span: SdkSpan, parent_context: context.Context | None = None)
tests/test_open_telemetry.py:705
Method
on_start
(self, span: SdkSpan, parent_context: context.Context | None = None)
tests/test_open_telemetry.py:7895
Method
on_start
(self, span: Span, parent_context: object = None)
tests/lib/environments/test_poller.py:302
Function
on_virtual_clock
(workdir: str)
tests/lib/environments/_schedules.py:119
Method
one
()
src/anthropic/lib/tools/_file_store.py:207
Method
one_at_a_time
(attributes: dict[AttributeName, Any], limit: int)
tests/test_open_telemetry.py:6537
Method
open_telemetry
This client's `open_telemetry` option, with `propagation` and every field of its `traces` set. The fields that the option given to the client
src/anthropic/_base_client.py:501
Method
opened
(self)
src/anthropic/lib/middleware/_fallbacks.py:856
Method
opened_tab_id
The `tab_id` of the tab a `new_tab` call opened, from the tab entry it returned, or `None` for any other call or result.
src/anthropic/lib/tools/_toolsets/_pipeline.py:76
← previous
next →
4,701–4,800 of 13,873, ranked by callers