MCPcopy Create free account

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

Endpoints46 in github.com/anthropics/anthropic-sdk-python

Routeedit
beta_async_tool(name="edit", input_schema=BetaManagedAgentsAgentToolset20260401EditInput)
src/anthropic/lib/tools/agent_toolset.py:None
Routeglob
beta_async_tool(name="glob", input_schema=BetaManagedAgentsAgentToolset20260401GlobInput)
src/anthropic/lib/tools/agent_toolset.py:None
Routegrep
beta_async_tool(name="grep", input_schema=BetaManagedAgentsAgentToolset20260401GrepInput)
src/anthropic/lib/tools/agent_toolset.py:None
Routeread
beta_async_tool(name="read", input_schema=BetaManagedAgentsAgentToolset20260401ReadInput)
src/anthropic/lib/tools/agent_toolset.py:None
Routetest_a_runner_made_from_params_raises_the_errors_of_tool_runner
pytest.mark.parametrize( ("bad_fields", "wrong_flavour", "error"), [ ({"thread": {"type": "cre
tests/lib/tools/test_runners.py:None
Routetest_an_unreadable_subdirectory_fails_the_pass_instead_of_reading_as_deletions
pytest.mark.skipif(os.geteuid() == 0, reason="permission checks do not bind root")
tests/lib/tools/memory_sync/test_delete_discipline.py:None
Routetest_asks_confirm_before_a_call_runs_while_the_reply_streams
pytest.mark.parametrize("family", ["computer", "browser"])
tests/lib/tools/test_runner_eager_toolsets.py:None
Routetest_async_tool_result_rejects_block_of_another_family
pytest.mark.parametrize("toolset_name", [None, "computer"])
tests/lib/tools/toolsets/test_runnable.py:None
Routetest_count_tokens
pytest.mark.parametrize("body", [{}, {"input_tokens": None}, {"input_tokens": "12"}], ids=str)
tests/test_open_telemetry.py:None
Routetest_date_parsing
pytest.mark.parametrize( "value,result", [ # Valid inputs ("1494012444.883309", date(2
tests/test_utils/test_datetime_parse.py:None
Routetest_datetime_parsing
pytest.mark.parametrize( "value,result", [ # Valid inputs # values in seconds
tests/test_utils/test_datetime_parse.py:None
Routetest_docstring_parsing_with_parameters
pytest.mark.parametrize( "docstring", [ pytest.param( (
tests/lib/tools/test_functions.py:None
Routetest_does_not_run_a_call_that_confirm_declines_or_the_toolsets_calls_after_it
pytest.mark.parametrize("family", ["computer", "browser"])
tests/lib/tools/test_runner_eager_toolsets.py:None
Routetest_every_turn_and_a_thread_built_from_params_send_the_output_config_given_at_creation
pytest.mark.parametrize( "fields", [ pytest.param( {"output_format
tests/lib/threads/test_beta_threads.py:None
Routetest_filestore_listings_raise_on_an_unreadable_subdirectory
pytest.mark.skipif(os.geteuid() == 0, reason="permission checks do not bind root")
tests/lib/tools/test_file_store.py:None
Routetest_filestore_open_raises_on_an_unreadable_mount_path
pytest.mark.skipif(os.geteuid() == 0, reason="permission checks do not bind root")
tests/lib/tools/test_file_store.py:None
Routetest_function_call_with_invalid_input
pytest.mark.parametrize( "input_data, expected_error_type, expected_error_msg", [
tests/lib/tools/test_functions.py:None
Routetest_grep_walk_works_without_interval_timers
pytest.mark.parametrize("error", [AttributeError, getattr(signal, "ItimerError", OSError)], ids=["windows", "r
tests/lib/tools/test_agent_toolset.py:None
Routetest_idle_after_turn_ends_ends_iteration
pytest.mark.parametrize( "stop_reason", ["end_turn", "refusal", "retries_exhausted", "budget_reached", "ne
tests/lib/tools/test_session_runner.py:None
Routetest_interpolation
pytest.mark.parametrize( "template, kwargs, expected", [ ("/v1/{id}", dict(id="abc"), "/v1/abc
tests/test_utils/test_path.py:None
Routetest_keeps_pydantic_literals
pytest.mark.skipif(PYDANTIC_V1, reason="structured outputs not supported with pydantic v1")
tests/lib/_parse/test_transform.py:None
Routetest_never_runs_the_call_that_was_cut_off_by
pytest.mark.parametrize( "cut_off_reply", [ pytest.param(lambda: reply_ending("refusal", call(
tests/lib/tools/test_runner_eager_tools.py:None
Routetest_output_format_adds_no_beta_beyond_the_threads_beta
pytest.mark.parametrize( "fields", [ pytest.param( {"output_format
tests/lib/threads/test_beta_threads.py:None
Routetest_params_includes_the_output_format
pytest.mark.skipif(PYDANTIC_V1, reason="structured outputs not supported with pydantic v1")
tests/lib/threads/test_beta_threads.py:None
Routetest_parse_caller_beta_header_overrides
pytest.mark.skipif(_compat.PYDANTIC_V1, reason="parse() response post-parser is pydantic-v2 only")
tests/lib/test_stainless_helpers.py:None
Routetest_parse_continues_the_thread_and_parses_each_reply
pytest.mark.skipif(PYDANTIC_V1, reason="structured outputs not supported with pydantic v1")
tests/lib/threads/test_beta_threads.py:None
Routetest_parse_continues_the_thread_and_parses_each_reply
pytest.mark.skipif(PYDANTIC_V1, reason="structured outputs not supported with pydantic v1")
tests/lib/threads/test_async_beta_threads.py:None
Routetest_parse_gets_the_fallback
pytest.mark.skipif(PYDANTIC_V1, reason="parse() response post-parser is pydantic-v2 only")
tests/lib/test_refusal_fallback.py:None
Routetest_parse_merges_caller_extra_headers
pytest.mark.skipif(_compat.PYDANTIC_V1, reason="parse() response post-parser is pydantic-v2 only")
tests/lib/test_stainless_helpers.py:None
Routetest_parse_of_a_reply_that_does_not_fit_the_output_format_keeps_the_turn
pytest.mark.skipif(PYDANTIC_V1, reason="structured outputs not supported with pydantic v1")
tests/lib/threads/test_beta_threads.py:None
Routetest_parse_of_a_reply_that_does_not_fit_the_output_format_keeps_the_turn
pytest.mark.skipif(PYDANTIC_V1, reason="structured outputs not supported with pydantic v1")
tests/lib/threads/test_async_beta_threads.py:None
Routetest_parse_sends_single_header_line
pytest.mark.skipif(_compat.PYDANTIC_V1, reason="parse() response post-parser is pydantic-v2 only")
tests/lib/test_stainless_helpers.py:None
Routetest_parse_without_output_format_returns_no_parsed_output
pytest.mark.skipif(PYDANTIC_V1, reason="parse() response post-parser is pydantic-v2 only")
tests/lib/threads/test_beta_threads.py:None
Routetest_parsed_reply_has_the_request_and_workspace_ids_of_its_response
pytest.mark.skipif(PYDANTIC_V1, reason="parse() response post-parser is pydantic-v2 only")
tests/lib/threads/test_beta_threads.py:None
Routetest_parsed_reply_has_the_request_and_workspace_ids_of_its_response
pytest.mark.skipif(PYDANTIC_V1, reason="parse() response post-parser is pydantic-v2 only")
tests/lib/threads/test_async_beta_threads.py:None
Routetest_parts_and_the_cut_of_the_last_text_part_are_measured_in_bytes
pytest.mark.parametrize( ("limit", "input_parts", "output_characters", "size"), [
tests/test_open_telemetry.py:None
Routetest_runs_the_calls_while_the_caller_reads_the_stream_however_it_reads_it
pytest.mark.parametrize("read", ["events", "text_stream", "get_final_message", "until_done"])
tests/lib/tools/test_runner_eager_tools.py:None
Routetest_starts_a_toolset_call_once_the_model_has_moved_on_from_it
pytest.mark.parametrize("family", ["computer", "browser"])
tests/lib/tools/test_runner_eager_toolsets.py:None
Routetest_symlink_escape_after_dangling_symlink_is_rejected
pytest.mark.parametrize( ("make_tool", "tool_input"), [ (beta_read_tool, {"file_path": "spelle
tests/lib/tools/test_agent_toolset.py:None
Routetest_sync_matrix
pytest.mark.parametrize( ("name", "local", "remote", "disk", "store", "sent"), [ # baseline "v
tests/lib/tools/memory_sync/test_memory_sync.py:None
Routetest_the_output_format_is_given_only_when_the_thread_is_created
pytest.mark.parametrize("field", ["output_config", "output_format"])
tests/lib/threads/test_beta_threads.py:None
Routetest_thread_rejects_both_output_format_and_output_config_format
pytest.mark.skipif(PYDANTIC_V1, reason="structured outputs not supported with pydantic v1")
tests/lib/threads/test_beta_threads.py:None
Routetest_tool_result_rejects_block_of_another_family
pytest.mark.parametrize("toolset_name", [None, "computer"])
tests/lib/tools/toolsets/test_runnable.py:None
Routetest_usage_fields_are_all_recorded_or_left_out
pytest.mark.parametrize( ("usage", "recorded", "without_an_attribute"), [ (Usage, USAGE_FIELDS
tests/test_open_telemetry.py:None
Routetest_view_result_file_types_all_keep_or_lose_their_content
pytest.mark.parametrize( "view_result", [ TextEditorCodeExecutionViewResultBlock, Text
tests/test_open_telemetry.py:None
Routewrite
beta_async_tool(name="write", input_schema=BetaManagedAgentsAgentToolset20260401WriteInput)
src/anthropic/lib/tools/agent_toolset.py:None