MCPcopy Create free account

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

Functions710 in github.com/anthropics/claude-quickstarts

Methodcleanup
Cleanup method to ensure browser is closed properly.
browser-use-demo/browser_use_demo/tools/browser.py:1250
Methodclose
(self)
computer-use-best-practices/computer_use/tools/browser.py:248
Functioncn
(...inputs: ClassValue[])
customer-support-agent/app/lib/utils.ts:20
Methodcombine_fields
( field: str | None, other_field: str | None, concatenate: bool = True )
browser-use-demo/browser_use_demo/tools/base.py:36
Methodcombine_fields
( field: str | None, other_field: str | None, concatenate: bool = True )
computer-use-demo/computer_use_demo/tools/base.py:36
Methodcontains_side_effect
(key)
browser-use-demo/tests/test_streamlit_helpers.py:44
Functioncontext_edits_applied
(edits: list[object])
computer-use-best-practices/computer_use/render.py:93
Functiondisable_chat_callback
()
browser-use-demo/browser_use_demo/streamlit.py:707
Functiondocument_block
(b64_pdf: str)
computer-use-best-practices/computer_use/tools/result.py:23
Functionedge_case_messages
Messages specifically designed to test edge cases and error conditions.
browser-use-demo/tests/conftest.py:131
Methodedit_sync
()
agents/tools/file_tools.py:242
Methodexecute
(self, *, a: str, **_: Any)
computer-use-best-practices/tests/test_base.py:50
Methodexecute
(self, *, app_name: str, **_: Any)
computer-use-best-practices/computer_use/tools/open_app.py:22
Methodexecute
(self, *, actions: list[dict[str, Any]], **_: Any)
computer-use-best-practices/computer_use/tools/batch.py:69
Methodexecute
(self, *, code: str, **_: Any)
computer-use-best-practices/computer_use/tools/shell.py:135
Methodexecute
(self, **kwargs: Any)
computer-use-best-practices/computer_use/tools/browser.py:150
Methodexecute
Execute the MCP tool with the given input_schema. Note: Currently only supports text results from MCP tools.
agents/tools/mcp_tool.py:21
Methodexecute
Simply returns the thought back to the model.
agents/tools/think.py:30
Methodexecute
Execute a file read operation. Args: operation: The operation to perform (read or list) path: The file or directory p
agents/tools/file_tools.py:49
Methodexecute
Execute a file write operation. Args: operation: The operation to perform (write or edit) path: The file path
agents/tools/file_tools.py:180
FunctionhandleFileSelect
(e: React.ChangeEvent<HTMLInputElement>)
financial-data-analyst/app/finance/page.tsx:282
FunctionhandleInputChange
(event: React.ChangeEvent<HTMLTextAreaElement>)
customer-support-agent/components/ChatArea.tsx:550
FunctionhandleInputChange
(event: React.ChangeEvent<HTMLTextAreaElement>)
financial-data-analyst/app/finance/page.tsx:509
FunctionhandleKeyDown
(e: React.KeyboardEvent<HTMLTextAreaElement>)
customer-support-agent/components/ChatArea.tsx:541
FunctionhandleKeyDown
(e: React.KeyboardEvent<HTMLTextAreaElement>)
financial-data-analyst/app/finance/page.tsx:493
FunctionhandleSubmit
(event: React.FormEvent<HTMLFormElement>)
financial-data-analyst/app/finance/page.tsx:371
FunctionhandleSuggestedQuestionClick
(question: string)
customer-support-agent/components/ChatArea.tsx:558
FunctionhandleToolExecution
(event: Event)
customer-support-agent/components/ChatArea.tsx:563
FunctionhandleUpdateRagSources
(event: CustomEvent)
customer-support-agent/components/ChatArea.tsx:369
FunctionhandleUpdateSidebar
(event: CustomEvent<ThinkingContent>)
customer-support-agent/components/LeftSidebar.tsx:53
FunctionhandleUpdateSidebar
(event: CustomEvent<ThinkingContent>)
customer-support-agent/components/ChatArea.tsx:349
Functionindex
()
computer-use-best-practices/dev_ui/tool_panel/server.py:39
Functionindex
()
computer-use-best-practices/dev_ui/localization_demo/server.py:82
Functioninterrupted
()
computer-use-best-practices/computer_use/render.py:115
FunctionisValidBase64
(str: string)
financial-data-analyst/app/api/finance/route.ts:14
Methodis_error
(self)
computer-use-best-practices/computer_use/tools/result.py:46
Methodlist_sync
()
agents/tools/file_tools.py:114
Functionlist_tools
()
computer-use-best-practices/dev_ui/tool_panel/server.py:44
Functionlocalize
( image: Annotated[UploadFile, File()], label: Annotated[str, Form()], model: Annotated[str, Form(
computer-use-best-practices/dev_ui/localization_demo/server.py:99
Methodmap_key
Map a key name to Playwright's expected format.
browser-use-demo/browser_use_demo/tools/browser.py:580
Functionmeta
()
computer-use-best-practices/dev_ui/localization_demo/server.py:87
Methodmock_agent
(input_text)
browser-use-demo/tests/test_integration.py:165
Functionmock_api_response_with_text_and_tools
Mock API response containing both text and tool uses.
browser-use-demo/tests/conftest.py:206
Functionmock_asyncio_loop
Mock asyncio event loop for testing.
browser-use-demo/tests/conftest.py:161
Functionmock_browser_tool
Mock BrowserTool to avoid Playwright dependencies.
browser-use-demo/tests/conftest.py:50
Functionmock_environment
Mock environment variables for testing.
browser-use-demo/tests/conftest.py:170
Functionmock_provider
Mock APIProvider enum.
browser-use-demo/tests/conftest.py:196
Functionmock_screen_dimensions
()
computer-use-demo/tests/conftest.py:8
Functionmock_streamlit
Mock Streamlit module and session_state.
browser-use-demo/tests/conftest.py:17
Functionmock_tool_collection
Mock ToolCollection for testing.
browser-use-demo/tests/conftest.py:229
Methodmodify_state
(*args, **kwargs)
browser-use-demo/tests/test_message_renderer.py:345
Methodoptions
Return browser display options.
browser-use-demo/browser_use_demo/tools/browser.py:196
Methodoptions
(self)
computer-use-demo/computer_use_demo/tools/computer.py:103
Methodoptions
(self)
computer-use-demo/computer_use_demo/tools/computer.py:421
Methodoutput_callback
(content)
browser-use-demo/tests/test_sampling_loop.py:338
Functionpreflight
()
computer-use-best-practices/dev_ui/tool_panel/server.py:49
Methodprocess_default_content
Default processor for unknown content types.
browser-use-demo/browser_use_demo/streamlit.py:233
Methodprocess_image_content
Process image content type.
browser-use-demo/browser_use_demo/streamlit.py:193
Methodprocess_tool_result_content
Process tool result content type.
browser-use-demo/browser_use_demo/streamlit.py:213
Methodprocess_tool_use_content
Process tool use content type.
browser-use-demo/browser_use_demo/streamlit.py:205
Functionprompt_user
Read a follow-up message. Returns None on EOF or empty input.
computer-use-best-practices/computer_use/render.py:119
Methodread_sync
()
agents/tools/file_tools.py:89
Functionreload
Rebuild ``cfg`` from the given sources. Note that modules which did ``from constants import cfg`` hold their own binding; rebind their local n
computer-use-best-practices/constants.py:268
Methodremove_message_pair
()
agents/utils/history_util.py:85
Functionrepl
(m: re.Match[str])
computer-use-best-practices/dev_ui/localization_demo/server.py:65
Functionretry
(attempt: int, total: int, exc: Exception, delay: float)
computer-use-best-practices/computer_use/render.py:109
Functionrun
(req: RunRequest)
computer-use-best-practices/dev_ui/tool_panel/server.py:57
Methodrun_setup
()
browser-use-demo/tests/test_streamlit_helpers.py:279
Methodrun_test
()
browser-use-demo/tests/test_sampling_loop.py:84
Methodrun_test
()
browser-use-demo/tests/test_sampling_loop.py:314
Functionsafety_banner
()
computer-use-best-practices/computer_use/render.py:44
Functionsample_messages
Provide various message structures for testing edge cases.
browser-use-demo/tests/conftest.py:79
Functionsample_mixed_content_messages
Sample messages with mixed text and tool content.
browser-use-demo/tests/conftest.py:250
Functionsample_tool_result
Create sample ToolResult objects for testing.
browser-use-demo/tests/conftest.py:59
FunctionscrollToBottom
()
customer-support-agent/components/ChatArea.tsx:324
FunctionscrollToBottom
()
financial-data-analyst/app/finance/page.tsx:214
FunctionscrollToNewestChart
()
financial-data-analyst/app/finance/page.tsx:268
FunctionscrollToNewestMessage
()
customer-support-agent/components/ChatArea.tsx:331
Methodsetitem_side_effect
(key, value)
browser-use-demo/tests/test_integration.py:87
Functionstreamlit_app
()
computer-use-demo/tests/streamlit_test.py:11
Methodtest_add_assistant_message
Test adding an assistant message.
browser-use-demo/tests/test_sampling_loop.py:173
Methodtest_add_assistant_message_empty_content
Test that empty content is not added.
browser-use-demo/tests/test_sampling_loop.py:188
Methodtest_add_tool_results
Test adding tool results.
browser-use-demo/tests/test_sampling_loop.py:198
Methodtest_add_tool_results_empty
Test that empty tool results are not added.
browser-use-demo/tests/test_sampling_loop.py:216
Functiontest_advisor_prompt_addendum_gated
()
computer-use-best-practices/tests/test_advisor.py:82
Functiontest_advisor_reminder_interval_on_config
()
computer-use-best-practices/tests/test_advisor.py:76
Functiontest_advisor_tool_param_shape
()
computer-use-best-practices/tests/test_advisor.py:23
Methodtest_api_parameters
Test passing various API parameters.
agents/test_message_params.py:131
Methodtest_async_agent_execution
Test running async agent with event loop management.
browser-use-demo/tests/test_integration.py:146
Methodtest_authenticate_non_anthropic_provider
Test authenticate with non-Anthropic provider.
browser-use-demo/tests/test_streamlit_helpers.py:245
Methodtest_authenticate_with_missing_key
Test authenticate with missing API key.
browser-use-demo/tests/test_streamlit_helpers.py:212
Methodtest_authenticate_with_none_key
Test authenticate with None API key.
browser-use-demo/tests/test_streamlit_helpers.py:231
Methodtest_authenticate_with_valid_key
Test authenticate with valid API key.
browser-use-demo/tests/test_streamlit_helpers.py:195
Functiontest_autocompaction_edit_shape
()
computer-use-best-practices/tests/test_advisor.py:67
Functiontest_autocompaction_trigger_floor
(capsys)
computer-use-best-practices/tests/test_constants.py:4
Methodtest_base64_decode_error
Test handling invalid base64 image data.
browser-use-demo/tests/test_message_renderer.py:364
Functiontest_bash_echo
()
computer-use-best-practices/tests/test_shell.py:11
Functiontest_bash_tool_no_command
(bash_tool)
computer-use-demo/tests/tools/bash_test.py:29
Functiontest_bash_tool_non_zero_exit
(bash_tool)
computer-use-demo/tests/tools/bash_test.py:57
Functiontest_bash_tool_restart
(bash_tool)
computer-use-demo/tests/tools/bash_test.py:12
← previousnext →401–500 of 710, ranked by callers