MCPcopy Create free account

hub / github.com/anthropics/claude-quickstarts / functions

Functions710 in github.com/anthropics/claude-quickstarts

Functiontest_loop_thinking_off_sends_no_thinking_params
()
computer-use-demo/tests/loop_test.py:101
Methodtest_malformed_tool_result
Test handling malformed ToolResult objects.
browser-use-demo/tests/test_message_renderer.py:278
Functiontest_max_message_mb_force_prunes_and_resets_offset
(capsys)
computer-use-best-practices/tests/test_formatters.py:99
Methodtest_metadata
Test passing valid metadata fields.
agents/test_message_params.py:113
Methodtest_missing_tool_in_session_state
Test handling tool_use_id that doesn't exist in session state.
browser-use-demo/tests/test_message_renderer.py:248
Methodtest_normalize_content_with_various_inputs
Test _normalize_content with various input types.
browser-use-demo/tests/test_message_renderer.py:305
Functiontest_ok_result_emits_image
()
computer-use-best-practices/tests/test_result.py:13
Functiontest_output_truncated
()
computer-use-best-practices/tests/test_shell.py:50
Methodtest_parameter_override
Test that message_params override config defaults.
agents/test_message_params.py:155
Functiontest_path_escape_rejected
(tool: EditorTool)
computer-use-best-practices/tests/test_editor.py:58
Functiontest_portrait_transposed
()
computer-use-best-practices/tests/test_image.py:40
Methodtest_process_response_mixed_content
Test processing a response with both text and tool use.
browser-use-demo/tests/test_sampling_loop.py:57
Methodtest_process_response_text_only
Test processing a response with only text content.
browser-use-demo/tests/test_sampling_loop.py:20
Methodtest_process_response_tool_only
Test processing a response with only tool use.
browser-use-demo/tests/test_sampling_loop.py:37
Functiontest_provider_first_party_feature_validation
()
computer-use-best-practices/tests/test_constants.py:15
Functiontest_prune_keeps_last_n
()
computer-use-best-practices/tests/test_loop.py:24
Functiontest_python_print
()
computer-use-best-practices/tests/test_shell.py:19
Methodtest_render_dict_message_text_type
Test rendering dictionary message with text type.
browser-use-demo/tests/test_message_renderer.py:91
Methodtest_render_dict_message_tool_use_type
Test rendering dictionary message with tool_use type.
browser-use-demo/tests/test_message_renderer.py:99
Methodtest_render_dict_message_unknown_type
Test rendering dictionary message with unknown type.
browser-use-demo/tests/test_message_renderer.py:112
Methodtest_render_empty_history
Test rendering empty conversation history.
browser-use-demo/tests/test_message_renderer.py:141
Methodtest_render_empty_string
Test rendering an empty string (should skip).
browser-use-demo/tests/test_message_renderer.py:41
Methodtest_render_list_content
Test rendering messages with list content.
browser-use-demo/tests/test_message_renderer.py:194
Methodtest_render_missing_content_field
Test handling messages missing content field.
browser-use-demo/tests/test_message_renderer.py:174
Methodtest_render_multiple_messages
Test rendering multiple messages with different roles.
browser-use-demo/tests/test_message_renderer.py:157
Methodtest_render_none_content
Test handling messages with None content.
browser-use-demo/tests/test_message_renderer.py:185
Methodtest_render_none_message
Test rendering None message (should skip).
browser-use-demo/tests/test_message_renderer.py:48
Methodtest_render_single_message
Test rendering single message in history.
browser-use-demo/tests/test_message_renderer.py:149
Methodtest_render_string_message
Test rendering a simple string message.
browser-use-demo/tests/test_message_renderer.py:33
Methodtest_render_tool_result_with_error
Test rendering ToolResult with error.
browser-use-demo/tests/test_message_renderer.py:62
Methodtest_render_tool_result_with_hidden_screenshots
Test that images are hidden when hide_screenshots is True.
browser-use-demo/tests/test_message_renderer.py:79
Methodtest_render_tool_result_with_image
Test rendering ToolResult with image.
browser-use-demo/tests/test_message_renderer.py:69
Methodtest_render_tool_result_with_output
Test rendering ToolResult with output.
browser-use-demo/tests/test_message_renderer.py:55
Methodtest_render_unicode_special_chars
Test rendering messages with unicode and special characters.
browser-use-demo/tests/test_message_renderer.py:129
Methodtest_render_unknown_role
Test handling messages with unknown roles.
browser-use-demo/tests/test_message_renderer.py:165
Methodtest_render_very_long_message
Test rendering extremely long messages.
browser-use-demo/tests/test_message_renderer.py:121
Methodtest_rendering_error_propagation
Test that rendering errors are properly propagated.
browser-use-demo/tests/test_integration.py:214
Functiontest_required_with_default_raises
()
computer-use-best-practices/tests/test_base.py:24
Functiontest_retina_mbp
()
computer-use-best-practices/tests/test_image.py:34
Methodtest_reuse_existing_open_loop
Test reusing existing open event loop.
browser-use-demo/tests/test_streamlit_helpers.py:153
Methodtest_sampling_loop_multiple_tools_with_text
Test handling of multiple tool uses with text.
browser-use-demo/tests/test_sampling_loop.py:423
Methodtest_sampling_loop_preserves_text_with_tools
Test that text is preserved when tools are used.
browser-use-demo/tests/test_sampling_loop.py:311
Methodtest_sampling_loop_text_only_response
Test handling of text-only responses.
browser-use-demo/tests/test_sampling_loop.py:386
Functiontest_sandbox_denies_home_write
()
computer-use-best-practices/tests/test_shell.py:27
Functiontest_sandbox_denies_secret_read
Credential paths under $HOME and any .env file are unreadable.
computer-use-best-practices/tests/test_shell.py:33
Functiontest_schema_signature_mismatch_raises
()
computer-use-best-practices/tests/test_base.py:9
Functiontest_screenshot_too_small
()
computer-use-best-practices/tests/test_image.py:52
Methodtest_set_event_loop_error
Test handling error when setting event loop.
browser-use-demo/tests/test_streamlit_helpers.py:179
Methodtest_setup_state_browser_tool_error
Test setup_state when BrowserTool initialization fails.
browser-use-demo/tests/test_streamlit_helpers.py:91
Methodtest_setup_state_fresh_initialization
Test setup_state with completely empty session state.
browser-use-demo/tests/test_streamlit_helpers.py:19
Methodtest_setup_state_lambda_evaluation
Test that lambda functions are evaluated correctly.
browser-use-demo/tests/test_streamlit_helpers.py:74
Methodtest_setup_state_missing_env_variables
Test setup_state when environment variables are missing.
browser-use-demo/tests/test_streamlit_helpers.py:60
Methodtest_setup_state_partial_initialization
Test setup_state when some keys already exist.
browser-use-demo/tests/test_streamlit_helpers.py:38
Methodtest_setup_state_with_corrupted_state
Test setup_state with corrupted session state.
browser-use-demo/tests/test_streamlit_helpers.py:260
Methodtest_setup_state_with_readonly_state
Test setup_state when session state is read-only.
browser-use-demo/tests/test_streamlit_helpers.py:316
Functiontest_shell_shares_scratch_dir
Bash and the editor see the same persistent directory.
computer-use-best-practices/tests/test_editor.py:111
Functiontest_simple_keeps_last_n
()
computer-use-best-practices/tests/test_formatters.py:50
Methodtest_skip_image_blocks_in_history
Test that image blocks are skipped in conversation history.
browser-use-demo/tests/test_message_renderer.py:213
Functiontest_small_image_unchanged
()
computer-use-best-practices/tests/test_image.py:21
Functiontest_square
()
computer-use-best-practices/tests/test_image.py:46
Methodtest_state_persistence_across_renders
Test that state persists across multiple render calls.
browser-use-demo/tests/test_integration.py:118
Functiontest_str_replace_command
(edit_tool)
computer-use-demo/tests/tools/edit_test.py:109
Functiontest_str_replace_unique
(tool: EditorTool)
computer-use-best-practices/tests/test_editor.py:35
Functiontest_streamlit
(streamlit_app: AppTest)
computer-use-demo/tests/streamlit_test.py:15
Functiontest_strip_advisor_removes_blocks
()
computer-use-best-practices/tests/test_advisor.py:32
Functiontest_supported_models_excludes_haiku
()
computer-use-best-practices/tests/test_compaction.py:87
Functiontest_thinking_effort_defaults_cover_all_models
()
computer-use-best-practices/tests/test_loop.py:122
Functiontest_thinking_modes_follow_selected_model
( streamlit_app: AppTest, model: str, expected_modes: list[str] )
computer-use-demo/tests/streamlit_test.py:44
Methodtest_tool_choice_parameter_set
Test that tool_choice is explicitly set to auto.
browser-use-demo/tests/test_sampling_loop.py:485
Functiontest_tool_collection_hosted_computer_swap
()
computer-use-best-practices/tests/test_base.py:99
Methodtest_tool_result_in_assistant_message
Test rendering tool results from assistant messages.
browser-use-demo/tests/test_message_renderer.py:231
Functiontest_truncate_drops_before_compaction
()
computer-use-best-practices/tests/test_compaction.py:25
Functiontest_truncate_noop_without_compaction
()
computer-use-best-practices/tests/test_compaction.py:33
Functiontest_truncate_picks_most_recent
()
computer-use-best-practices/tests/test_compaction.py:42
Functiontest_type_text_handles_non_ascii
Bonus over pyautogui.write(): chars with no ANSI keycode at all.
computer-use-best-practices/tests/test_computer.py:58
Functiontest_type_text_sends_real_keys_for_control_chars
(captured)
computer-use-best-practices/tests/test_computer.py:52
Functiontest_type_text_uses_unicode_not_keycodes
Printable chars must go through CGEventKeyboardSetUnicodeString so the active keyboard layout (Dvorak, AZERTY, ...) cannot remap them.
computer-use-best-practices/tests/test_computer.py:42
Functiontest_unmapped_keys
()
computer-use-best-practices/tests/test_base.py:66
Functiontest_valid_tool_ok
()
computer-use-best-practices/tests/test_base.py:40
Functiontest_validate_path
(edit_tool)
computer-use-demo/tests/tools/edit_test.py:266
Functiontest_view_command
(edit_tool)
computer-use-demo/tests/tools/edit_test.py:16
Functiontest_view_directory
(tool: EditorTool)
computer-use-best-practices/tests/test_editor.py:65
Functiontest_view_image_returns_image_block
(tool: EditorTool, tmp_path: Path)
computer-use-best-practices/tests/test_editor.py:74
Functiontest_view_pdf_returns_document_block
(tool: EditorTool, tmp_path: Path)
computer-use-best-practices/tests/test_editor.py:93
Functiontest_view_range
(tool: EditorTool)
computer-use-best-practices/tests/test_editor.py:23
Functiontest_view_small_image_ok
Small/solid images are legitimate file content, not failed screenshots.
computer-use-best-practices/tests/test_editor.py:85
Functiontest_with_overrides
()
computer-use-best-practices/tests/test_config.py:50
Functiontest_zoom_in_browser_schema
()
computer-use-best-practices/tests/test_zoom.py:12
Functiontest_zoom_in_computer_schema
()
computer-use-best-practices/tests/test_zoom.py:5
Functiontext_delta
(text: str)
computer-use-best-practices/computer_use/render.py:57
Functionthinking_delta
(text: str)
computer-use-best-practices/computer_use/render.py:52
Methodto_api_content
(self)
computer-use-best-practices/computer_use/tools/batch.py:29
Methodto_dict
Convert to Anthropic server tool format.
agents/tools/web_search.py:18
Methodto_dict
Convert to Anthropic server tool format.
agents/tools/code_execution.py:14
Methodto_params
( self, )
browser-use-demo/browser_use_demo/tools/base.py:17
Methodto_params
Convert tool to API parameters using custom tool definition.
browser-use-demo/browser_use_demo/tools/browser.py:207
Methodto_params
(self)
computer-use-demo/computer_use_demo/tools/bash.py:119
Methodto_params
( self, )
computer-use-demo/computer_use_demo/tools/base.py:17
Methodto_params
(self)
computer-use-demo/computer_use_demo/tools/edit.py:38
Methodto_params
(self)
computer-use-demo/computer_use_demo/tools/computer.py:297
← previousnext →601–700 of 710, ranked by callers