MCPcopy Create free account

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

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

Methodparams
The thread as the arguments of one call for the whole conversation: its request fields, tools as given, output format, full history and `unsup
src/anthropic/lib/threads/_thread_state.py:220
Methodparent_arguments
Constructor arguments for a credential that brings the host `parent.example` and the workspace ID `wrkspc_parent`. The profile `other` brings
tests/lib/test_credentials.py:4571
Functionparse
(key: str)
tests/test_models.py:1176
Methodparse
( self, *, max_tokens: int, messages: Iterable[BetaMessageParam], mode
src/anthropic/resources/beta/messages/messages.py:1551
Methodparse
( self, *, max_tokens: int, messages: Iterable[BetaMessageParam], mode
src/anthropic/resources/beta/messages/messages.py:3883
Methodparse
( self, *, max_tokens: int, messages: Iterable[MessageParam], model: M
src/anthropic/resources/messages/messages.py:1444
Methodparse
( self, *, max_tokens: int, messages: Iterable[MessageParam], model: M
src/anthropic/resources/messages/messages.py:3243
Methodparse
Like `send()`, and parses the reply against the thread's `output_format` into `parsed_output`.
src/anthropic/lib/threads/_beta_threads.py:418
Functionparse_date
Parse a date/int/float/string and return a datetime.date. Raise ValueError if the input is well formatted but not a valid date. Raise Va
src/anthropic/_utils/_datetime_parse.py:106
Functionparse_datetime
Parse a datetime/int/float/string and return a datetime.datetime. This function supports time zone offsets. When the input contains one,
src/anthropic/_utils/_datetime_parse.py:69
Methodparse_unverified
Parses a webhook payload into an event without verifying its signature. Prefer `unwrap()` unless you have already verified the signat
src/anthropic/resources/beta/webhooks.py:15
Methodparse_unverified
Parses a webhook payload into an event without verifying its signature. Prefer `unwrap()` unless you have already verified the signat
src/anthropic/resources/beta/webhooks.py:62
Methodparsed_output
(self)
src/anthropic/types/parsed_message.py:78
Methodparsed_output
(self)
src/anthropic/types/beta/parsed_beta_message.py:90
Methodparsed_snapshot
(self)
src/anthropic/lib/streaming/_beta_types.py:29
Methodparser
(response: BetaMessage)
src/anthropic/resources/beta/messages/messages.py:1628
Methodparser
(response: BetaMessage)
src/anthropic/resources/beta/messages/messages.py:3960
Methodparser
(response: Message)
src/anthropic/resources/messages/messages.py:1512
Methodparser
(response: Message)
src/anthropic/resources/messages/messages.py:3311
Functionpassthrough
(client: Any, _key: str | None)
tests/lib/tools/test_session_runner.py:44
Methodpassthrough
(fn: Callable[..., Any])
tests/lib/test_credentials.py:3704
Methodpatch
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:2462
Methodpath
(self)
src/anthropic/lib/credentials/_providers.py:763
Methodpause
Pause Deployment Args: deployment_id: Unique identifier of the deployment to pause. betas: This endpoint is in
src/anthropic/resources/beta/deployments.py:1199
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:34
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:166
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:308
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:324
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:340
Methodpermissions
(self)
src/anthropic/resources/beta/organization/rbac_roles/rbac_roles.py:356
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:34
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:164
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:304
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:320
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:336
Methodpermissions
(self)
src/anthropic/resources/organization/rbac_roles/rbac_roles.py:352
Methodpin
(index: int)
src/anthropic/lib/middleware/_fallbacks.py:389
Functionplain
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:423
Methodplugin_marketplaces
(self)
src/anthropic/resources/beta/organization/organization.py:222
Methodplugin_marketplaces
(self)
src/anthropic/resources/beta/organization/organization.py:343
Methodplugin_marketplaces
(self)
src/anthropic/resources/beta/organization/organization.py:471
Methodplugin_marketplaces
(self)
src/anthropic/resources/beta/organization/organization.py:552
Methodplugin_marketplaces
(self)
src/anthropic/resources/beta/organization/organization.py:633
Methodplugin_marketplaces
(self)
src/anthropic/resources/beta/organization/organization.py:714
Methodplugins
(self)
src/anthropic/resources/beta/organization/organization.py:218
Methodplugins
(self)
src/anthropic/resources/beta/organization/organization.py:339
Methodplugins
(self)
src/anthropic/resources/beta/organization/organization.py:467
Methodplugins
(self)
src/anthropic/resources/beta/organization/organization.py:548
Methodplugins
(self)
src/anthropic/resources/beta/organization/organization.py:629
Methodplugins
(self)
src/anthropic/resources/beta/organization/organization.py:710
Methodplugins
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:131
Methodplugins
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:204
Methodplugins
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:280
Methodplugins
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:337
Methodplugins
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:394
Methodplugins
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:451
Methodplugins
(self)
src/anthropic/resources/organization/analytics/analytics.py:83
Methodplugins
(self)
src/anthropic/resources/organization/analytics/analytics.py:132
Methodplugins
(self)
src/anthropic/resources/organization/analytics/analytics.py:184
Methodplugins
(self)
src/anthropic/resources/organization/analytics/analytics.py:217
Methodplugins
(self)
src/anthropic/resources/organization/analytics/analytics.py:250
Methodplugins
(self)
src/anthropic/resources/organization/analytics/analytics.py:283
Functionpolicy
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:46
Methodpoll
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:1075
Methodpoll
(self, environment_id: str, **kwargs: Any)
tests/lib/environments/test_poller_method.py:91
Methodpoll
(self, _environment_id: str, **_kwargs: Any)
tests/lib/environments/test_worker.py:1246
Methodpost
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:2401
Functionpredicate
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:128
Methodprepare_options
(options: FinalRequestOptions)
tests/test_client.py:1475
Methodprepare_options
(options: FinalRequestOptions)
tests/test_client.py:2926
Methodprevious_message_id
The response `id` the next turn continues from, or `None` when the next turn starts a new thread.
src/anthropic/lib/threads/_beta_threads.py:93
Methodprevious_message_id
The `id` of the stored reply the next turn continues from, or `None` when it starts a new thread.
src/anthropic/lib/threads/_thread_state.py:91
Methodprofile
(self)
src/anthropic/lib/credentials/_providers.py:208
Functionprofile_config_dir
A fully-resolvable Anthropic profile (config + oauth credentials + base_url) that the base client's credential chain would adopt if it ever ran.
tests/lib/test_google_cloud.py:1224
Functionprofiles
()
tests/lib/test_bedrock.py:101
Methodproject_id
(self)
src/anthropic/lib/vertex/_client.py:47
Methodprojects
(self)
src/anthropic/resources/beta/organization/analytics/apps/chat/chat.py:19
Methodprojects
(self)
src/anthropic/resources/beta/organization/analytics/apps/chat/chat.py:44
Methodprojects
(self)
src/anthropic/resources/beta/organization/analytics/apps/chat/chat.py:72
Methodprojects
(self)
src/anthropic/resources/beta/organization/analytics/apps/chat/chat.py:81
Methodprojects
(self)
src/anthropic/resources/beta/organization/analytics/apps/chat/chat.py:90
Methodprojects
(self)
src/anthropic/resources/beta/organization/analytics/apps/chat/chat.py:99
Methodprojects
(self)
src/anthropic/resources/organization/analytics/apps/chat/chat.py:19
Methodprojects
(self)
src/anthropic/resources/organization/analytics/apps/chat/chat.py:44
Methodprojects
(self)
src/anthropic/resources/organization/analytics/apps/chat/chat.py:72
Methodprojects
(self)
src/anthropic/resources/organization/analytics/apps/chat/chat.py:81
Methodprojects
(self)
src/anthropic/resources/organization/analytics/apps/chat/chat.py:90
Methodprojects
(self)
src/anthropic/resources/organization/analytics/apps/chat/chat.py:99
Functionprompt
(context: Any)
tests/lib/tools/toolsets/test_computer_interface.py:161
Functionpropagator
()
tests/test_tracing.py:159
Functionprovide_token
()
tests/lib/test_client_copy.py:49
Methodprovider
(*, force_refresh: bool = False)
tests/lib/test_credentials.py:2766
Methodprovider
(*, force_refresh: bool = False)
tests/lib/test_credentials.py:3447
Methodprovider
(*, force_refresh: bool = False)
tests/lib/test_credentials.py:3614
Methodprovider
()
tests/lib/test_google_cloud.py:982
Methodpull_one
(rel: str, listed: BetaManagedAgentsMemory)
src/anthropic/lib/tools/_memories.py:757
Methodput
( self, path: str, *, cast_to: Type[ResponseT], body: Body | None = No
src/anthropic/_base_client.py:2486
Functionpytest_collection_modifyitems
(items: list[pytest.Function])
tests/conftest.py:40
Methodqs
(self)
src/anthropic/_base_client.py:782
Methodqs
(self)
src/anthropic/_client.py:365
← previousnext →4,301–4,400 of 12,274, ranked by callers