Open a workspace image or ZIP image member
image_openOpen an image file from a workspace path or ZIP archive and return it as image content for display.
Instructions
Return one bounded PNG/JPEG/GIF/WebP as MCP image content, either from a direct workspace path or from one exact member inside a workspace ZIP. The archive is never extracted to disk.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "image_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Direct image path. Mutually exclusive with archive_path. | |
| member | No | Exact POSIX member path inside archive_path. | |
| archive_path | No | ZIP path containing the image. Mutually exclusive with path. | |
| workspace_id | No | Required when server_info lists multiple workspaces. |