MCPcopy Create free account

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

Functions14,068 in github.com/anthropics/anthropic-sdk-python

Methodname
(self)
src/anthropic/lib/tools/_beta_functions.py:81
Methodname
(self)
src/anthropic/lib/tools/_beta_functions.py:99
Functionnavigate
()
tests/lib/tools/toolsets/test_runnable.py:38
Functionnavigate
()
tests/lib/tools/toolsets/test_runner.py:152
Methodnavigate
(self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput)
src/anthropic/lib/tools/_toolsets/_browser.py:336
Methodnavigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
src/anthropic/lib/tools/_toolsets/_browser.py:578
Methodnavigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/test_pipeline.py:81
Methodnavigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/test_pipeline.py:93
Methodnavigate
(self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput)
tests/lib/tools/toolsets/_fakes.py:168
Methodnavigate
( self, context: BetaToolsetCallContext, input: BetaBrowserNavigateInput )
tests/lib/tools/toolsets/_fakes.py:238
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:269
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
Functionnew_turn_with
(call: Call)
tests/lib/tools/test_session_runner.py:109
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:623
Methodno_default_credentials
(**_kwargs: object)
tests/test_client.py:2373
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:97
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:2917
Methodnoschema_cm
()
tests/lib/tools/test_functions.py:555
Functionnotes
(tmp_path: Path)
tests/lib/tools/memory_sync/test_e2e_memory.py:37
Methodnothing
(city: str)
tests/lib/tools/test_open_telemetry.py:418
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:595
Methodobserved_read_bytes
(self: pathlib.Path)
tests/lib/streaming/test_beta_messages.py:727
Methodobserved_set_attribute
(span: SdkSpan, key: str, value: Any)
tests/test_open_telemetry.py:2746
Methodon_end
(self, span: ReadableSpan)
tests/test_open_telemetry.py:7902
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:7897
Methodon_start
(self, span: Span, parent_context: object = None)
tests/lib/environments/test_poller.py:302
Functionon_virtual_clock
(workdir: str)
tests/lib/environments/_schedules.py:119
Methodone
()
src/anthropic/lib/tools/_file_store.py:207
Methodone_at_a_time
(attributes: dict[AttributeName, Any], limit: int)
tests/test_open_telemetry.py:6539
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:503
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:324
Methodorganization
(self)
src/anthropic/_client.py:728
Methodorganization
(self)
src/anthropic/_client.py:977
Methodorganization
(self)
src/anthropic/_client.py:1029
Methodorganization
(self)
src/anthropic/_client.py:1081
Methodorganization
(self)
src/anthropic/_client.py:1133
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
Methodother_worker_claims
(self)
tests/lib/environments/_fake_work_api.py:257
Methodouter
(request: APIRequest, call_next: CallNext)
tests/test_middleware.py:901
Methodouter
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1752
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:5052
Methodparse
( self, *, max_tokens: int, messages: Iterable[BetaMessageParam], mode
src/anthropic/resources/beta/messages/messages.py:1590
Methodparse
( self, *, max_tokens: int, messages: Iterable[BetaMessageParam], mode
src/anthropic/resources/beta/messages/messages.py:3963
Methodparse
( self, *, max_tokens: int, messages: Iterable[MessageParam], model: M
src/anthropic/resources/messages/messages.py:1440
Methodparse
( self, *, max_tokens: int, messages: Iterable[MessageParam], model: M
src/anthropic/resources/messages/messages.py:3262
Methodparse
Like `send()`, and parses the reply against the thread's `output_format` into `parsed_output`.
src/anthropic/lib/threads/_beta_threads.py:418
Methodparse
()
tests/lib/_parse/test_messages.py:364
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_then_stream
()
tests/lib/_parse/test_messages.py:137
Methodparse_then_stream
()
tests/lib/_parse/test_messages.py:301
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:1667
Methodparser
(response: BetaMessage)
src/anthropic/resources/beta/messages/messages.py:4040
Methodparser
(response: Message)
src/anthropic/resources/messages/messages.py:1508
Methodparser
(response: Message)
src/anthropic/resources/messages/messages.py:3330
Methodpassthrough
(fn: Callable[..., Any])
tests/lib/test_credentials.py:4185
← previousnext →4,801–4,900 of 14,068, ranked by callers