MCPcopy Create free account

hub / github.com/HKUDS/OpenSpace / functions

Functions2,195 in github.com/HKUDS/OpenSpace

Method__init__
(self, session: Any, data_path: str, current_date: str)
openspace/grounding/backends/shell/productivity_tools.py:91
Method__init__
( self, connector: Union[ShellConnector, LocalShellConnector], *, session_i
openspace/grounding/backends/shell/session.py:35
Method__init__
(self, session: "ShellSession", default_working_dir: str = None, default_env: dict = None, default_conda_env:
openspace/grounding/backends/shell/session.py:93
Method__init__
(self, session: "ShellSession", default_working_dir: str = None, default_env: dict = None, default_conda_env:
openspace/grounding/backends/shell/session.py:117
Method__init__
(self, session: "ShellSession")
openspace/grounding/backends/shell/session.py:152
Method__init__
(self, session: "ShellSession")
openspace/grounding/backends/shell/session.py:191
Method__init__
(self, session: "ShellSession")
openspace/grounding/backends/shell/session.py:284
Method__init__
( self, session: "ShellSession", client_password: str = "", max_steps: int
openspace/grounding/backends/shell/session.py:330
Method__init__
( self, *, retry_times: int = 3, retry_interval: float = 5, security_m
openspace/grounding/backends/shell/transport/local_connector.py:207
Method__init__
( self, vm_ip: str, port: int = 5000, *, retry_times: int = 3,
openspace/grounding/backends/shell/transport/connector.py:19
Method__init__
Initialize MCP Provider. Args: config: Configuration dict with MCP server definitions. Example: {"mcpS
openspace/grounding/backends/mcp/provider.py:31
Method__init__
Initialize a new MCP client. Args: config: Either a dict containing configuration or a path to a JSON config file.
openspace/grounding/backends/mcp/client.py:29
Method__init__
Initialize the installer manager. Args: prompt: Custom user prompt function, if None, the default CLI prompt is used
openspace/grounding/backends/mcp/installer.py:54
Method__init__
(self, cache_path: Optional[Path] = None, sanitized_cache_path: Optional[Path] = None)
openspace/grounding/backends/mcp/tool_cache.py:23
Method__init__
Initialize a new MCP session. Args: connector: The connector to use for communicating with the MCP implementation. se
openspace/grounding/backends/mcp/session.py:26
Method__init__
Initialize base connector with common attributes. Args: connection_manager: The connection manager to use for the connect
openspace/grounding/backends/mcp/transport/connectors/base.py:32
Method__init__
Initialize a new HTTP connector. Args: base_url: The base URL of the MCP HTTP API. auth_token: Optional authenticatio
openspace/grounding/backends/mcp/transport/connectors/http.py:48
Method__init__
Initialize a new sandbox connector. Args: sandbox: A BaseSandbox implementation (e.g., E2BSandbox) to run commands in.
openspace/grounding/backends/mcp/transport/connectors/sandbox.py:31
Method__init__
Initialize a new stdio connector. Args: command: The command to execute. args: Optional command line arguments.
openspace/grounding/backends/mcp/transport/connectors/stdio.py:27
Method__init__
Initialize a new WebSocket connector. Args: url: The WebSocket URL to connect to. auth_token: Optional authentication
openspace/grounding/backends/mcp/transport/connectors/websocket.py:31
Method__init__
Initialize a new stdio connection manager. Args: server_params: The parameters for the stdio server errlog: The error
openspace/grounding/backends/mcp/transport/task_managers/stdio.py:243
Method__init__
(self, url: str, headers: dict[str, str] | None = None)
openspace/grounding/backends/mcp/transport/task_managers/websocket.py:20
Method__init__
Initialize a new SSE connection manager. Args: url: The SSE endpoint URL headers: Optional HTTP headers t
openspace/grounding/backends/mcp/transport/task_managers/sse.py:26
Method__init__
( self, url: str, headers: dict[str, str] | None = None, timeout: float = 5,
openspace/grounding/backends/mcp/transport/task_managers/streamable_http.py:86
Method__init__
Initialize GUI provider. Args: config: Provider configuration
openspace/grounding/backends/gui/provider.py:32
Method__init__
Initialize Anthropic GUI Client for Claude Sonnet 4.5. Args: model: Model name (only "claude-sonnet-4-5" support
openspace/grounding/backends/gui/anthropic_client.py:57
Method__init__
Initialize GUI session. Args: connector: GUI HTTP connector session_id: Unique session identifier
openspace/grounding/backends/gui/session.py:20
Method__init__
Initialize GUI Agent Tool. Args: connector: GUI connector for communication with desktop_env llm_cli
openspace/grounding/backends/gui/tool.py:52
Method__init__
( self, timeout: int = 90, retry_times: int = 3, retry_interval: float = 5.0,
openspace/grounding/backends/gui/transport/local_connector.py:38
Method__init__
Initialize GUI connector. Args: vm_ip: IP address of the VM running desktop_env server_port: Port of
openspace/grounding/backends/gui/transport/connector.py:17
Method__init__
(self, config: Dict[str, Any] = None)
openspace/grounding/backends/web/provider.py:14
Method__init__
(self, api_key: str, base_url: str)
openspace/grounding/backends/web/session.py:28
Method__init__
( self, session: WebSession )
openspace/grounding/backends/web/session.py:190
Method__init__
( self, sessions_dir: Path, *, workspace_root: Optional[Path] = None, )
openspace/communication/session_store.py:18
Method__init__
(self, session: ChannelSession, openspace_factory: OpenSpaceFactory)
openspace/communication/runtime_manager.py:22
Method__init__
( self, config: CommunicationConfig, openspace_factory: OpenSpaceFactory, )
openspace/communication/runtime_manager.py:77
Method__init__
(self, scope: str, identity: str, record: Optional[dict[str, Any]] = None)
openspace/communication/gateway_runtime.py:121
Method__init__
(self, status_path: Path)
openspace/communication/gateway_runtime.py:206
Method__init__
(self, locks_dir: Path)
openspace/communication/gateway_runtime.py:236
Method__init__
(self, status_path: Path)
openspace/communication/gateway_runtime.py:258
Method__init__
(self, config: CommunicationConfig)
openspace/communication/gateway.py:64
Method__init__
( self, base_dir: Path, *, max_attachment_bytes: int = 25 * 1024 * 1024,
openspace/communication/attachment_cache.py:16
Method__init__
( self, config: FeishuConfig, attachment_cache: AttachmentCache, *, ru
openspace/communication/adapters/feishu.py:70
Method__init__
(self, platform: ChannelPlatform)
openspace/communication/adapters/base.py:18
Method__init__
( self, config: WhatsAppConfig, attachment_cache: AttachmentCache, *,
openspace/communication/adapters/whatsapp.py:33
Method__init__
( self, llm_client: Optional[LLMClient] = None, visual_analysis_model: Optional[str] =
openspace/agents/visual_analyzer.py:20
Method__init__
Initialize the BaseAgent. Args: name: Unique name for the agent backend_scope: List of backend types
openspace/agents/base.py:18
Method__init__
Initialize the Grounding Agent. Args: name: Agent name backend_scope: List of backends this agent ca
openspace/agents/grounding_agent.py:31
Method__init__
(self, platform_adapter=None, accessibility_helper=None)
openspace/local_server/feature_checker.py:13
Method__init__
(self, feature_available: bool, endpoint_available: Optional[bool], endpoint_detail: str = "
openspace/local_server/health_checker.py:15
Method__init__
(self, feature_checker: FeatureChecker, base_url: str = "http://127.0.0.1:5000",
openspace/local_server/health_checker.py:40
Method__init__
(self)
openspace/local_server/utils/screenshot.py:14
Method__init__
(self)
openspace/local_server/utils/accessibility.py:11
Method__init__
(self)
openspace/local_server/platform_adapters/macos_adapter.py:24
Method__init__
(self, display=None)
openspace/local_server/platform_adapters/pyxcursor.py:49
Method__init__
(self)
openspace/local_server/platform_adapters/linux_adapter.py:22
Method__init__
(self)
openspace/local_server/platform_adapters/windows_adapter.py:24
Method__init__
Initialize screenshot client. Args: base_url: Base URL of local_server (default: read from
openspace/platforms/screenshot.py:21
Method__init__
Initialize auto-screenshot wrapper. Args: tool: The tool/session to wrap screenshot_client: Screensh
openspace/platforms/screenshot.py:196
Method__init__
Initialize recording client. Args: base_url: Base URL of the local server (default: read fr
openspace/platforms/recording.py:18
Method__init__
Initialize recording context manager. Args: base_url: Base URL of the local server (default: from config)
openspace/platforms/recording.py:144
Method__init__
Initialize system info client. Args: base_url: Base URL of the local server (default: read
openspace/platforms/system_info.py:17
Method__init__
(self, tracker: "TokenTracker")
gdpval_bench/token_tracker.py:166
Method__init_subclass__
- at least implement _run or _arun - backend_type is NOT_SET, only give a warning, allow RemoteTool to inject at runtime
openspace/grounding/core/tool/base.py:312
Method__post_init__
Validate configuration
openspace/tool_layer.py:71
Method__repr__
(self)
openspace/tool_layer.py:981
Method__repr__
(self)
openspace/grounding/core/provider.py:77
Method__repr__
(self)
openspace/grounding/core/exceptions.py:66
Method__repr__
(self)
openspace/grounding/core/tool/base.py:37
Method__repr__
(self)
openspace/grounding/core/tool/base.py:306
Method__repr__
(self)
openspace/agents/base.py:155
Method__str__
(self)
openspace/grounding/core/exceptions.py:63
Method__str__
(self)
openspace/local_server/health_checker.py:26
Method_after_connect
Create ClientSession after connection is established. Some connectors (like WebSocket) don't use ClientSession and may override this
openspace/grounding/backends/mcp/transport/connectors/base.py:66
Method_after_connect
Create ClientSession and log success.
openspace/grounding/backends/mcp/transport/connectors/sandbox.py:198
Method_after_connect
Create ClientSession and log success.
openspace/grounding/backends/mcp/transport/connectors/stdio.py:68
Method_after_connect
Set up WebSocket-specific resources after connection. WebSocket doesn't use ClientSession, so we skip the parent's implementation
openspace/grounding/backends/mcp/transport/connectors/websocket.py:64
Method_arun
(self, query: str)
openspace/skill_engine/retrieve_tool.py:72
Method_arun
( self, task_prompt: str, candidate_tools: list[BaseTool], *, max_tool
openspace/grounding/core/search_tools.py:649
Method_arun
(self)
openspace/grounding/core/system/tool.py:22
Method_arun
(self, backend: str)
openspace/grounding/core/system/tool.py:34
Method_arun
(self, session_id: str)
openspace/grounding/core/system/tool.py:52
Method_arun
(self, use_cache: bool = False)
openspace/grounding/core/system/tool.py:65
Method_arun
(self, **kwargs)
openspace/grounding/core/tool/remote_tool.py:31
Method_arun
(self, **kwargs)
openspace/grounding/backends/shell/productivity_tools.py:97
Method_arun
(self, query: str, max_results: int = 5)
openspace/grounding/backends/shell/productivity_tools.py:118
Method_arun
(self, urls: str, query: Optional[str] = None)
openspace/grounding/backends/shell/productivity_tools.py:132
Method_arun
Create a file via Shell connector so it lands in the task workspace.
openspace/grounding/backends/shell/productivity_tools.py:147
Method_arun
(self, filetype: str, file_path: str)
openspace/grounding/backends/shell/productivity_tools.py:287
Method_arun
(self, code: str, language: str = "python")
openspace/grounding/backends/shell/productivity_tools.py:301
Method_arun
Create video via Shell connector so it lands in the task workspace.
openspace/grounding/backends/shell/productivity_tools.py:315
Method_arun
(self, code: str, timeout: int = 90, working_dir: str | None = None, env: dict | None = None, conda_env: str |
openspace/grounding/backends/shell/session.py:100
Method_arun
(self, script: str, timeout: int = 30, working_dir: str | None = None, env: dict | None = None, conda_env: str
openspace/grounding/backends/shell/session.py:124
Method_arun
(self, path: str)
openspace/grounding/backends/shell/session.py:156
Method_arun
(self, path: str, content: str)
openspace/grounding/backends/shell/session.py:195
Method_arun
(self, command: str, timeout: int = 30)
openspace/grounding/backends/shell/session.py:288
Method_arun
(self, task: str, timeout: int = 300)
openspace/grounding/backends/shell/session.py:420
Method_arun
Execute a GUI automation task using LLM planning. This is the main entry point that: 1. Gets current screenshot
openspace/grounding/backends/gui/tool.py:68
Method_arun
(self, query: str)
openspace/grounding/backends/web/session.py:198
Method_arun
Run tool and auto-capture screenshot.
openspace/platforms/screenshot.py:245
← previousnext →1,501–1,600 of 2,195, ranked by callers