get_gui_url
Retrieve the live event viewer dashboard URL to monitor real-time CLI agent tasks and workflows through a web interface.
Instructions
Get the GUI dashboard URL. Returns the HTTP URL where the live event viewer is accessible.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/cli_agent_mcp/server.py:157-161 (handler)Handler for the 'get_gui_url' tool. Checks if GUI manager has a URL and returns it as text content, otherwise returns a message indicating GUI unavailability.# 处理 get_gui_url 工具 if name == "get_gui_url": if gui_manager and gui_manager.url: return [TextContent(type="text", text=gui_manager.url)] return [TextContent(type="text", text="GUI not available or URL not ready")]
- src/cli_agent_mcp/server.py:130-138 (registration)Registration of the 'get_gui_url' tool in the list_tools() decorator method, conditionally added if gui_manager is provided. Includes inline schema with no input properties.# 添加 get_gui_url 工具 if gui_manager: tools.append( Tool( name="get_gui_url", description="Get the GUI dashboard URL. Returns the HTTP URL where the live event viewer is accessible.", inputSchema={"type": "object", "properties": {}, "required": []}, ) )
- src/cli_agent_mcp/server.py:136-136 (schema)Input schema for 'get_gui_url' tool: an empty object (no parameters required).inputSchema={"type": "object", "properties": {}, "required": []},