MCPcopy Create free account

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

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

Functionasync_beta_parse
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:566
Functionasync_beta_stream
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:553
Functionasync_beta_tool_runner
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:578
Functionasync_client
(request: FixtureRequest)
tests/conftest.py:124
Functionasync_client
()
tests/lib/test_google_cloud_live.py:46
Functionasync_client
(async_client: AsyncAnthropic)
tests/lib/tools/toolsets/test_computer_runner.py:36
Functionasync_client
(async_client: AsyncAnthropic)
tests/lib/tools/toolsets/test_browser_runner.py:32
Functionasync_client
(async_client: AsyncAnthropic)
tests/lib/tools/toolsets/test_runner.py:115
Methodasync_client
(self)
tests/lib/test_bedrock_mantle.py:688
Functionasync_count_tokens
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:609
Functionasync_create
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:520
Functionasync_create_batch
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit)
tests/lib/test_bedrock_mantle.py:639
Functionasync_files_from_dir
(directory: str | os.PathLike[str])
src/anthropic/lib/_files.py:28
Methodasync_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1339
Methodasync_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1881
Methodasync_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:2164
Functionasync_get_weather
The weather in a city. Args: city: The city.
tests/lib/tools/test_open_telemetry.py:169
Functionasync_get_weather
Lookup the weather for a given city. Args: location: The city, e.g. San Francisco
tests/lib/threads/helpers.py:135
Functionasync_key
A function tool named like the computer toolset's `key` tool.
tests/lib/tools/test_runner_eager_toolsets.py:62
Functionasync_local_filesystem_tool
(temp_directory: str)
tests/lib/tools/memory_tools/test_filesystem.py:40
Functionasync_lookup
Look up a key.
tests/lib/tools/test_runner_eager_tools.py:1022
Functionasync_lookup
Lookup the population of a given city. Args: location: The city, e.g. San Francisco
tests/lib/threads/helpers.py:153
Functionasync_navigate
()
tests/lib/tools/toolsets/test_runnable.py:49
Functionasync_navigate
()
tests/lib/tools/toolsets/test_runner.py:163
Methodasync_only
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1257
Functionasync_parse
(response: AsyncAPIResponse[AsyncStream[object]])
tests/utils.py:348
Functionasync_parsed_raw_response
(request: AsyncRequest)
tests/utils.py:344
Functionasync_policy
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:134
Methodasync_refuse
(_request: Any, _call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3576
Methodasync_renumber
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3491
Functionasync_search
Search for something.
tests/lib/tools/toolsets/test_browser_runner.py:448
Methodasync_send_twice
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3552
Functionasync_snapshot_client
( is_recording: bool, http_snapshot_serializer_options: SnapshotSerializerOptions, http_snapshot:
tests/conftest.py:111
Functionasync_stream
(request: AsyncRequest)
tests/utils.py:336
Functionasync_stream
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:530
Methodasync_stream_parse
(client: AsyncAnthropic)
tests/lib/_parse/test_beta_messages.py:21
Methodasync_token_provider
()
tests/lib/test_azure.py:141
Methodauth_headers
(self)
src/anthropic/_base_client.py:795
Methodauth_headers
(self)
src/anthropic/_client.py:373
Methodauth_headers
(self)
src/anthropic/_client.py:784
Methodauth_headers
(self)
src/anthropic/lib/foundry.py:288
Methodauth_headers
(self)
src/anthropic/lib/foundry.py:499
Methodauth_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:226
Methodauth_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:416
Methodauth_headers
(self)
src/anthropic/lib/google_cloud/_client.py:360
Methodauth_headers
(self)
src/anthropic/lib/google_cloud/_client.py:579
Methodbase_handler
(req: APIRequest)
src/anthropic/_base_client.py:1365
Methodbase_handler
(req: APIRequest)
src/anthropic/_base_client.py:2151
Methodbase_url
(self)
src/anthropic/_base_client.py:842
Methodbase_url
(self)
src/anthropic/lib/google_cloud/_client.py:114
Functionbash
( command: Optional[str] = None, restart: Optional[bool] = None, timeout_ms: Optional[int] = None
src/anthropic/lib/tools/agent_toolset.py:621
Methodbash
(self)
src/anthropic/lib/tools/agent_toolset.py:296
Functionbash_tool
Run a command in a persistent bash shell.
src/anthropic/lib/tools/agent_toolset.py:603
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:103
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:2459
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4828
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4847
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4863
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4879
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:74
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:1880
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3695
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3711
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3727
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3743
Methodbatches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:48
Methodbatches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:56
Methodbatches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:72
Methodbatches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:80
Methodbegin
Called when a `Stream` or an `AsyncStream` starts to parse the body. Never called when the application reads the bytes itself.
src/anthropic/_tracing.py:477
Methodbegin
(self)
src/anthropic/_tracing.py:496
Methodbegin
(self)
src/anthropic/lib/_tracing/_streaming.py:69
Methodbeta
(self)
src/anthropic/_client.py:353
Methodbeta
(self)
src/anthropic/_client.py:764
Methodbeta
(self)
src/anthropic/_client.py:1020
Methodbeta
(self)
src/anthropic/_client.py:1072
Methodbeta
(self)
src/anthropic/_client.py:1124
Methodbeta
(self)
src/anthropic/_client.py:1176
Methodbeta
Return beta resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:208
Methodbeta
Return beta resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:420
Functionbeta_count_tokens
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:600
Functionbeta_create
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:478
Functionbeta_create_batch
(client: AnthropicBedrockMantle, user_profile_id: str | Omit)
tests/lib/test_bedrock_mantle.py:635
Functionbeta_parse
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:499
Functionbeta_stream
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:488
Functionbeta_tool_runner
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:509
Functionblocking
(_input: object)
tests/lib/environments/test_worker.py:1202
Functionblocking
(_input: object)
tests/lib/tools/test_session_runner.py:1915
Methodblocks
(city: str)
tests/lib/tools/test_open_telemetry.py:404
Functionboom
(_input: dict[str, Any])
tests/lib/tools/test_session_runner.py:395
Functionboom
(*_a: Any, **_k: Any)
tests/lib/tools/memory_sync/test_memory_sync.py:550
Functionboom
(*_a: Any, **_k: Any)
tests/lib/tools/memory_sync/test_final_flush.py:245
Functionboom
(_path: str)
tests/lib/tools/memory_sync/test_two_pass.py:114
Functionbounded_result
`result` as the record keeps it: the line a pure action returned is folded to one line and cut. Anything else is kept as returned.
src/anthropic/lib/tools/_toolsets/_pipeline.py:288
Functionbroken
(context: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_refusals.py:102
Functionbroken
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:188
Functionbroken_aexit
(self: agent_toolset.AgentToolContext, *exc: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:497
Methodbrowse
(_input: dict[str, Any])
tests/lib/tools/test_open_telemetry.py:2279
Methodbuild_request
(options: FinalRequestOptions)
tests/test_client.py:1768
Methodbundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:43
← previousnext →3,101–3,200 of 12,795, ranked by callers