Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,274 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,274
◇
Types & classes
3,937
↳
Endpoints
46
Method
beta
(self)
src/anthropic/_client.py:1158
Method
beta
Return beta resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:208
Method
beta
Return beta resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:420
Function
beta_count_tokens
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:600
Function
beta_create
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:478
Function
beta_create_batch
(client: AnthropicBedrockMantle, user_profile_id: str | Omit)
tests/lib/test_bedrock_mantle.py:635
Function
beta_parse
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:499
Function
beta_stream
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:488
Function
beta_tool_runner
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:509
Function
blocking
(_input: object)
tests/lib/environments/test_worker.py:1202
Function
blocking
(_input: object)
tests/lib/tools/test_session_runner.py:1915
Method
blocks
(city: str)
tests/lib/tools/test_open_telemetry.py:404
Function
boom
(_input: dict[str, Any])
tests/lib/tools/test_session_runner.py:395
Function
boom
(*_a: Any, **_k: Any)
tests/lib/tools/memory_sync/test_memory_sync.py:550
Function
boom
(*_a: Any, **_k: Any)
tests/lib/tools/memory_sync/test_final_flush.py:245
Function
boom
(_path: str)
tests/lib/tools/memory_sync/test_two_pass.py:114
Function
bounded_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
Function
broken
(context: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_refusals.py:102
Function
broken
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:188
Function
broken_aexit
(self: agent_toolset.AgentToolContext, *exc: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:497
Method
browse
(_input: dict[str, Any])
tests/lib/tools/test_open_telemetry.py:2279
Method
build_request
(options: FinalRequestOptions)
tests/test_client.py:1714
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:43
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:76
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:112
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:129
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:146
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:163
Function
by_name
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:102
Function
by_tab
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:122
Method
calculate
Original description that should be overridden.
tests/lib/tools/test_functions.py:410
Function
call
(*args: Any, **kwargs: Any)
tests/lib/tools/memory_sync/test_lost_response.py:44
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:103
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:216
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:78
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:96
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:273
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:287
Method
call
The entry point the tool runner and `tool_result` use: runs one member call through the pipeline and returns its `tool_result` content.
src/anthropic/lib/tools/_toolsets/_base.py:266
Method
call
The entry point the tool runner and `tool_result` use. See the synchronous class's `call`. A cancelled task raises out of here at the member's
src/anthropic/lib/tools/_toolsets/_base.py:360
Method
call
(_: int)
tests/test_open_telemetry.py:2374
Method
call
(self, context: Any, name: str, input: object)
tests/lib/tools/test_open_telemetry.py:1747
Method
call
(self, input: object)
tests/lib/tools/test_session_runner.py:283
Method
call
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/_stubs.py:56
Method
call
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/_stubs.py:80
Method
call
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/test_runnable.py:123
Method
call
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/test_runnable.py:128
Method
call
(self, context: object, name: str, input: object)
tests/lib/tools/toolsets/test_runnable.py:176
Function
call_mcp
(**kwargs: Any)
src/anthropic/lib/tools/mcp.py:360
Method
call_next
(req: APIRequest)
tests/lib/test_refusal_fallback_streaming.py:923
Method
call_tool
(self, name: str, arguments: dict[str, Any])
tests/lib/tools/test_open_telemetry.py:1900
Method
callback
(old_params: Any)
tests/lib/threads/test_tool_runner_threading.py:651
Method
callback
(old_params: Any)
tests/lib/threads/test_async_beta_threads.py:1561
Method
cancel
Stop a `pending` or `running` dream. The response shows `status` as `canceled`, unless the dream reached `completed` or `fai
src/anthropic/resources/beta/dreams.py:845
Method
cancel
Batches may be canceled any time before processing ends. Once cancellation is initiated, the batch enters a `canceling` state, at whi
src/anthropic/resources/beta/messages/batches.py:370
Method
cancel
Batches may be canceled any time before processing ends. Once cancellation is initiated, the batch enters a `canceling` state, at whi
src/anthropic/resources/beta/messages/batches.py:874
Method
cancel
Batches may be canceled any time before processing ends. Once cancellation is initiated, the batch enters a `canceling` state, at whi
src/anthropic/resources/messages/batches.py:328
Method
cancel
Batches may be canceled any time before processing ends. Once cancellation is initiated, the batch enters a `canceling` state, at whi
src/anthropic/resources/messages/batches.py:767
Function
capture
(env: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:590
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:37
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:517
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1019
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1047
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1075
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1103
Method
chat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:19
Method
chat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:44
Method
chat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:72
Method
chat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:81
Method
chat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:90
Method
chat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:99
Method
chat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:19
Method
chat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:44
Method
chat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:72
Method
chat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:81
Method
chat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:90
Method
chat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:99
Method
check
(cls, value: str)
tests/test_models.py:1250
Method
claude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:234
Method
claude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:355
Method
claude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:483
Method
claude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:564
Method
claude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:645
Method
claude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:726
Function
clean_env
(monkeypatch: pytest.MonkeyPatch)
tests/lib/test_credentials.py:85
Method
clear_all_memory
Clear all memory data.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:165
Method
clear_all_memory
Clear all memory data.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:278
Method
clear_all_memory
Override the base implementation to provide file system clearing.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:922
Function
client
( request: pytest.FixtureRequest, client: Anthropic, async_client: AsyncAnthropic )
tests/test_prepare.py:110
Function
client
(request: FixtureRequest)
tests/conftest.py:79
Function
client
(client: Anthropic)
tests/lib/tools/toolsets/test_computer_runner.py:31
Function
client
(client: Anthropic)
tests/lib/tools/toolsets/test_browser_runner.py:27
Function
client
(client: Anthropic)
tests/lib/tools/toolsets/test_runner.py:110
Function
clock
(monkeypatch: pytest.MonkeyPatch)
tests/lib/tools/memory_sync/conftest.py:27
Method
close
Close the response and release the connection. Automatically called if the response body is read to completion.
src/anthropic/_response.py:494
Method
close
(self)
src/anthropic/_tracing.py:565
Method
close
Stop the runner early and end its span. Use it when you won't resume the runner with `until_done()`. Iterating a closed runner yields nothing
src/anthropic/lib/tools/_beta_runner.py:1177
Method
close
Release what the toolset holds when you are done. See the synchronous class's `close`. Marks the toolset closed, then waits for the calls alre
src/anthropic/lib/tools/_toolsets/_base.py:390
Method
close
Close the response body stream. This is called automatically if you consume the entire stream.
src/anthropic/_decoders/jsonl.py:104
Method
close
(self)
tests/lib/test_credentials.py:3486
← previous
next →
3,101–3,200 of 12,274, ranked by callers