MCPcopy Create free account

hub / github.com/HKUDS/AnyTool / functions

Functions999 in github.com/HKUDS/AnyTool

↓ 3 callersFunctionis_stdio_server
Check if the server configuration is for a stdio server. Args: server_config: The server configuration section Returns: True
anytool/grounding/backends/mcp/transport/connectors/utils.py:4
↓ 3 callersFunctionload_config
Load configuration files
anytool/config/loader.py:62
↓ 3 callersFunctionload_json_file
(filepath: str | Path)
anytool/config/utils.py:13
↓ 3 callersMethodpost_json
( self, path: str, payload: Any | BaseModel, *, response_model: type[B
anytool/grounding/core/transport/connectors/aiohttp_connector.py:68
↓ 3 callersMethodregister
(self, provider: "Provider")
anytool/grounding/core/provider.py:138
↓ 3 callersMethodrun_bash_script
Execute Bash script on remote server Args: script: Bash script content (can be multi-line) timeout:
anytool/grounding/backends/shell/transport/connector.py:145
↓ 3 callersFunctionrun_server
Start desktop control server Args: host: Listening address (127.0.0.1 for local, 0.0.0.0 for all interfaces) port: Liste
anytool/local_server/main.py:1089
↓ 3 callersMethodsave_all
Save all quality records and global execution count to disk.
anytool/grounding/core/quality/store.py:76
↓ 3 callersMethodset_debug
Dynamically switch debug level: 0 = WARNING, 1 = INFO, 2 = DEBUG.
anytool/utils/logging.py:237
↓ 3 callersMethodstart
Start recording screen
anytool/recording/video.py:35
↓ 3 callersMethodstart_recording
Start screen recording. Args: auto_cleanup: If True, automatically end previous recording if one is in progress
anytool/platform/recording.py:47
↓ 3 callersMethodupdate_agent_status
Update agent status
anytool/utils/ui.py:359
↓ 2 callersMethod_after_connect
Create ClientSession (or set up JSON-RPC client) and log success.
anytool/grounding/backends/mcp/transport/connectors/http.py:327
↓ 2 callersMethod_after_disconnect
Hook called after disconnection. Override in subclasses if needed.
anytool/grounding/core/transport/connectors/base.py:96
↓ 2 callersMethod_arun
(self, **kwargs)
anytool/grounding/core/tool/base.py:162
↓ 2 callersMethod_arun
(self, script: str, timeout: int = 30, working_dir: str | None = None, env: dict | None = None, conda_env: str
anytool/grounding/backends/shell/session.py:80
↓ 2 callersMethod_ask_user
If prompt is provided, ask user for confirmation, otherwise default to deny
anytool/grounding/core/security/policies.py:67
↓ 2 callersMethod_ask_user
Ask the user whether to install.
anytool/grounding/backends/mcp/installer.py:92
↓ 2 callersMethod_build_tools_from_cache
Build BaseTool instances from cached tool metadata.
anytool/grounding/backends/mcp/provider.py:299
↓ 2 callersMethod_call_with_retry
Call LLM with backoff retry on rate limit errors Timeout and retry strategy: - Single call timeout: self.timeout (default 120
anytool/llm/client.py:370
↓ 2 callersMethod_capture_and_notify
Capture screenshot and notify callback.
anytool/platform/screenshot.py:221
↓ 2 callersMethod_check_command_available
Check if the command is available. Args: command: The command to check (e.g. "npx", "uvx") Returns:
anytool/grounding/backends/mcp/installer.py:106
↓ 2 callersMethod_clear_screen
Clear screen
anytool/utils/ui.py:88
↓ 2 callersMethod_create_client
Create Anthropic client (only supports anthropic provider).
anytool/grounding/backends/gui/anthropic_client.py:141
↓ 2 callersFunction_execute_task
(anytool: AnyTool, query: str, ui_manager: UIManager)
anytool/__main__.py:65
↓ 2 callersMethod_extract_last_assistant_message
(self, messages: List[Dict])
anytool/agents/grounding_agent.py:1004
↓ 2 callersMethod_generate_recommendations
Generate actionable recommendations based on quality data.
anytool/grounding/core/quality/manager.py:539
↓ 2 callersMethod_get_cache_file_path
Get the cache file path for the current model.
anytool/grounding/core/search_tools.py:114
↓ 2 callersMethod_get_cache_key
Get structured cache key (backend, server, tool_name) from tool.
anytool/grounding/core/search_tools.py:100
↓ 2 callersFunction_get_conda_activation_prefix
Generate platform-specific conda activation prefix.
anytool/grounding/backends/shell/transport/local_connector.py:32
↓ 2 callersMethod_get_embedding
Get embedding from structured cache.
anytool/grounding/core/search_tools.py:311
↓ 2 callersMethod_get_install_command
Generate install command based on command type. Args: command: The command to execute (e.g. "npx", "uvx", "uv")
anytool/grounding/backends/mcp/installer.py:513
↓ 2 callersMethod_get_screenshot_helper
(self)
anytool/grounding/backends/gui/transport/local_connector.py:60
↓ 2 callersMethod_get_session
Get or create aiohttp session.
anytool/platform/screenshot.py:44
↓ 2 callersMethod_get_session
Get or create aiohttp session.
anytool/platform/recording.py:39
↓ 2 callersMethod_get_test_file_path
Get path for a test file
anytool/local_server/health_checker.py:63
↓ 2 callersMethod_parse_as
Try to parse *data* into *model_cls* (a subclass of BaseModel). If `model_cls` is None or not a subclass of BaseModel, return the o
anytool/grounding/core/transport/connectors/base.py:116
↓ 2 callersMethod_parse_prompts_from_json
Parse prompt data into Prompt objects.
anytool/grounding/backends/mcp/transport/connectors/http.py:486
↓ 2 callersMethod_parse_resources_from_json
Parse resource data into Resource objects.
anytool/grounding/backends/mcp/transport/connectors/http.py:470
↓ 2 callersMethod_populate_selected_tools
Populate selected tools in debug info.
anytool/grounding/core/search_tools.py:842
↓ 2 callersMethod_process_line
Process a single line and decide whether to output it.
anytool/grounding/backends/mcp/transport/task_managers/stdio.py:64
↓ 2 callersMethod_rate_limit
Apply rate limiting by adding delay between API calls
anytool/llm/client.py:357
↓ 2 callersMethod_resolve_level
(cls, level: Optional[int])
anytool/utils/logging.py:282
↓ 2 callersMethod_retry_invoke
Execute HTTP request and retry Args: name: RPC method name payload: Request payload scri
anytool/grounding/backends/shell/transport/connector.py:34
↓ 2 callersFunction_sanitize_mcp_schema
Sanitize MCP tool schema to ensure Claude API compatibility (JSON Schema draft 2020-12). Fixes: - Empty schemas -> valid object sche
anytool/grounding/backends/mcp/tool_converter.py:19
↓ 2 callersMethod_save_persistent_cache
Save embeddings to disk cache.
anytool/grounding/core/search_tools.py:161
↓ 2 callersMethod_search_tree
(self, node: Dict[str, Any], key: str, value: str)
anytool/local_server/utils/accessibility.py:59
↓ 2 callersMethod_tokenize
(text: str)
anytool/grounding/core/search_tools.py:210
↓ 2 callersMethod_update_level
(cls, level: int)
anytool/utils/logging.py:289
↓ 2 callersMethod_update_ui
Update UI with current state
anytool/utils/ui_integration.py:113
↓ 2 callersFunctionanalyze_agent_actions
Analyze agent actions and generate statistics.
anytool/recording/action_recorder.py:194
↓ 2 callersFunctionanalyze_trajectory
Analyze trajectory and return statistics.
anytool/recording/utils.py:137
↓ 2 callersFunctionbuild_pyautogui_command
Build pyautogui command from action type and parameters. Args: action_type: Type of action (e.g., 'CLICK', 'TYPING') par
anytool/grounding/backends/gui/transport/actions.py:149
↓ 2 callersMethodcapture
(self, output_path: str, with_cursor: bool = True)
anytool/local_server/utils/screenshot.py:31
↓ 2 callersMethodcheck_accessibility_available
(self, use_cache: bool = True)
anytool/local_server/feature_checker.py:191
↓ 2 callersMethodcheck_python_available
(self, use_cache: bool = True)
anytool/local_server/feature_checker.py:74
↓ 2 callersMethodcheck_recording_available
(self, use_cache: bool = True)
anytool/local_server/feature_checker.py:167
↓ 2 callersMethodcheck_window_mgmt_available
(self, use_cache: bool = True)
anytool/local_server/feature_checker.py:136
↓ 2 callersMethodclear
Clear the cache.
anytool/grounding/backends/mcp/tool_cache.py:141
↓ 2 callersMethodclose_session
(self, name: str)
anytool/grounding/core/grounding_client.py:296
↓ 2 callersMethodconnect
Create the underlying session/connection. For JSON-RPC mode, we don't use a connection manager.
anytool/grounding/backends/mcp/transport/connectors/http.py:85
↓ 2 callersMethoddisconnect
(self)
anytool/grounding/core/session.py:62
↓ 2 callersMethodexecute_python_command
Execute a pyautogui Python command locally via subprocess.
anytool/grounding/backends/gui/transport/local_connector.py:227
↓ 2 callersMethodfinalize
Finalize recording, save final information
anytool/recording/recorder.py:229
↓ 2 callersMethodformat_messages_to_text
Format conversation history to readable text (for logging/debugging)
anytool/llm/client.py:683
↓ 2 callersMethodgetCursorImageArrayFast
(self)
anytool/local_server/platform_adapters/pyxcursor.py:125
↓ 2 callersMethodgetCursorImageData
(self)
anytool/local_server/platform_adapters/pyxcursor.py:102
↓ 2 callersMethodget_all_tools
Get all cached tools, grouped by server.
anytool/grounding/backends/mcp/tool_cache.py:131
↓ 2 callersFunctionget_cache_home
Get platform-appropriate cache directory.
anytool/utils/telemetry/telemetry.py:46
↓ 2 callersMethodget_cursor_position
Get cursor position locally.
anytool/grounding/backends/gui/transport/local_connector.py:333
↓ 2 callersMethodget_json
(self, path: str, **kw)
anytool/grounding/core/transport/connectors/aiohttp_connector.py:56
↓ 2 callersMethodget_policy
(self, backend_type: BackendType)
anytool/grounding/core/security/policies.py:57
↓ 2 callersMethodget_problematic_tools
Get tools with low success rate (candidates for review/removal). Args: success_rate_threshold: Tools below this
anytool/grounding/core/quality/manager.py:452
↓ 2 callersMethodget_screen_size
Get actual screen size from desktop environment using pyautogui. Returns: (width, height) tuple, or None on fail
anytool/grounding/backends/gui/transport/connector.py:178
↓ 2 callersMethodget_screen_size
Get screen size Returns: (width, height)
anytool/local_server/utils/screenshot.py:83
↓ 2 callersMethodget_security_policy
(self, backend_type: str)
anytool/config/grounding.py:268
↓ 2 callersMethodget_streams
Get the current connection streams. Returns: The current connection (typically a tuple of read_stream, write_stream) or None if n
anytool/grounding/core/transport/task_managers/base.py:154
↓ 2 callersMethodget_tree
(self, max_depth: int = 10)
anytool/local_server/utils/accessibility.py:28
↓ 2 callersMethodhas_cache
Check if cache exists and has data.
anytool/grounding/backends/mcp/tool_cache.py:136
↓ 2 callersMethodincrement_step
(self)
anytool/agents/base.py:145
↓ 2 callersMethodinitialize
(self)
anytool/tool_layer.py:80
↓ 2 callersMethodinitialize
Initialize the MCP session.
anytool/grounding/backends/mcp/transport/connectors/http.py:505
↓ 2 callersMethodis_recording
Check if there is an active recording session Returns: bool: True if recording is active
anytool/recording/manager.py:78
↓ 2 callersMethodis_running
(self)
anytool/tool_layer.py:370
↓ 2 callersMethodlist_backend_tools
( self, backend: BackendType | list[BackendType] | None = None, use_cache: bool = Fal
anytool/grounding/core/grounding_client.py:514
↓ 2 callersMethodlist_backends
(self)
anytool/tool_layer.py:376
↓ 2 callersMethodlist_prompts
List all available prompts from the MCP implementation.
anytool/grounding/backends/mcp/transport/connectors/base.py:331
↓ 2 callersMethodlist_tools
Return BaseTool list. If session_name is specified, only return the tools of the specified session. If session_name is not s
anytool/grounding/core/provider.py:83
↓ 2 callersMethodlist_tools
List all available tools.
anytool/grounding/backends/mcp/transport/connectors/http.py:578
↓ 2 callersMethodload_sanitized
Load sanitized cache from disk. Returns empty dict if not exists.
anytool/grounding/backends/mcp/tool_cache.py:183
↓ 2 callersFunctionload_trajectory_from_jsonl
(jsonl_path: str)
anytool/recording/utils.py:9
↓ 2 callersFunctionmaybe_filter_to_n_most_recent_images
With the assumption that images are screenshots that are of diminishing value as the conversation progresses, remove all but the final `image
anytool/grounding/backends/gui/anthropic_utils.py:134
↓ 2 callersMethodplan_action
Plan next action based on task and current screenshot. Includes prompt caching, error handling, and backup API key support.
anytool/grounding/backends/gui/anthropic_client.py:177
↓ 2 callersMethodprint_banner
Print startup banner
anytool/utils/ui.py:111
↓ 2 callersMethodprint_initialization_progress
(steps: list, show_header: bool = True)
anytool/utils/cli_display.py:47
↓ 2 callersMethodprint_task_header
(query: str, title: str = "▶ Executing Task")
anytool/utils/cli_display.py:149
↓ 2 callersMethodrecord_tool_execution
Record tool execution (internal method, called by BaseTool automatically) Args: tool_name: Name of the tool
anytool/recording/manager.py:230
↓ 2 callersMethodrender
Render entire UI
anytool/utils/ui.py:192
↓ 2 callersMethodsave_failed_server
Record a failed server to cache. Args: server_name: Name of the failed MCP server error: Error messa
anytool/grounding/backends/mcp/tool_cache.py:148
↓ 2 callersMethodsave_record
Save a single record (saves all for simplicity).
anytool/grounding/core/quality/store.py:102
← previousnext →101–200 of 999, ranked by callers