MCPcopy Create free account

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

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

Method__init__
( self, *, thread: BetaMessageThread[ResponseFormatT] | None, params: ParseMes
src/anthropic/lib/tools/_beta_runner.py:617
Method__init__
( self, *, thread: BetaMessageThread[ResponseFormatT], options: TurnOverrides,
src/anthropic/lib/tools/_beta_runner.py:906
Method__init__
( self, *, thread: BetaMessageThread[ResponseFormatT], options: TurnOverrides,
src/anthropic/lib/tools/_beta_runner.py:962
Method__init__
( self, *, thread: BetaAsyncMessageThread[ResponseFormatT] | None, params: Par
src/anthropic/lib/tools/_beta_runner.py:1136
Method__init__
( self, *, thread: BetaAsyncMessageThread[ResponseFormatT], options: TurnOverr
src/anthropic/lib/tools/_beta_runner.py:1451
Method__init__
( self, *, thread: BetaAsyncMessageThread[ResponseFormatT], options: TurnOverr
src/anthropic/lib/tools/_beta_runner.py:1507
Method__init__
(self)
src/anthropic/lib/tools/_beta_runner.py:1677
Method__init__
(self, *, file_path: str, start_line: int, end_line: int, limit: int)
src/anthropic/lib/tools/_files.py:39
Method__init__
(self, *, cache_control: BetaCacheControlEphemeralParam | None = None)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:202
Method__init__
(self, base_path: str = "./memory")
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:394
Method__init__
(self, base_path: str = "./memory")
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:676
Method__init__
(self, reason: str, rel_path: str)
src/anthropic/lib/tools/_file_store.py:46
Method__init__
Use `BashSession.start` to construct — `__init__` takes an already-spawned process and is intended for internal use.
src/anthropic/lib/tools/agent_toolset.py:524
Method__init__
(self, proc: subprocess.Popen[bytes])
src/anthropic/lib/tools/agent_toolset.py:721
Method__init__
(self, sentinel: str)
src/anthropic/lib/tools/agent_toolset.py:754
Method__init__
(self, sentinel: str)
src/anthropic/lib/tools/agent_toolset.py:782
Method__init__
(self)
src/anthropic/lib/tools/agent_toolset.py:874
Method__init__
( self, func: CallableT, *, name: str | None = None, description: str
src/anthropic/lib/tools/_beta_functions.py:147
Method__init__
(self, *, func: Callable[..., Any], parsed_docstring: Any)
src/anthropic/lib/tools/_beta_functions.py:232
Method__init__
Args: client: The async Anthropic client. session_id: The managed-agents session to attach to. tools: The tools
src/anthropic/lib/tools/_beta_session_runner.py:334
Method__init__
( self, *, runner: SessionToolRunner, results: MemoryObjectSendStream[Dispatch
src/anthropic/lib/tools/_beta_session_runner.py:434
Method__init__
(self, seen_before: Mapping[str, float])
src/anthropic/lib/tools/_beta_session_runner.py:708
Method__init__
(self, id: str)
src/anthropic/lib/tools/_beta_session_runner.py:898
Method__init__
(self, *, limit: int | None, tasks: TaskGroup, after_each: Callable[[], None])
src/anthropic/lib/tools/_beta_session_runner.py:909
Method__init__
(self, session_id: str)
src/anthropic/lib/tools/_beta_session_runner.py:956
Method__init__
(self, max_idle: float | None)
src/anthropic/lib/tools/_beta_session_runner.py:978
Method__init__
( self, *, runner: SessionToolRunner, call: DispatchedToolUseEvent, co
src/anthropic/lib/tools/_beta_session_runner.py:1005
Method__init__
( self, client: AsyncAnthropic, *, workdir: str | os.PathLike[str], sy
src/anthropic/lib/tools/_memories.py:256
Method__init__
( self, *, configs: BetaComputerToolsetConfigsParam | None, confirm: _ConfirmT
src/anthropic/lib/tools/_toolsets/_computer.py:105
Method__init__
A computer toolset with the given options; a mistake in them raises `ToolsetConfigError` here. Args: configs: The `configs` objec
src/anthropic/lib/tools/_toolsets/_computer.py:153
Method__init__
An asynchronous computer toolset with the given options; `confirm` may be a plain or an `async` callable here. A mistake in the options raises
src/anthropic/lib/tools/_toolsets/_computer.py:272
Method__init__
(self)
src/anthropic/lib/tools/_toolsets/_base.py:153
Method__init__
(self, what: str, *, twin: str)
src/anthropic/lib/tools/_toolsets/_base.py:160
Method__init__
(self, what: str, *, twin: str)
src/anthropic/lib/tools/_toolsets/_base.py:165
Method__init__
( self, cls: type[BaseToolset[Any, Any, Any]], *, registry: Registry[_NameT, _
src/anthropic/lib/tools/_toolsets/_base.py:183
Method__init__
(self, options: BaseToolsetOptions[_NameT, _InputT, _ConfirmT])
src/anthropic/lib/tools/_toolsets/_base.py:234
Method__init__
(self, options: BaseToolsetOptions[_NameT, _InputT, _ConfirmT])
src/anthropic/lib/tools/_toolsets/_base.py:251
Method__init__
(self, options: BaseToolsetOptions[_NameT, _InputT, _ConfirmT])
src/anthropic/lib/tools/_toolsets/_base.py:344
Method__init__
(self, *, context: BetaToolsetCallContext, name: str, raw_input: Mapping[str, object])
src/anthropic/lib/tools/_toolsets/_pipeline.py:50
Method__init__
(self)
src/anthropic/lib/tools/_toolsets/_pipeline.py:154
Method__init__
(self, exc: Exception)
src/anthropic/lib/tools/_toolsets/_browser.py:102
Method__init__
( self, *, configs: BetaBrowserToolsetConfigsParam | None, confirm: BetaConfir
src/anthropic/lib/tools/_toolsets/_browser.py:161
Method__init__
A browser toolset with the given options. A mistake in them raises `ToolsetConfigError` here. Args: configs: The `configs` object
src/anthropic/lib/tools/_toolsets/_browser.py:214
Method__init__
An asynchronous browser toolset with the given options. `confirm` and `url_policy` may be plain or `async` callables here. A mistake in the op
src/anthropic/lib/tools/_toolsets/_browser.py:454
Method__init__
(self, action: Literal["add", "replace", "remove"], toolset_name: str)
src/anthropic/lib/tools/_toolsets/_errors.py:63
Method__init__
(self, name: str, *, family: ToolsetFamily)
src/anthropic/lib/tools/_toolsets/_errors.py:84
Method__init__
(self, name: str)
src/anthropic/lib/tools/_toolsets/_errors.py:91
Method__init__
(self, name: str, *, family: ToolsetFamily)
src/anthropic/lib/tools/_toolsets/_errors.py:100
Method__init__
(self, name: str, problem: str, *, family: ToolsetFamily)
src/anthropic/lib/tools/_toolsets/_errors.py:108
Method__init__
(self)
src/anthropic/lib/tools/_toolsets/_errors.py:124
Method__init__
(self, name: str)
src/anthropic/lib/tools/_toolsets/_errors.py:133
Method__init__
(self, name: str)
src/anthropic/lib/tools/_toolsets/_errors.py:142
Method__init__
(self, reason: str)
src/anthropic/lib/tools/_toolsets/_errors.py:153
Method__init__
(self)
src/anthropic/lib/tools/_toolsets/_errors.py:160
Method__init__
(self)
src/anthropic/lib/tools/_toolsets/_errors.py:167
Method__init__
( self, *, upload_roots: Sequence[str | os.PathLike[str]] = (), upload_documen
src/anthropic/lib/tools/_toolsets/_security.py:176
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/bedrock/_beta.py:91
Method__init__
(self, beta: Beta)
src/anthropic/lib/bedrock/_beta.py:101
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/bedrock/_beta.py:111
Method__init__
(self, messages: Messages)
src/anthropic/lib/bedrock/_beta_messages.py:71
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/bedrock/_beta_messages.py:83
Method__init__
(self, messages: Messages)
src/anthropic/lib/bedrock/_beta_messages.py:95
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/bedrock/_beta_messages.py:104
Method__init__
( self, *, cast_to: type[_T], response: httpx2.Response, client: Async
src/anthropic/lib/bedrock/_stream.py:28
Method__init__
( self, *, aws_access_key: str | None = None, aws_secret_key: str | None = Non
src/anthropic/lib/bedrock/_mantle.py:346
Method__init__
( self, aws_secret_key: str | None = None, aws_access_key: str | None = None,
src/anthropic/lib/bedrock/_client.py:337
Method__init__
(self)
src/anthropic/lib/bedrock/_stream_decoder.py:26
Method__init__
( self, *, owned_event: Optional[_EventT], force: bool, advisory_fallb
src/anthropic/lib/credentials/_cache.py:57
Method__init__
( self, provider: AccessTokenProvider | AsyncAccessTokenProvider, *, advisory_
src/anthropic/lib/credentials/_cache.py:115
Method__init__
(self, token_cache: TokenCache)
src/anthropic/lib/credentials/_auth.py:72
Method__init__
(self, token: str)
src/anthropic/lib/credentials/_providers.py:121
Method__init__
(self, env_var: str = ENV_AUTH_TOKEN)
src/anthropic/lib/credentials/_providers.py:132
Method__init__
( self, profile: Optional[str] = None, *, http_client: Optional[httpx2.Client]
src/anthropic/lib/credentials/_providers.py:188
Method__init__
(self, path: Union[str, "os.PathLike[str]", None] = None)
src/anthropic/lib/credentials/_providers.py:758
Method__init__
( self, config: Dict[str, Any], *, identity_token_provider: Optional[IdentityT
src/anthropic/lib/credentials/_providers.py:830
Method__init__
(self, type_name: str)
src/anthropic/lib/credentials/_secrets.py:25
Method__init__
( self, message: str, *, status_code: Optional[int] = None, body: Any
src/anthropic/lib/credentials/_workload.py:114
Method__init__
( self, *, identity_token_provider: IdentityTokenProvider, federation_rule_id:
src/anthropic/lib/credentials/_workload.py:159
Method__init__
(self)
src/anthropic/lib/middleware/_fallbacks.py:80
Method__init__
Args: fallbacks: The fallback chain, tried in order. An empty chain disables the middleware. betas:
src/anthropic/lib/middleware/_fallbacks.py:178
Method__init__
( self, *, index_base: int, has_next: bool, splice: _SpliceInfo | None
src/anthropic/lib/middleware/_fallbacks.py:830
Method__init__
(self, body: dict[str, Any])
src/anthropic/lib/middleware/_fallbacks.py:1091
Method__init__
(self, index_base: int = 0)
src/anthropic/lib/middleware/_fallbacks.py:1275
Method__init__
(self, frames: Generator[bytes, None, None])
src/anthropic/lib/middleware/_fallbacks.py:1695
Method__init__
(self, frames: AsyncGenerator[bytes, None])
src/anthropic/lib/middleware/_fallbacks.py:1708
Method__init__
(self, *, library: str, extra: str)
src/anthropic/lib/_extras/_common.py:12
Method__init__
( self, raw_stream: Stream[BetaRawMessageStreamEvent], output_format: ResponseFormatT
src/anthropic/lib/streaming/_beta_messages.py:53
Method__init__
( self, api_request: Callable[[], Stream[BetaRawMessageStreamEvent]], *, outpu
src/anthropic/lib/streaming/_beta_messages.py:188
Method__init__
( self, raw_stream: AsyncStream[BetaRawMessageStreamEvent], output_format: ResponseFor
src/anthropic/lib/streaming/_beta_messages.py:227
Method__init__
( self, api_request: Awaitable[AsyncStream[BetaRawMessageStreamEvent]], *, out
src/anthropic/lib/streaming/_beta_messages.py:364
Method__init__
( self, raw_stream: Stream[RawMessageStreamEvent], output_format: ResponseFormatT | No
src/anthropic/lib/streaming/_messages.py:50
Method__init__
( self, api_request: Callable[[], Stream[RawMessageStreamEvent]], *, output_fo
src/anthropic/lib/streaming/_messages.py:178
Method__init__
( self, raw_stream: AsyncStream[RawMessageStreamEvent], output_format: ResponseFormatT
src/anthropic/lib/streaming/_messages.py:217
Method__init__
( self, api_request: Awaitable[AsyncStream[RawMessageStreamEvent]], *, output_
src/anthropic/lib/streaming/_messages.py:347
Method__init__
( self, *, api_key: str | None = None, aws_access_key: str | None = None,
src/anthropic/lib/aws/_client.py:260
Method__init__
( self, thread: BetaAsyncMessageThread[ResponseFormatT], messages: Iterable[BetaMessag
src/anthropic/lib/threads/_stream_managers.py:73
Method__init__
Start a thread on `client` with the arguments of `client.beta.messages.thread()`. Sends nothing.
src/anthropic/lib/threads/_beta_threads.py:144
Method__init__
Start a thread on `client` with the arguments of `client.beta.messages.thread()`. Sends nothing.
src/anthropic/lib/threads/_beta_threads.py:357
Method__init__
( self, *, params: ParseMessageCreateParamsBase[ResponseFormatT], options: Req
src/anthropic/lib/threads/_thread_state.py:59
Method__init__
(self, *, replaces_lost_thread: bool = False)
src/anthropic/lib/threads/_thread_state.py:477
← previousnext →2,801–2,900 of 14,068, ranked by callers