MCPcopy Create free account

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

Functions13,873 in github.com/anthropics/anthropic-sdk-python

Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:2465
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4840
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4859
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4875
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4891
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:74
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:1886
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3707
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3723
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3739
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3755
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
Methodbefore_step
(self, session: FakeSession)
tests/lib/tools/test_session_runner_properties.py:398
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:761
Methodbeta
(self)
src/anthropic/_client.py:1014
Methodbeta
(self)
src/anthropic/_client.py:1066
Methodbeta
(self)
src/anthropic/_client.py:1118
Methodbeta
(self)
src/anthropic/_client.py:1170
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
Methodblock
(self)
tests/lib/environments/test_fake_work_api.py:124
Methodblock_event_loop
It breaks the requests in flight and delays the steps that follow.
tests/lib/environments/_fake_work_api.py:318
Functionblocking
(_: object)
tests/lib/environments/test_worker.py:434
Functionblocking
(_input: object)
tests/lib/tools/test_session_runner.py:1076
Methodblocks
(city: str)
tests/lib/tools/test_open_telemetry.py:414
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
Functionborrowed_threads
(_input: object)
tests/lib/tools/test_session_runner.py:280
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_tools
(_env: AgentToolContext)
tests/lib/environments/test_worker.py:89
Methodbuild_request
(options: FinalRequestOptions)
tests/test_client.py:1768
Functionbuild_then_rotate
(client: AsyncAnthropic, session_id: str, *, tools: Any)
tests/lib/tools/test_session_runner.py:2129
Functionbuild_then_set
(client: AsyncAnthropic, session_id: str, *, tools: Any)
tests/lib/tools/test_session_runner.py:2066
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_method
(client: AsyncAnthropic, **options: Any)
tests/lib/environments/test_worker.py:949
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
(input: dict[str, Any])
tests/lib/tools/_fake_sessions_api.py:824
Functioncall
()
tests/lib/tools/test_session_runner.py:1985
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)
tests/lib/environments/test_worker_properties.py:324
Methodcall
(self, id: str, seconds: float = 0, cancel_after: float = math.inf)
tests/lib/tools/test_session_runner_properties.py:585
Methodcall
(self, context: Any, name: str, input: object)
tests/lib/tools/test_open_telemetry.py:1757
Methodcall
(self, input: object)
tests/lib/tools/_fake_sessions_api.py:816
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:926
Methodcall_tool
(self, name: str, arguments: dict[str, Any])
tests/lib/tools/test_open_telemetry.py:1910
Methodcallback
(old_params: Any)
tests/lib/threads/test_tool_runner_threading.py:651
Methodcalls
(self)
tests/lib/tools/_fake_sessions_api.py:161
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:372
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:878
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:330
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:771
Functioncandidates
(api: FakeApi)
tests/lib/environments/test_worker_properties.py:92
Functioncandidates
(session: FakeSession)
tests/lib/tools/test_session_runner_properties.py:145
Functioncandidates
(_session: FakeSession)
tests/lib/tools/test_fake_sessions_api.py:341
Functioncases
(names: str, **rows: Any)
tests/lib/tools/_fake_sessions_api.py:867
Methodcases
(self)
src/anthropic/resources/beta/compliance/review/review.py:35
Methodcases
(self)
src/anthropic/resources/beta/compliance/review/review.py:68
Methodcases
(self)
src/anthropic/resources/beta/compliance/review/review.py:104
Methodcases
(self)
src/anthropic/resources/beta/compliance/review/review.py:121
Methodcases
(self)
src/anthropic/resources/beta/compliance/review/review.py:138
Methodcases
(self)
src/anthropic/resources/beta/compliance/review/review.py:155
← previousnext →3,401–3,500 of 13,873, ranked by callers