MCPcopy Create free account

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

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

Methodget_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1047
Methodget_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1099
Methodget_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1216
Methodget_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/_fakes.py:204
Methodget_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/_fakes.py:278
Methodget_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/test_interface.py:269
Methodget_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/test_interface.py:286
Methodget_platform
()
tests/test_open_telemetry.py:2410
Functionget_required_header
(headers: HeadersLike, header: str)
src/anthropic/_utils/_utils.py:407
Functionget_time
Lookup the current time in a timezone.
tests/lib/tools/test_runners.py:1067
Functionget_transformed_string
Transforms a JSON schema of type string to ensure it conforms to the API's expectations. Specifically, it ensures that if the schema is of type "
src/anthropic/lib/_parse/_transform.py:79
Functionget_weather
Get the weather. Args: city: city name
tests/lib/test_bedrock.py:789
Functionget_weather
The weather in a city. Args: city: The city.
tests/lib/tools/test_open_telemetry.py:158
Functionget_weather
Lookup the weather for a given city in either celsius or fahrenheit Args: location: The city and state, e.g. San Francisco, CA un
examples/tools_runner.py:12
Functionget_weather
Lookup the weather for a given city in either celsius or fahrenheit Args: location: The city and state, e.g. San Francisco, CA un
examples/tools_runner_search_tool.py:15
Methodget_weather
Get the weather. Args: city: city name
tests/lib/test_vertex.py:634
Methodget_weather
Get the weather. Args: city: city name
tests/lib/test_vertex.py:1169
Methodget_weather
(city: str)
tests/lib/tools/test_open_telemetry.py:459
Methodget_weather
Lookup the weather for a given city in either celsius or fahrenheit Args: location: The city and state, e.g. San Francisc
tests/lib/tools/test_runners.py:188
Methodget_weather
Get the weather for a specific location.
tests/lib/tools/test_functions.py:21
Methodget_weather
(location: str)
tests/lib/threads/test_tool_runner_threading.py:356
Methodget_weather
(location: str)
tests/lib/threads/test_async_beta_threads.py:1331
Functionget_weather_async
(city: str)
tests/lib/tools/test_runners.py:1935
Methodget_weather_detailed
(location: str, unit: str = "celsius", include_forecast: bool = False)
tests/lib/tools/test_functions.py:332
Functiongetitimer
(_which: int)
tests/lib/tools/test_agent_toolset.py:850
Methodgive_up
(request: APIRequest, call_next: CallNext)
tests/test_middleware.py:853
Methodgive_up
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1783
Functionglob
List files matching a glob pattern, newest first.
src/anthropic/lib/tools/agent_toolset.py:828
Methodgoogle_credentials
The `google.auth` credentials in use (explicit or lazily-loaded ADC), if any. Distinct from `.credentials`, which is the base client's first-
src/anthropic/lib/google_cloud/_client.py:147
Functiongrep
Search file contents for a regular expression.
src/anthropic/lib/tools/agent_toolset.py:868
Methodhandle
(self, request: APIRequest, call_next: CallNext)
src/anthropic/_middleware.py:54
Methodhandle
(req: APIRequest)
src/anthropic/_base_client.py:1381
Methodhandle
(req: APIRequest)
src/anthropic/_base_client.py:2167
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:98
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:126
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:144
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:168
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:188
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:207
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:245
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:262
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:281
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:319
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:343
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:2083
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/lib/test_client_copy.py:174
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
src/anthropic/_middleware.py:57
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
src/anthropic/lib/middleware/_fallbacks.py:272
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:107
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:130
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:151
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:175
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:193
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:218
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:251
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:268
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:287
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:327
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:353
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/lib/test_client_copy.py:178
Methodhandle_async_request
( self, request: httpx.Request, )
src/anthropic/_vendor/httpx_aiohttp/transport.py:150
Methodhandle_async_request
( self, request: httpx2.Request, )
tests/test_client.py:82
Methodhandle_request
( self, request: httpx2.Request, )
tests/test_client.py:73
Functionhandler
(req: httpx2.Request)
tests/lib/test_scoped_client.py:128
Functionhandler
(_signum: int, _frame: object)
tests/lib/tools/test_agent_toolset.py:829
Methodhandler
(req: APIRequest)
tests/test_middleware.py:503
Methodhandler
(request: httpx2.Request)
tests/test_header_case_sensitivity.py:81
Methodhandler
(request: httpx2.Request)
tests/test_header_case_sensitivity.py:271
Methodhandler
(request: httpx2.Request)
tests/lib/test_credentials.py:2831
Functionhang
(_request: httpx2.Request)
tests/lib/tools/test_skills.py:538
Functionhanging_finish
(_self: memories_mod.SessionMemoryStores)
tests/lib/tools/memory_sync/test_e2e_memory.py:380
Functionhanging_flush
(_self: memories_mod.SessionMemoryStores)
tests/lib/tools/memory_sync/test_e2e_memory.py:342
Methodhas_next_page
(self)
src/anthropic/pagination.py:74
Methodhas_next_page
(self)
src/anthropic/pagination.py:110
Methodhas_next_page
(self)
src/anthropic/pagination.py:139
Methodhas_next_page
(self)
src/anthropic/pagination.py:167
Methodhas_next_page
(self)
src/anthropic/pagination.py:191
Methodhas_next_page
(self)
src/anthropic/pagination.py:216
Methodhas_next_page
(self)
src/anthropic/pagination.py:241
Methodhas_next_page
(self)
src/anthropic/pagination.py:267
Methodhas_next_page
(self)
src/anthropic/pagination.py:297
Methodhas_staged_messages
(self)
src/anthropic/lib/threads/_thread_state.py:245
Methodhash_all
()
src/anthropic/lib/tools/_file_store.py:192
Methodheaders
(self)
src/anthropic/_response.py:84
Methodheaders
(self)
src/anthropic/_request.py:49
Functionheartbeat
(work_id: str, env_id: str, stop: anyio.Event)
examples/managed-agents-observe-tool-calls.py:145
Methodheartbeat
Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating se
src/anthropic/resources/beta/environments/work.py:992
Methodheartbeat
( self, work_id: str, *, environment_id: str, expected_last_heartbeat:
tests/lib/environments/test_worker.py:105
Methodheartbeat
( self, work_id: str, # noqa: ARG002 *, environment_id: str,
tests/lib/environments/test_worker.py:1022
Methodheartbeat
(self, work_id: str, **_kwargs: Any)
tests/lib/environments/test_worker.py:1110
Methodheartbeat
(self, *_a: Any, **_kw: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:60
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_computer.py:209
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_computer.py:327
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_browser.py:387
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_browser.py:637
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
tests/lib/tools/toolsets/_fakes.py:192
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
tests/lib/tools/toolsets/_fakes.py:266
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
tests/lib/tools/toolsets/_computer_fakes.py:121
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
tests/lib/tools/toolsets/_computer_fakes.py:176
Functionhook
(_path: str)
tests/lib/tools/memory_sync/test_final_flush.py:105
← previousnext →3,701–3,800 of 12,431, ranked by callers