Px View Image
px_view_imageView an image file directly in the MCP context, downscaled to a specified max side to save tokens. Provides an info dictionary first.
Instructions
Return an image file as MCP image content so the caller can SEE it (downscaled to max_side for token sanity), preceded by an info dict.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "px_view_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_side | No |