Skip to main content
Glama

open_image_with_system

Opens image URLs directly in your system's default application. Use this tool to view images generated by the MCP Server Replicate without downloading them first.

Instructions

Open an image URL with the system's default application.

Args: image_url: URL of the image to open Returns: Dict containing status of the operation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_urlYes

Implementation Reference

  • The handler function that implements the 'open_image_with_system' tool by opening the provided image URL using the system's default web browser.
    async def open_image_with_system(image_url: str) -> dict[str, Any]: """Open an image URL with the system's default application. Args: image_url: URL of the image to open Returns: Dict containing status of the operation """ try: # Open URL directly with system default webbrowser.open(image_url) return {"status": "success", "message": "Image opened with system default application", "url": image_url} except Exception as e: logger.error(f"Failed to open image: {str(e)}") return {"status": "error", "message": f"Failed to open image: {str(e)}", "url": image_url}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gerred/mcp-server-replicate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server