MCPcopy Create free account

hub / github.com/HKUDS/AnyTool / functions

Functions999 in github.com/HKUDS/AnyTool

↓ 1 callersMethodfind_dangerous_tokens
Find and return all dangerous tokens in the command. Returns empty list if no dangerous tokens found.
anytool/grounding/core/types.py:181
↓ 1 callersFunctionformat_agent_actions
Format agent actions for display.
anytool/recording/action_recorder.py:223
↓ 1 callersMethodfrom_dict
Create SecurityPolicy from configuration dict. Supports two formats for blocked_commands: 1. List format (applies to
anytool/grounding/core/types.py:98
↓ 1 callersMethodfrom_dict
Deserialize from dict.
anytool/grounding/core/quality/types.py:191
↓ 1 callersMethodgenerate_summary
Generate a comprehensive summary of the recording session.
anytool/recording/manager.py:888
↓ 1 callersFunctiongenerate_summary_report
(recording_dir: str, output_file: Optional[str] = None)
anytool/recording/utils.py:275
↓ 1 callersMethodget_accessibility_tree
Get accessibility tree locally.
anytool/grounding/backends/gui/transport/local_connector.py:319
↓ 1 callersMethodget_accessibility_tree
Get accessibility tree from desktop environment. Args: max_depth: Maximum depth of accessibility tree traversal
anytool/grounding/backends/gui/transport/connector.py:325
↓ 1 callersMethodget_accessibility_tree
Get macOS accessibility tree Args: max_depth: Maximum depth Returns: Accessibil
anytool/local_server/platform_adapters/macos_adapter.py:154
↓ 1 callersFunctionget_agent_config
Get the configuration of the specified agent
anytool/config/loader.py:151
↓ 1 callersMethodget_all_sanitized_tools
Get all sanitized cached tools, grouped by server.
anytool/grounding/backends/mcp/tool_cache.py:226
↓ 1 callersMethodget_bytes
(self, path: str, **kw)
anytool/grounding/core/transport/connectors/aiohttp_connector.py:63
↓ 1 callersMethodget_cache_stats
Get statistics about the embedding cache. Returns: Dict with structure: { "total_embeddings": int,
anytool/grounding/core/search_tools.py:427
↓ 1 callersMethodget_clickable_elements
(self, tree: Dict[str, Any])
anytool/local_server/utils/accessibility.py:115
↓ 1 callersMethodget_cursor_position
Get current mouse cursor position. Useful for GUI debugging and relative positioning. Returns: (x, y) tu
anytool/grounding/backends/gui/transport/connector.py:349
↓ 1 callersMethodget_cursor_position
Get cursor position Returns: (x, y)
anytool/local_server/utils/screenshot.py:97
↓ 1 callersFunctionget_global_installer
Get the global installer manager instance.
anytool/grounding/backends/mcp/installer.py:687
↓ 1 callersMethodget_host
Get the host URL for a specific port. Args: port: The port number to get the host for Returns:
anytool/grounding/core/security/e2b_sandbox.py:187
↓ 1 callersMethodget_last_search_debug_info
Get debug info from the last search operation. Returns: Dict containing search debug info, or None if no search has been
anytool/grounding/core/search_tools.py:1103
↓ 1 callersFunctionget_model_name
Extract the model name from LangChain LLM using BaseChatModel standards.
anytool/utils/telemetry/utils.py:27
↓ 1 callersFunctionget_model_provider
Extract the model provider from LangChain LLM using BaseChatModel standards.
anytool/utils/telemetry/utils.py:21
↓ 1 callersMethodget_parameters_schema
Auto-generate JSON-schema from _run() or _arun() signature. Returns empty dict for tools with no parameters. Priority: prefer
anytool/grounding/core/tool/base.py:75
↓ 1 callersMethodget_penalty
Get penalty factor for a tool (0.2-1.0).
anytool/grounding/core/quality/manager.py:350
↓ 1 callersFunctionget_platform_adapter
()
anytool/local_server/platform_adapters/__init__.py:31
↓ 1 callersMethodget_prompt
Get a prompt by name.
anytool/grounding/backends/mcp/transport/connectors/base.py:344
↓ 1 callersMethodget_prompt
Get a prompt by name.
anytool/grounding/backends/mcp/transport/connectors/http.py:668
↓ 1 callersFunctionget_quality_manager
Get the global quality manager instance.
anytool/grounding/core/quality/__init__.py:9
↓ 1 callersMethodget_screen_size
Get screen size. Returns: Dict with 'width' and 'height', or None on failure
anytool/platform/system_info.py:90
↓ 1 callersMethodget_screenshot
Capture screenshot locally using ScreenshotHelper.
anytool/grounding/backends/gui/transport/local_connector.py:206
↓ 1 callersMethodget_screenshot
Get screenshot from desktop environment. Returns: Screenshot image bytes (PNG/JPEG), or None on failure
anytool/grounding/backends/gui/transport/connector.py:204
↓ 1 callersMethodget_server_names
Get the list of configured server names. Returns: List of server names.
anytool/grounding/backends/mcp/client.py:180
↓ 1 callersMethodget_simple_features_dict
Get simple feature dict (for banner display)
anytool/local_server/health_checker.py:584
↓ 1 callersMethodget_summary
Get summary
anytool/local_server/health_checker.py:568
↓ 1 callersMethodget_system_info
Get macOS system information Returns: System information dictionary
anytool/local_server/platform_adapters/macos_adapter.py:357
↓ 1 callersFunctionget_system_prompt
Get system prompt based on platform. Args: platform: Platform type (Ubuntu, Windows, macOS, or Darwin) Returns:
anytool/grounding/backends/gui/anthropic_utils.py:46
↓ 1 callersMethodget_terminal_output
Get terminal output (macOS Terminal.app or iTerm2) Returns: Terminal output content
anytool/local_server/platform_adapters/macos_adapter.py:651
↓ 1 callersMethodget_tools_with_auto_search
Intelligent tool retrieval: automatically decides whether to return all tools or trigger search. Logic: - If tool_co
anytool/grounding/core/grounding_client.py:625
↓ 1 callersMethodget_top_tools
Get top N tools by quality score. Args: n: Number of tools to return backend: Filter by backend type
anytool/grounding/core/quality/manager.py:429
↓ 1 callersMethodget_visible_elements
(self, tree: Dict[str, Any])
anytool/local_server/utils/accessibility.py:98
↓ 1 callersMethodhas_sanitized_cache
Check if sanitized cache exists and has data.
anytool/grounding/backends/mcp/tool_cache.py:231
↓ 1 callersMethodinitialize
(self)
anytool/grounding/backends/shell/session.py:35
↓ 1 callersMethodinitialize
Initialize the MCP provider. If config["eager_sessions"] is True, creates sessions for all configured servers. Otherwise, ses
anytool/grounding/backends/mcp/provider.py:83
↓ 1 callersMethodinitialize
Initialize the MCP session and discover available tools. Returns: The session information returned by the MCP implementation.
anytool/grounding/backends/mcp/session.py:50
↓ 1 callersMethodinitialize_all_providers
(self)
anytool/grounding/core/grounding_client.py:215
↓ 1 callersFunctioninject_prompt_caching
Set cache breakpoints for the 3 most recent turns. One cache breakpoint is left for tools/system prompt, to be shared across sessions.
anytool/grounding/backends/gui/anthropic_utils.py:106
↓ 1 callersFunctioninteractive_mode
(anytool: AnyTool, ui_manager: UIManager)
anytool/__main__.py:73
↓ 1 callersMethodinvoke
Dispatch by name — same routing as ShellConnector via AioHttpConnector.
anytool/grounding/backends/shell/transport/local_connector.py:384
↓ 1 callersMethodinvoke_tool
Universal tool invocation method. Supports multiple calling patterns: 1. Using BaseTool instance with bound runtime
anytool/grounding/core/grounding_client.py:738
↓ 1 callersMethodis_available
(self)
anytool/local_server/utils/accessibility.py:44
↓ 1 callersMethoditeration_feedback
Build feedback message to pass iteration summary to next iteration.
anytool/prompts/grounding_agent_prompts.py:231
↓ 1 callersMethodlist_all_backend_tools
List static tools for every registered backend.
anytool/grounding/core/grounding_client.py:531
↓ 1 callersMethodlist_prompts
List all available prompts.
anytool/grounding/backends/mcp/transport/connectors/http.py:654
↓ 1 callersMethodlist_resources
List all available resources from the MCP implementation.
anytool/grounding/backends/mcp/transport/connectors/base.py:309
↓ 1 callersMethodlist_session_tools
( self, session_name: str, use_cache: bool = False )
anytool/grounding/core/grounding_client.py:521
↓ 1 callersMethodlist_sessions
(self)
anytool/tool_layer.py:381
↓ 1 callersMethodlist_tools
List tools from MCP sessions. Args: session_name: If provided, only list tools from that session.
anytool/grounding/backends/mcp/provider.py:200
↓ 1 callersMethodlist_tools
List all available tools from the MCP implementation.
anytool/grounding/backends/mcp/transport/connectors/base.py:295
↓ 1 callersMethodlist_tools
List all available tools from the MCP implementation.
anytool/grounding/backends/mcp/transport/connectors/websocket.py:207
↓ 1 callersMethodlist_windows
List all windows Returns: Window list
anytool/local_server/platform_adapters/macos_adapter.py:593
↓ 1 callersFunctionload_agents_config
()
anytool/config/loader.py:146
↓ 1 callersMethodload_all
Load all quality records and global execution count from disk. Returns: Tuple of (records_dict, global_execution_count)
anytool/grounding/core/quality/store.py:43
↓ 1 callersFunctionload_metadata
(trajectory_dir: str)
anytool/recording/utils.py:33
↓ 1 callersFunctionmain
()
anytool/__main__.py:409
↓ 1 callersFunctionmain
()
anytool/local_server/main.py:1111
↓ 1 callersFunctionprint_banner
Print startup banner with server information
anytool/local_server/main.py:1047
↓ 1 callersMethodprint_configuration
(config: AnyToolConfig)
anytool/utils/cli_display.py:27
↓ 1 callersMethodprint_help
()
anytool/utils/cli_display.py:198
↓ 1 callersMethodprint_interactive_header
()
anytool/utils/cli_display.py:122
↓ 1 callersMethodprint_result_summary
(result: dict)
anytool/utils/cli_display.py:70
↓ 1 callersMethodprint_results
Print check results
anytool/local_server/health_checker.py:460
↓ 1 callersFunctionprint_section
(title: str, content: List[str], color: str = 'c', inden
anytool/utils/display.py:223
↓ 1 callersMethodprint_summary
(self, result: dict)
anytool/__main__.py:46
↓ 1 callersMethodprint_system_ready
()
anytool/utils/cli_display.py:160
↓ 1 callersMethodprocess
(self, context: Dict[str, Any])
anytool/agents/base.py:82
↓ 1 callersMethodread_resource
Read a resource by URI.
anytool/grounding/backends/mcp/transport/connectors/base.py:322
↓ 1 callersMethodread_resource
Read a resource by URI.
anytool/grounding/backends/mcp/transport/connectors/http.py:645
↓ 1 callersMethodrecord_action
Record an agent action. Args: agent_name: Name of the agent performing the action action_type: Type
anytool/recording/action_recorder.py:42
↓ 1 callersMethodrecord_agent_action
Record an agent's action and decision-making process. Args: agent_name: Name of the agent performing the action
anytool/recording/manager.py:838
↓ 1 callersMethodrecord_execution
Record tool execution result and increment global counter.
anytool/grounding/core/quality/manager.py:116
↓ 1 callersMethodrecord_iteration_context
Record a single iteration's LLM conversation to conversations.jsonl (real-time). Args: iteration: Iteration numb
anytool/recording/manager.py:142
↓ 1 callersMethodrecord_retrieved_tools
Record the tools retrieved for a task Args: task_instruction: The task instruction used for retrieval
anytool/recording/manager.py:88
↓ 1 callersFunctionrefresh_mcp_cache
Refresh MCP tool cache by starting servers one by one and saving tool metadata.
anytool/__main__.py:184
↓ 1 callersMethodregister
(cls, name: str, agent_cls: Type[BaseAgent])
anytool/agents/base.py:175
↓ 1 callersMethodregister_to_llm
(self, llm_client)
anytool/recording/manager.py:483
↓ 1 callersMethodrequest
(self, method: str, path: str, **kw)
anytool/grounding/core/transport/connectors/aiohttp_connector.py:100
↓ 1 callersFunctionresponse_to_params
Convert Anthropic response to parameter list. Handles both text blocks, tool use blocks, and thinking blocks. Args: response
anytool/grounding/backends/gui/anthropic_utils.py:188
↓ 1 callersMethodrun_bash_script
Execute a Bash script locally. Return format matches the server's ``/run_bash_script`` endpoint.
anytool/grounding/backends/shell/transport/local_connector.py:321
↓ 1 callersFunctionrun_health_check_async
Asynchronous running health check
anytool/local_server/main.py:1071
↓ 1 callersFunctionrun_main
Run main function
anytool/__main__.py:462
↓ 1 callersMethodrun_python_script
Execute a Python script locally. Return format matches the server's ``/run_python`` endpoint.
anytool/grounding/backends/shell/transport/local_connector.py:248
↓ 1 callersMethodrun_python_script
Execute Python script on remote server Args: code: Python code string timeout: Execution timeout in
anytool/grounding/backends/shell/transport/connector.py:96
↓ 1 callersMethodsaveImage
(self, imgarray, text)
anytool/local_server/platform_adapters/pyxcursor.py:137
↓ 1 callersMethodsave_init_screenshot
Save initial screenshot to screenshots dir and update metadata.
anytool/recording/recorder.py:168
↓ 1 callersFunctionsave_json_file
(data: dict[str, Any], filepath: str | Path, indent: int = 2)
anytool/config/utils.py:20
↓ 1 callersMethodsave_sanitized
Save sanitized tool metadata to disk. Args: servers: Dict mapping server_name -> list of sanitized tool metadata
anytool/grounding/backends/mcp/tool_cache.py:202
↓ 1 callersMethodsave_server
Save/update a single server's tools to cache (incremental append). Args: server_name: Name of the MCP server
anytool/grounding/backends/mcp/tool_cache.py:97
↓ 1 callersMethodsearch_tools
Search tools from backend(s) or session. Args: task_description: Task description for searching relevant tools
anytool/grounding/core/grounding_client.py:542
↓ 1 callersFunctionset_quality_manager
Set the global quality manager instance.
anytool/grounding/core/quality/__init__.py:14
↓ 1 callersMethodset_server_order
Set expected server order (from config). Used when saving to disk.
anytool/grounding/backends/mcp/tool_cache.py:30
↓ 1 callersMethodset_wallpaper
Set desktop wallpaper Args: image_path: Image path Returns: Result dictionary
anytool/local_server/platform_adapters/macos_adapter.py:324
← previousnext →401–500 of 999, ranked by callers