MCPcopy Create free account

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

Functions14,068 in github.com/anthropics/anthropic-sdk-python

Functionasync_lookup
Look up a key.
tests/lib/tools/test_runner_eager_tools.py:1023
Functionasync_lookup
Lookup the population of a given city. Args: location: The city, e.g. San Francisco
tests/lib/threads/helpers.py:153
Functionasync_main
()
tests/lib/environments/_schedules.py:159
Functionasync_navigate
()
tests/lib/tools/toolsets/test_runnable.py:49
Functionasync_navigate
()
tests/lib/tools/toolsets/test_runner.py:163
Methodasync_only
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1400
Functionasync_parse
(response: AsyncAPIResponse[AsyncStream[object]])
tests/utils.py:366
Functionasync_parsed_raw_response
(request: AsyncRequest)
tests/utils.py:362
Functionasync_policy
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:134
Methodasync_refuse
(_request: Any, _call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3577
Methodasync_renumber
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3492
Functionasync_search
Search for something.
tests/lib/tools/toolsets/test_browser_runner.py:448
Methodasync_send_twice
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3553
Functionasync_snapshot_client
( is_recording: bool, http_snapshot_serializer_options: SnapshotSerializerOptions, http_snapshot:
tests/conftest.py:111
Functionasync_stream
(request: AsyncRequest)
tests/utils.py:354
Functionasync_stream
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:530
Methodasync_stream_parse
(client: AsyncAnthropic)
tests/lib/_parse/test_beta_messages.py:21
Methodasync_token_provider
()
tests/lib/test_azure.py:141
Methodattach_memory
(self, files: Mapping[str, str], mount_path: Path, access: str = "read_write")
tests/lib/environments/_fake_work_api.py:275
Methodattach_skills
(self, *ids: str)
tests/lib/environments/_fake_work_api.py:269
Methodauth_headers
(self)
src/anthropic/_base_client.py:864
Methodauth_headers
(self)
src/anthropic/_client.py:350
Methodauth_headers
(self)
src/anthropic/_client.py:754
Methodauth_headers
(self)
src/anthropic/lib/foundry.py:288
Methodauth_headers
(self)
src/anthropic/lib/foundry.py:499
Methodauth_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:225
Methodauth_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:415
Methodauth_headers
(self)
src/anthropic/lib/google_cloud/_client.py:360
Methodauth_headers
(self)
src/anthropic/lib/google_cloud/_client.py:579
Methodbase_handler
(req: APIRequest)
src/anthropic/_base_client.py:1456
Methodbase_handler
(req: APIRequest)
src/anthropic/_base_client.py:2257
Methodbase_url
(self)
src/anthropic/_base_client.py:911
Methodbase_url
(self)
src/anthropic/lib/bedrock/_client.py:123
Methodbase_url
(self)
src/anthropic/lib/google_cloud/_client.py:114
Functionbash
( command: Optional[str] = None, restart: Optional[bool] = None, timeout_ms: Optional[int] = None
src/anthropic/lib/tools/agent_toolset.py:891
Functionbash
(ctx: AgentToolContext)
tests/lib/tools/test_agent_toolset.py:1004
Functionbash_tool
Run a bash command in a persistent shell. State (cwd, env vars) persists across calls.
src/anthropic/lib/tools/agent_toolset.py:883
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:103
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:2476
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4862
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4881
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4897
Methodbatches
(self)
src/anthropic/resources/beta/messages/messages.py:4913
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:74
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:1897
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3729
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3745
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3761
Methodbatches
(self)
src/anthropic/resources/messages/messages.py:3777
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:400
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:330
Methodbeta
(self)
src/anthropic/_client.py:734
Methodbeta
(self)
src/anthropic/_client.py:983
Methodbeta
(self)
src/anthropic/_client.py:1035
Methodbeta
(self)
src/anthropic/_client.py:1087
Methodbeta
(self)
src/anthropic/_client.py:1139
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:1077
Methodblocks
(city: str)
tests/lib/tools/test_open_telemetry.py:414
Methodbody
()
tests/test_client.py:1738
Methodbody
()
tests/test_client.py:3545
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:281
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:2094
Functionbuild_then_rotate
(client: AsyncAnthropic, session_id: str, *, tools: Any)
tests/lib/tools/test_session_runner.py:2166
Functionbuild_then_set
(client: AsyncAnthropic, session_id: str, *, tools: Any)
tests/lib/tools/test_session_runner.py:2103
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:832
← previousnext →3,401–3,500 of 14,068, ranked by callers