MCPcopy Create free account

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

Functions710 in github.com/anthropics/claude-quickstarts

↓ 1 callersMethod_should_skip_message
Check if message should be skipped from rendering. Args: message: The message to check Returns: True if the
browser-use-demo/browser_use_demo/message_renderer.py:93
↓ 1 callersMethod_str_replace
(self, target: Path, old: str | None, new: str | None)
computer-use-best-practices/computer_use/tools/editor.py:138
↓ 1 callersFunction_stream_and_render
Open a streaming message call, print deltas as they arrive, and return the assembled final message (anthropic.types.Message, or BetaMessage when
computer-use-best-practices/computer_use/loop.py:241
↓ 1 callersFunction_stu
A server_tool_use block as the SDK would return it (an object, not a dict).
computer-use-best-practices/tests/test_advisor.py:10
↓ 1 callersFunction_terminal_app
Best-effort name of the GUI app this process is running under, so the user knows which row to enable in the permission list.
computer-use-best-practices/computer_use/preflight.py:33
↓ 1 callersFunction_type_text
Layout-independent typing. pyautogui.write() sends hardcoded ANSI virtual keycodes (physical key positions on a US QWERTY board), which macOS
computer-use-best-practices/computer_use/tools/computer.py:102
↓ 1 callersMethod_view
(self, target: Path, view_range: list[int] | None)
computer-use-best-practices/computer_use/tools/editor.py:103
↓ 1 callersMethod_wait
Wait for a specified duration.
browser-use-demo/browser_use_demo/tools/browser.py:1068
↓ 1 callersMethod_write_file
Write content to a file.
agents/tools/file_tools.py:214
↓ 1 callersMethod_zoom_screenshot
Take a screenshot of a specific region.
browser-use-demo/browser_use_demo/tools/browser.py:374
↓ 1 callersFunctionbash_security_hook
Pre-tool-use hook that validates bash commands using an allowlist. Only commands in ALLOWED_COMMANDS are permitted. Args: input
autonomous-coding/security.py:297
↓ 1 callersFunctionbuild_system_prompt
(scratch_dir: Path | None)
computer-use-best-practices/computer_use/__main__.py:49
↓ 1 callersMethodcall_tool
Call a tool on the MCP server with provided arguments.
agents/utils/connections.py:55
↓ 1 callersFunctioncheck_and_warn
(*, require: bool = True, open_settings: bool = True)
computer-use-best-practices/computer_use/preflight.py:105
↓ 1 callersFunctionchunks
(s: str, chunk_size: int)
computer-use-demo/computer_use_demo/tools/computer.py:84
↓ 1 callersFunctioncopy_spec_to_project
Copy the app spec file into the project directory for the agent to read.
autonomous-coding/prompts.py:31
↓ 1 callersFunctioncount_passing_tests
Count passing and total tests in feature_list.json. Args: project_dir: Directory containing feature_list.json Returns:
autonomous-coding/progress.py:12
↓ 1 callersFunctioncreate_client
Create a Claude Agent SDK client with multi-layered security. Args: project_dir: Directory for the project model: Claude mod
autonomous-coding/client.py:40
↓ 1 callersFunctioncreate_mcp_connection
Factory function to create the appropriate MCP connection.
agents/utils/connections.py:93
↓ 1 callersFunctioncreate_transcript_zip
Create a ZIP archive containing the transcript and optionally images. Args: messages: List of message dictionaries from session state
browser-use-demo/browser_use_demo/streamlit.py:113
↓ 1 callersFunctiondebugMessage
(msg: string, data: any = {})
customer-support-agent/app/api/chat/route.ts:14
↓ 1 callersFunctiondecodeDebugData
(response: Response)
customer-support-agent/components/ChatArea.tsx:386
↓ 1 callersFunctiondismiss
()
financial-data-analyst/hooks/use-toast.ts:153
↓ 1 callersMethodexecute
(self, **kwargs: Any)
computer-use-best-practices/computer_use/tools/base.py:64
↓ 1 callersMethodexecute
(self, **kwargs: Any)
computer-use-best-practices/computer_use/tools/computer.py:248
↓ 1 callersMethodexecute
Execute the tool with provided parameters.
agents/tools/base.py:23
↓ 1 callersFunctionexecute_tools
Execute multiple tools sequentially or in parallel.
agents/utils/tool_util.py:27
↓ 1 callersFunctionextract_images_from_messages
Extract images from messages and create transcript with file references. Returns: Tuple of (transcript_json, list_of_base64_image_data)
browser-use-demo/browser_use_demo/streamlit.py:238
↓ 1 callersMethodformat_for_api
Format messages for Claude API with optional caching.
agents/utils/history_util.py:113
↓ 1 callersFunctiongenId
()
financial-data-analyst/hooks/use-toast.ts:30
↓ 1 callersFunctiongetDebugPillColor
(value: boolean)
customer-support-agent/components/LeftSidebar.tsx:27
↓ 1 callersFunctiongetMoodColor
(mood: string)
customer-support-agent/components/LeftSidebar.tsx:33
↓ 1 callersFunctiongetScoreColor
(score: number)
customer-support-agent/components/RightSidebar.tsx:37
↓ 1 callersFunctionget_coding_prompt
Load the coding agent prompt.
autonomous-coding/prompts.py:26
↓ 1 callersFunctionget_command_for_validation
Find the specific command segment that contains the given command. Args: cmd: The command name to find segments: List of com
autonomous-coding/security.py:279
↓ 1 callersMethodget_documented_size_for_aspect_ratio
Get the documented size for the given viewport's aspect ratio. Args: viewport_width: Actual viewport width v
browser-use-demo/browser_use_demo/tools/coordinate_scaling.py:36
↓ 1 callersFunctionget_initializer_prompt
Load the initializer prompt.
autonomous-coding/prompts.py:21
↓ 1 callersFunctionhandleThemeChange
(newColorTheme: ThemeName)
customer-support-agent/components/TopNavBar.tsx:71
↓ 1 callersFunctionhandleViewFullSource
(source: RAGSource)
customer-support-agent/components/RightSidebar.tsx:123
↓ 1 callersFunctionimage_block
(b64_jpeg: str)
computer-use-best-practices/computer_use/tools/result.py:16
↓ 1 callersFunctionisContainerElement
(element)
browser-use-demo/browser_use_demo/browser_tool_utils/browser_dom_script.js:319
↓ 1 callersFunctionisSemantic
(element)
browser-use-demo/browser_use_demo/browser_tool_utils/browser_dom_script.js:213
↓ 1 callersFunctionisVisible
(element)
browser-use-demo/browser_use_demo/browser_tool_utils/browser_dom_script.js:180
↓ 1 callersMethodlist_tools
Retrieve available tools from the MCP server.
agents/utils/connections.py:50
↓ 1 callersFunctionlogTimestamp
(label: string, start: number)
customer-support-agent/app/api/chat/route.ts:57
↓ 1 callersFunctionmain
Main application entry point.
browser-use-demo/browser_use_demo/streamlit.py:531
↓ 1 callersFunctionmain
Render loop for streamlit
computer-use-demo/computer_use_demo/streamlit.py:244
↓ 1 callersFunctionmain
()
autonomous-coding/test_security.py:154
↓ 1 callersFunctionmain
Main entry point.
autonomous-coding/autonomous_agent_demo.py:75
↓ 1 callersFunctionmain
()
computer-use-best-practices/computer_use/__main__.py:58
↓ 1 callersFunctionmain
Run the test suite.
agents/test_message_params.py:256
↓ 1 callersFunctionmaybe_add_interruption_blocks
()
computer-use-demo/computer_use_demo/streamlit.py:456
↓ 1 callersFunctionparse_args
Parse command line arguments.
autonomous-coding/autonomous_agent_demo.py:27
↓ 1 callersFunctionprint_session_header
Print a formatted header for the session.
autonomous-coding/progress.py:39
↓ 1 callersFunctionprocessElement
(element, depth, options)
browser-use-demo/browser_use_demo/browser_tool_utils/browser_dom_script.js:347
↓ 1 callersFunctionprocessToolResponse
(toolUseContent: any)
financial-data-analyst/app/api/finance/route.ts:353
↓ 1 callersFunctionprocess_content
Process content using appropriate processors.
browser-use-demo/browser_use_demo/streamlit.py:254
↓ 1 callersMethodprocess_text_content
Process text content type.
browser-use-demo/browser_use_demo/streamlit.py:198
↓ 1 callersFunctionreadFileAsBase64
(file: File)
financial-data-analyst/utils/fileHandling.ts:22
↓ 1 callersFunctionreadFileAsPDFText
(file: File)
financial-data-analyst/utils/fileHandling.ts:38
↓ 1 callersFunctionreadFileAsText
(file: File)
financial-data-analyst/utils/fileHandling.ts:2
↓ 1 callersFunctionreducer
(state: State, action: Action)
financial-data-analyst/hooks/use-toast.ts:77
↓ 1 callersFunctionreset_browser
()
browser-use-demo/browser_use_demo/streamlit.py:671
↓ 1 callersFunctionretrieveContext
( query: string, knowledgeBaseId: string, n: number = 3, )
customer-support-agent/app/lib/utils.ts:31
↓ 1 callersMethodrun
(self, *, name: str, tool_input: dict[str, Any])
computer-use-demo/computer_use_demo/tools/collection.py:29
↓ 1 callersFunctionrun_agent
Run the browser automation agent with user input.
browser-use-demo/browser_use_demo/streamlit.py:442
↓ 1 callersFunctionrun_agent_session
Run a single agent session using Claude Agent SDK. Args: client: Claude SDK client message: The prompt to send proje
autonomous-coding/agent.py:23
↓ 1 callersMethodrun_all_tests
Run all test cases.
agents/test_message_params.py:230
↓ 1 callersMethodrun_async
Run agent with MCP tools asynchronously.
agents/agent.py:157
↓ 1 callersFunctionrun_autonomous_agent
Run the autonomous agent loop. Args: project_dir: Directory for the project model: Claude model to use max_iteration
autonomous-coding/agent.py:97
↓ 1 callersFunctionrun_server
()
browser-use-demo/image/http_server.py:10
↓ 1 callersFunctionrun_server
()
computer-use-demo/image/http_server.py:10
↓ 1 callersFunctionsampling_loop
Run the agent. Each user message gets up to ``max_iters`` model turns. When ``interactive`` is true, the loop prompts for a follow-up after the
computer-use-best-practices/computer_use/loop.py:331
↓ 1 callersFunctionsanitizeAndParseJSON
(jsonString : string)
customer-support-agent/app/api/chat/route.ts:198
↓ 1 callersMethodsave_image
(self, b64: str)
computer-use-best-practices/computer_use/trajectory.py:35
↓ 1 callersFunctionscrollToChart
(index: number)
financial-data-analyst/app/finance/page.tsx:257
↓ 1 callersFunctionsetup_mcp_connections
Set up MCP server connections and create tool interfaces.
agents/utils/connections.py:117
↓ 1 callersFunctionshouldIncludeElement
(element, options)
browser-use-demo/browser_use_demo/browser_tool_utils/browser_dom_script.js:235
↓ 1 callersFunctionsplit_command_segments
Split a compound command into individual command segments. Handles command chaining (&&, ||, ;) but not pipes (those are single commands).
autonomous-coding/security.py:47
↓ 1 callersMethodstr_replace
Implement the str_replace command, which replaces old_str with new_str in the file content
computer-use-demo/computer_use_demo/tools/edit.py:160
↓ 1 callersMethodtake_screenshot
(self)
computer-use-best-practices/computer_use/tools/computer.py:229
↓ 1 callersFunctiontest_extract_commands
Test the command extraction logic.
autonomous-coding/test_security.py:44
↓ 1 callersFunctiontest_validate_chmod
Test chmod command validation.
autonomous-coding/test_security.py:72
↓ 1 callersFunctiontest_validate_init_script
Test init.sh script execution validation.
autonomous-coding/test_security.py:115
↓ 1 callersMethodto_dict
Convert tool to Claude API format.
agents/tools/base.py:15
↓ 1 callersMethodto_params
Convert all tools to API parameters.
browser-use-demo/browser_use_demo/tools/collection.py:15
↓ 1 callersFunctiontrack_sampling_loop
()
computer-use-demo/computer_use_demo/streamlit.py:481
↓ 1 callersMethodtruncate
Remove oldest messages when context window limit is exceeded.
agents/utils/history_util.py:69
↓ 1 callersFunctionuseToast
()
financial-data-analyst/hooks/use-toast.ts:174
↓ 1 callersFunctionvalidate_auth
(provider: APIProvider, api_key: str | None)
computer-use-demo/computer_use_demo/streamlit.py:487
↓ 1 callersFunctionvalidate_env
Validate required environment variables are set.
browser-use-demo/validate_env.py:19
↓ 1 callersFunctionvalidate_pkill_command
Validate pkill commands - only allow killing dev-related processes. Uses shlex to parse the command, avoiding regex bypass vulnerabilities.
autonomous-coding/security.py:161
↓ 1 callersMethodview
Implement the view command
computer-use-demo/computer_use_demo/tools/edit.py:113
FunctionAIChat
()
financial-data-analyst/app/finance/page.tsx:197
FunctionAreaChartComponent
({ data, stacked, }: { data: ChartData; stacked?: boolean; })
financial-data-analyst/components/ChartRenderer.tsx:310
FunctionBadge
({ className, variant, ...props }: BadgeProps)
financial-data-analyst/components/ui/badge.tsx:30
FunctionBarChartComponent
({ data }: { data: ChartData })
financial-data-analyst/components/ChartRenderer.tsx:33
FunctionChartPagination
({ total, current, onDotClick, }: { total: number; current: number; onDotClick: (index: number) =>
financial-data-analyst/app/finance/page.tsx:173
FunctionChartRenderer
({ data }: { data: ChartData })
financial-data-analyst/components/ChartRenderer.tsx:391
FunctionChartStyle
({ id, config }: { id: string; config: ChartConfig })
financial-data-analyst/components/ui/chart.tsx:75
← previousnext →201–300 of 710, ranked by callers