MCPcopy Create free account

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

Functions9,455 in github.com/anthropics/anthropic-sdk-python

Functionblocking
(_input: object)
tests/lib/environments/test_worker.py:1170
Functionblocking
(_input: object)
tests/lib/tools/test_session_runner.py:1480
Functionboom
(_input: dict[str, Any])
tests/lib/tools/test_session_runner.py:370
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:496
Methodbuild_request
(options: FinalRequestOptions)
tests/test_client.py:1563
Functionby_name
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:102
Functionby_tab
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:122
Methodcalculate
Original description that should be overridden.
tests/lib/tools/test_functions.py:410
Functioncall
(*args: Any, **kwargs: Any)
tests/lib/tools/memory_sync/test_lost_response.py:44
Methodcall
(self, input: object)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:102
Methodcall
(self, input: object)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:215
Methodcall
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:78
Methodcall
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:96
Methodcall
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:273
Methodcall
(self, input: object)
src/anthropic/lib/tools/_beta_functions.py:287
Methodcall
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
Methodcall
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
Methodcall
(self, input: object)
tests/lib/tools/test_session_runner.py:268
Methodcall
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/_stubs.py:56
Methodcall
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/_stubs.py:80
Methodcall
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/test_runnable.py:123
Methodcall
(self, context: BetaToolsetCallContext, name: str, input: object)
tests/lib/tools/toolsets/test_runnable.py:128
Methodcall
(self, context: object, name: str, input: object)
tests/lib/tools/toolsets/test_runnable.py:176
Functioncall_mcp
(**kwargs: Any)
src/anthropic/lib/tools/mcp.py:360
Methodcall_next
(req: APIRequest)
tests/lib/test_refusal_fallback_streaming.py:892
Methodcancel
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
Methodcancel
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
Methodcancel
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
Methodcancel
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
Methodcancel
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
Functioncapture
(env: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:589
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:37
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:488
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:961
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:989
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1017
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1045
Methodchat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:19
Methodchat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:44
Methodchat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:72
Methodchat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:81
Methodchat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:90
Methodchat
(self)
src/anthropic/resources/beta/organization/analytics/apps/apps.py:99
Functionclean_env
(monkeypatch: pytest.MonkeyPatch)
tests/lib/test_credentials.py:78
Methodclear_all_memory
Clear all memory data.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:164
Methodclear_all_memory
Clear all memory data.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:277
Methodclear_all_memory
Override the base implementation to provide file system clearing.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:914
Functionclient
( request: pytest.FixtureRequest, client: Anthropic, async_client: AsyncAnthropic )
tests/test_prepare.py:110
Functionclient
(request: FixtureRequest)
tests/conftest.py:65
Functionclient
(client: Anthropic)
tests/lib/tools/toolsets/test_computer_runner.py:31
Functionclient
(client: Anthropic)
tests/lib/tools/toolsets/test_browser_runner.py:26
Functionclient
(client: Anthropic)
tests/lib/tools/toolsets/test_runner.py:105
Functionclock
(monkeypatch: pytest.MonkeyPatch)
tests/lib/tools/memory_sync/conftest.py:27
Methodclose
Close the response and release the connection. Automatically called if the response body is read to completion.
src/anthropic/_response.py:492
Methodclose
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
Methodclose
Close the response body stream. This is called automatically if you consume the entire stream.
src/anthropic/_decoders/jsonl.py:92
Methodclose
(self)
tests/lib/test_credentials.py:3364
Methodclose_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
src/anthropic/lib/tools/_toolsets/_browser.py:437
Methodclose_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
src/anthropic/lib/tools/_toolsets/_browser.py:689
Methodclose_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
tests/lib/tools/toolsets/_fakes.py:224
Methodclose_tab
(self, context: BetaToolsetCallContext, input: BetaBrowserCloseTabInput)
tests/lib/tools/toolsets/_fakes.py:300
Methodclosed
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
Functioncollect
(code: str)
scripts/utils/ruffen-docs.py:196
Methodcollect_items
(dir_path: Path, relative_path: str, depth: int)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:423
Methodcollect_items
(dir_path: AsyncPath, relative_path: str, depth: int)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:713
Methodcompliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:174
Methodcompliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:280
Methodcompliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:393
Methodcompliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:462
Methodcompliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:531
Methodcompliance_settings
(self)
src/anthropic/resources/beta/organization/organization.py:600
Methodcompliance_settings
(self)
src/anthropic/resources/organization/organization.py:126
Methodcompliance_settings
(self)
src/anthropic/resources/organization/organization.py:208
Methodcompliance_settings
(self)
src/anthropic/resources/organization/organization.py:297
Methodcompliance_settings
(self)
src/anthropic/resources/organization/organization.py:342
Methodcompliance_settings
(self)
src/anthropic/resources/organization/organization.py:387
Methodcompliance_settings
(self)
src/anthropic/resources/organization/organization.py:432
Functioncomputed_field
(func: Any | None = None, /, **__: Any)
src/anthropic/_models.py:946
Methodconfig_path
(self)
src/anthropic/lib/credentials/_providers.py:212
Methodconfigs
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
Methodconfigs
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
Functionconfirm
(context: BetaConfirmContext | BetaComputerConfirmContext)
tests/lib/tools/test_runner_eager_toolsets.py:127
Functionconfirm
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:330
Functionconfirm
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_pipeline.py:359
Functionconfirm
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_enforcement.py:184
Functionconfirm_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
Methodconnectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:111
Methodconnectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:176
Methodconnectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:244
Methodconnectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:293
Methodconnectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:342
Methodconnectors
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:391
Methodconstruct
( # type: ignore cls, _fields_set: set[str] | None = None, **values: Unpack[FinalRequ
src/anthropic/_models.py:1020
Methodcopy
(self, **kwargs: Any)
src/anthropic/types/parsed_message.py:43
← previousnext →2,401–2,500 of 9,455, ranked by callers