Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
9,455 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
9,455
◇
Types & classes
3,151
↳
Endpoints
25
Function
blocking
(_input: object)
tests/lib/environments/test_worker.py:1170
Function
blocking
(_input: object)
tests/lib/tools/test_session_runner.py:1480
Function
boom
(_input: dict[str, Any])
tests/lib/tools/test_session_runner.py:370
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:496
Method
build_request
(options: FinalRequestOptions)
tests/test_client.py:1563
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:102
Method
call
(self, input: object)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:215
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
(self, input: object)
tests/lib/tools/test_session_runner.py:268
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:892
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:802
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:340
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:802
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:289
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:672
Function
capture
(env: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:589
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:37
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:488
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:961
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:989
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1017
Method
certificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1045
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
Function
clean_env
(monkeypatch: pytest.MonkeyPatch)
tests/lib/test_credentials.py:78
Method
clear_all_memory
Clear all memory data.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:164
Method
clear_all_memory
Clear all memory data.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:277
Method
clear_all_memory
Override the base implementation to provide file system clearing.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:914
Function
client
( request: pytest.FixtureRequest, client: Anthropic, async_client: AsyncAnthropic )
tests/test_prepare.py:110
Function
client
(request: FixtureRequest)
tests/conftest.py:65
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:26
Function
client
(client: Anthropic)
tests/lib/tools/toolsets/test_runner.py:105
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:492
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:92
Method
close
(self)
tests/lib/test_credentials.py:3364
Method
close_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
src/anthropic/lib/tools/_toolsets/_browser.py:437
Method
close_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
src/anthropic/lib/tools/_toolsets/_browser.py:689
Method
close_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
tests/lib/tools/toolsets/_fakes.py:224
Method
close_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
tests/lib/tools/toolsets/_fakes.py:300
Method
closed
Whether the underlying bash process has exited / been torn down. Inverse of "alive". Named `closed` (not `alive`) to match the TS `Ba
src/anthropic/lib/tools/agent_toolset.py:477
Function
collect
(code: str)
scripts/utils/ruffen-docs.py:196
Method
collect_items
(dir_path: Path, relative_path: str, depth: int)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:423
Method
collect_items
(dir_path: AsyncPath, relative_path: str, depth: int)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:713
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:174
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:280
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:393
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:462
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:531
Method
compliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:600
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:126
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:208
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:297
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:342
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:387
Method
compliance_settings
(self)
src/anthropic/resources/organization/organization.py:432
Function
computed_field
(func: Any | None = None, /, **__: Any)
src/anthropic/_models.py:946
Method
config_path
(self)
src/anthropic/lib/credentials/_providers.py:212
Method
configs
The wire `configs`: yours, plus `enabled: False` for every member this class does not serve — what `to_dict()` sends. A copy: nothing you do t
src/anthropic/lib/tools/_toolsets/_computer.py:127
Method
configs
The wire `configs` that `to_dict()` sends: yours, plus `enabled: False` for every member this class does not serve. A copy: nothing you do to
src/anthropic/lib/tools/_toolsets/_browser.py:192
Function
confirm
(context: BetaConfirmContext | BetaComputerConfirmContext)
tests/lib/tools/test_runner_eager_toolsets.py:127
Function
confirm
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:330
Function
confirm
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_pipeline.py:359
Function
confirm
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_enforcement.py:184
Function
confirm_context
What the `confirm` callable receives: the member and its parsed input, and the tab the call targets (named, else active) with its URL, as of the l
src/anthropic/lib/tools/_toolsets/_pipeline.py:380
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:111
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:176
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:244
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:293
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:342
Method
connectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:391
Method
construct
( # type: ignore cls, _fields_set: set[str] | None = None, **values: Unpack[FinalRequ
src/anthropic/_models.py:1020
Method
copy
(self, **kwargs: Any)
src/anthropic/types/parsed_message.py:43
← previous
next →
2,401–2,500 of 9,455, ranked by callers