MCPcopy Create free account

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

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

Methodnavigate
(self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput)
tests/lib/tools/toolsets/test_interface.py:50
Methodnavigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/test_interface.py:60
Methodnavigate
( # pyright: ignore[reportIncompatibleMethodOverride] self, context: BetaToolsetCallContext, inpu
tests/lib/tools/toolsets/test_interface.py:244
Methodnavigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/test_interface.py:257
Methodnavigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/test_interface.py:307
Functionnavigate_async
()
tests/lib/tools/toolsets/test_browser_runner.py:356
Methodnever_respond
(_request: httpx2.Request)
tests/lib/threads/test_async_beta_threads.py:417
Functionnew
(server: Server | None = None, open_telemetry: OpenTelemetryClientOption = None)
tests/test_tracing.py:129
Functionnew_error
(error_class: type[AnthropicError], *args: object)
src/anthropic/_exceptions.py:267
Methodnew_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserNewTabInput)
src/anthropic/lib/tools/_toolsets/_browser.py:424
Methodnew_tab
( self, context: BetaToolsetCallContext, input: BetaBrowserNewTabInput )
src/anthropic/lib/tools/_toolsets/_browser.py:674
Methodnew_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserNewTabInput)
tests/lib/tools/toolsets/_fakes.py:208
Methodnew_tab
( self, context: BetaToolsetCallContext, input: BetaBrowserNewTabInput )
tests/lib/tools/toolsets/_fakes.py:282
Methodnext_page_info
(self)
src/anthropic/pagination.py:45
Methodnext_page_info
(self)
src/anthropic/pagination.py:82
Methodnext_page_info
(self)
src/anthropic/pagination.py:118
Methodnext_page_info
(self)
src/anthropic/pagination.py:147
Functionno_ambient_credentials
No API key, auth token or credentials provider discoverable from the environment.
tests/test_header_case_sensitivity.py:39
Functionno_changes
()
src/anthropic/lib/tools/_toolsets/_results.py:28
Methodno_default_credentials
(**_kwargs: object)
tests/test_client.py:596
Methodno_default_credentials
(**_kwargs: object)
tests/test_client.py:2047
Functionno_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:92
Methodno_docs
(x: int)
tests/lib/tools/test_functions.py:191
Functionno_internal
(context: Any, url: str)
tests/lib/tools/toolsets/test_confirm.py:236
Functionno_logout
(context: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_refusals.py:93
Methodno_types
(x, y=10)
tests/lib/tools/test_functions.py:199
Functionno_wait
(*_args: object, **_kwargs: object)
tests/test_open_telemetry.py:2916
Methodnoschema_cm
()
tests/lib/tools/test_functions.py:555
Methodnothing
(city: str)
tests/lib/tools/test_open_telemetry.py:408
Methodnotices
(self)
src/anthropic/resources/beta/compliance/review/review.py:39
Methodnotices
(self)
src/anthropic/resources/beta/compliance/review/review.py:72
Methodnotices
(self)
src/anthropic/resources/beta/compliance/review/review.py:108
Methodnotices
(self)
src/anthropic/resources/beta/compliance/review/review.py:125
Methodnotices
(self)
src/anthropic/resources/beta/compliance/review/review.py:142
Methodnotices
(self)
src/anthropic/resources/beta/compliance/review/review.py:159
Functionobserve_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
Methodobserved_read_bytes
(self: pathlib.Path)
tests/lib/streaming/test_messages.py:527
Methodobserved_read_bytes
(self: pathlib.Path)
tests/lib/streaming/test_beta_messages.py:706
Methodobserved_set_attribute
(span: SdkSpan, key: str, value: Any)
tests/test_open_telemetry.py:2745
Methodon_end
(self, span: ReadableSpan)
tests/test_open_telemetry.py:7900
Methodon_start
(self, span: SdkSpan, parent_context: context.Context | None = None)
tests/test_open_telemetry.py:705
Methodon_start
(self, span: SdkSpan, parent_context: context.Context | None = None)
tests/test_open_telemetry.py:7895
Methodone
()
src/anthropic/lib/tools/_file_store.py:207
Methodone_at_a_time
(attributes: dict[AttributeName, Any], limit: int)
tests/test_open_telemetry.py:6537
Methodopen_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
Methodopen_telemetry
(self)
tests/lib/tools/test_session_runner.py:301
Methodopened
(self)
src/anthropic/lib/middleware/_fallbacks.py:856
Methodopened_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
Methodorganization
(self)
src/anthropic/_client.py:347
Methodorganization
(self)
src/anthropic/_client.py:758
Methodorganization
(self)
src/anthropic/_client.py:1014
Methodorganization
(self)
src/anthropic/_client.py:1066
Methodorganization
(self)
src/anthropic/_client.py:1118
Methodorganization
(self)
src/anthropic/_client.py:1170
Methodorganization
(self)
src/anthropic/resources/beta/beta.py:207
Methodorganization
(self)
src/anthropic/resources/beta/beta.py:299
Methodorganization
(self)
src/anthropic/resources/beta/beta.py:390
Methodorganization
(self)
src/anthropic/resources/beta/beta.py:462
Methodorganization
(self)
src/anthropic/resources/beta/beta.py:534
Methodorganization
(self)
src/anthropic/resources/beta/beta.py:606
Methodoutput_format
(self)
src/anthropic/lib/threads/_thread_state.py:238
Methodparams
The arguments of a `client.beta.messages.thread()` call for the whole conversation, in a new dict.
src/anthropic/lib/threads/_beta_threads.py:98
Methodparams
The thread as the arguments of one call for the whole conversation: its request fields, tools as given, output format, full history and `unsup
src/anthropic/lib/threads/_thread_state.py:220
Methodparent_arguments
Constructor arguments for a credential that brings the host `parent.example` and the workspace ID `wrkspc_parent`. The profile `other` brings
tests/lib/test_credentials.py:4571
Functionparse
(key: str)
tests/test_models.py:1195
Methodparse
( self, *, max_tokens: int, messages: Iterable[BetaMessageParam], mode
src/anthropic/resources/beta/messages/messages.py:1575
Methodparse
( self, *, max_tokens: int, messages: Iterable[BetaMessageParam], mode
src/anthropic/resources/beta/messages/messages.py:3931
Methodparse
( self, *, max_tokens: int, messages: Iterable[MessageParam], model: M
src/anthropic/resources/messages/messages.py:1425
Methodparse
( self, *, max_tokens: int, messages: Iterable[MessageParam], model: M
src/anthropic/resources/messages/messages.py:3230
Methodparse
Like `send()`, and parses the reply against the thread's `output_format` into `parsed_output`.
src/anthropic/lib/threads/_beta_threads.py:418
Functionparse_date
Parse a date/int/float/string and return a datetime.date. Raise ValueError if the input is well formatted but not a valid date. Raise Va
src/anthropic/_utils/_datetime_parse.py:106
Functionparse_datetime
Parse a datetime/int/float/string and return a datetime.datetime. This function supports time zone offsets. When the input contains one,
src/anthropic/_utils/_datetime_parse.py:69
Methodparse_unverified
Parses a webhook payload into an event without verifying its signature. Prefer `unwrap()` unless you have already verified the signat
src/anthropic/resources/beta/webhooks.py:15
Methodparse_unverified
Parses a webhook payload into an event without verifying its signature. Prefer `unwrap()` unless you have already verified the signat
src/anthropic/resources/beta/webhooks.py:62
Methodparsed_output
(self)
src/anthropic/types/parsed_message.py:78
Methodparsed_output
(self)
src/anthropic/types/beta/parsed_beta_message.py:90
Methodparsed_snapshot
(self)
src/anthropic/lib/streaming/_beta_types.py:29
Methodparser
(response: BetaMessage)
src/anthropic/resources/beta/messages/messages.py:1652
Methodparser
(response: BetaMessage)
src/anthropic/resources/beta/messages/messages.py:4008
Methodparser
(response: Message)
src/anthropic/resources/messages/messages.py:1493
Methodparser
(response: Message)
src/anthropic/resources/messages/messages.py:3298
Functionpassthrough
(client: Any, _key: str | None)
tests/lib/tools/test_session_runner.py:44
Methodpassthrough
(fn: Callable[..., Any])
tests/lib/test_credentials.py:3704
Methodpatch
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:2475
Methodpath
(self)
src/anthropic/lib/credentials/_providers.py:763
Methodpause
Pause Deployment Args: deployment_id: Unique identifier of the deployment to pause. betas: This endpoint is in
src/anthropic/resources/beta/deployments.py:1199
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:34
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:166
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:308
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:324
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:340
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:356
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:34
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:164
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:304
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:320
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:336
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:352
Methodpin
(index: int)
src/anthropic/lib/middleware/_fallbacks.py:389
Functionplain
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:423
← previousnext →4,401–4,500 of 12,795, ranked by callers