MCPcopy Create free account

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

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

Methodbeta
(self)
src/anthropic/_client.py:1158
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:1714
Methodbundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:43
Methodbundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:76
Methodbundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:112
Methodbundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:129
Methodbundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:146
Methodbundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:163
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:103
Methodcall
(self, input: object)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:216
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
(_: int)
tests/test_open_telemetry.py:2374
Methodcall
(self, context: Any, name: str, input: object)
tests/lib/tools/test_open_telemetry.py:1747
Methodcall
(self, input: object)
tests/lib/tools/test_session_runner.py:283
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:923
Methodcall_tool
(self, name: str, arguments: dict[str, Any])
tests/lib/tools/test_open_telemetry.py:1900
Methodcallback
(old_params: Any)
tests/lib/threads/test_tool_runner_threading.py:651
Methodcallback
(old_params: Any)
tests/lib/threads/test_async_beta_threads.py:1561
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:845
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:370
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:874
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:328
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:767
Functioncapture
(env: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:590
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:37
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:517
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1019
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1047
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1075
Methodcertificates
(self)
src/anthropic/resources/beta/tunnels/tunnels.py:1103
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
Methodchat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:19
Methodchat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:44
Methodchat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:72
Methodchat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:81
Methodchat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:90
Methodchat
(self)
src/anthropic/resources/organization/analytics/apps/apps.py:99
Methodcheck
(cls, value: str)
tests/test_models.py:1250
Methodclaude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:234
Methodclaude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:355
Methodclaude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:483
Methodclaude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:564
Methodclaude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:645
Methodclaude_tag
(self)
src/anthropic/resources/beta/organization/organization.py:726
Functionclean_env
(monkeypatch: pytest.MonkeyPatch)
tests/lib/test_credentials.py:85
Methodclear_all_memory
Clear all memory data.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:165
Methodclear_all_memory
Clear all memory data.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:278
Methodclear_all_memory
Override the base implementation to provide file system clearing.
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:922
Functionclient
( request: pytest.FixtureRequest, client: Anthropic, async_client: AsyncAnthropic )
tests/test_prepare.py:110
Functionclient
(request: FixtureRequest)
tests/conftest.py:79
Functionclient
(client: Anthropic)
tests/lib/tools/toolsets/test_computer_runner.py:31
Functionclient
(client: Anthropic)
tests/lib/tools/toolsets/test_browser_runner.py:27
Functionclient
(client: Anthropic)
tests/lib/tools/toolsets/test_runner.py:110
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:494
Methodclose
(self)
src/anthropic/_tracing.py:565
Methodclose
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
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:104
Methodclose
(self)
tests/lib/test_credentials.py:3486
← previousnext →3,101–3,200 of 12,274, ranked by callers