MCPcopy Create free account

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

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

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
Functionhook
(path: str)
tests/lib/tools/memory_sync/test_e2e_memory.py:425
Methodhover
(self, context: BetaToolsetCallContext, input: BetaBrowserHoverInput)
src/anthropic/lib/tools/_toolsets/_browser.py:360
Methodhover
(self, context: BetaToolsetCallContext, input: BetaBrowserHoverInput)
src/anthropic/lib/tools/_toolsets/_browser.py:606
Methodhttp_request
Returns the httpx Request instance associated with the current response.
src/anthropic/_response.py:88
Functionhttp_snapshot_serializer_options
()
tests/conftest.py:89
Methodhttp_version
(self)
src/anthropic/_response.py:106
Methodid
(self)
src/anthropic/_streaming.py:307
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:52
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:345
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:654
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:680
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:706
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:732
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:31
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:60
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:92
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:105
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:118
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:131
Functionincrement
(_input: dict[str, Any])
tests/lib/tools/test_session_runner.py:432
Methodinject
(self, carrier: Any, context: Context | None = None, setter: Any = None)
tests/test_open_telemetry.py:4099
Methodinject
(self, carrier: Any, context: Any = None, setter: Any = None)
tests/test_tracing.py:89
Functioninner
(func: CallableT)
src/anthropic/_utils/_utils.py:248
Methodinsert
(self, command: BetaMemoryTool20250818InsertCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:555
Methodinsert
(self, command: BetaMemoryTool20250818InsertCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:854
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:70
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:636
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1221
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1254
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1287
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1320
Methodinstrumentation_scope
The scope of the client's tracer: the SDK's name, and for a platform client the platform after it.
src/anthropic/lib/_tracing/_config.py:29
Functioninstrumented
(*args: Any, **kwargs: Any)
tests/lib/tools/test_open_telemetry.py:215
Functioninterrupted
(_request: httpx2.Request)
tests/lib/environments/test_poller_method.py:748
Functioninterrupted
(memory_store_id: str, **kwargs: Any)
tests/lib/tools/memory_sync/conftest.py:52
Methodinvalidate_then_let_s_finish
(cache: TokenCache)
tests/lib/test_credentials.py:2841
Methodinvites
(self)
src/anthropic/resources/beta/organization/organization.py:194
Methodinvites
(self)
src/anthropic/resources/beta/organization/organization.py:323
Methodinvites
(self)
src/anthropic/resources/beta/organization/organization.py:459
Methodinvites
(self)
src/anthropic/resources/beta/organization/organization.py:548
Methodinvites
(self)
src/anthropic/resources/beta/organization/organization.py:637
Methodinvites
(self)
src/anthropic/resources/beta/organization/organization.py:726
Methodinvites
(self)
src/anthropic/resources/organization/organization.py:138
Methodinvites
(self)
src/anthropic/resources/organization/organization.py:238
Methodinvites
(self)
src/anthropic/resources/organization/organization.py:345
Methodinvites
(self)
src/anthropic/resources/organization/organization.py:406
Methodinvites
(self)
src/anthropic/resources/organization/organization.py:467
Methodinvites
(self)
src/anthropic/resources/organization/organization.py:528
Methodis_closed
(self)
src/anthropic/_base_client.py:1145
Methodis_closed
(self)
src/anthropic/_base_client.py:1925
Functionis_iterable_type
If the given type is `typing.Iterable[T]`
src/anthropic/_utils/_typing.py:34
Functionis_literal_type
(tp: Type[Any])
src/anthropic/_utils/_compat.py:32
Methodis_path_visible
(self, path: str)
tests/lib/tools/toolsets/test_pipeline.py:248
Methodis_path_visible
(self, path: str)
tests/lib/tools/toolsets/test_pipeline.py:299
Methodis_path_visible
(self, path: str)
tests/lib/tools/toolsets/test_enforcement.py:307
Functionis_tuple
(obj: object)
src/anthropic/_utils/_utils.py:170
Functionis_union
(tp: Optional[Type[Any]])
src/anthropic/_utils/_compat.py:23
Methodissuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:27
Methodissuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:56
Methodissuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:88
Methodissuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:101
Methodissuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:114
Methodissuers
(self)
src/anthropic/resources/beta/organization/federation/federation.py:127
Methodissuers
(self)
src/anthropic/resources/organization/federation/federation.py:27
Methodissuers
(self)
src/anthropic/resources/organization/federation/federation.py:56
Methodissuers
(self)
src/anthropic/resources/organization/federation/federation.py:88
Methodissuers
(self)
src/anthropic/resources/organization/federation/federation.py:101
Methodissuers
(self)
src/anthropic/resources/organization/federation/federation.py:114
Methodissuers
(self)
src/anthropic/resources/organization/federation/federation.py:127
Methoditem
(self, item: object, /)
src/anthropic/_tracing.py:484
Methoditem
(self, item: object)
src/anthropic/_tracing.py:499
Methoditem
(self, event: object)
src/anthropic/lib/_tracing/_streaming.py:72
Methoditer_bytes
A byte-iterator over the decoded response content. This automatically handles gzip, deflate and brotli encoded responses.
src/anthropic/_response.py:501
Methoditer_bytes
Given an iterator that yields raw binary data, iterate over it & yield every event encountered
src/anthropic/_streaming.py:449
Methoditer_bytes
Given an iterator that yields lines, iterate over it & yield every event encountered
src/anthropic/lib/bedrock/_stream_decoder.py:31
Methoditer_lines
Like `iter_text()` but will only yield chunks for each line
src/anthropic/_response.py:518
Methoditer_text
A str-iterator over the decoded response content that handles both gzip, deflate, etc but also detects the content's string encoding.
src/anthropic/_response.py:397
Methoditer_text
A str-iterator over the decoded response content that handles both gzip, deflate, etc but also detects the content's string encoding.
src/anthropic/_response.py:510
Methoditerator
()
src/anthropic/lib/tools/_beta_session_runner.py:573
Functionitself
(held: _T)
tests/utils.py:269
Methodjavascript_exec
Default-disabled. Page content can steer what the model asks to run, so enabling it takes a `confirm` callable, which sees every call first. T
src/anthropic/lib/tools/_toolsets/_browser.py:417
Methodjavascript_exec
Default-disabled. Page content can steer what the model asks to run, so enabling it takes a `confirm` callable, which sees every call first. T
src/anthropic/lib/tools/_toolsets/_browser.py:667
Methodjavascript_exec
(self, context: BetaToolsetCallContext, input: BetaBrowserJavascriptExecInput)
tests/lib/tools/test_runner_eager_tools.py:1059
Methodjavascript_exec
(self, context: BetaToolsetCallContext, input: BetaBrowserJavascriptExecInput)
tests/lib/tools/test_runner_eager_tools.py:1066
← previousnext →3,801–3,900 of 12,522, ranked by callers