Fetch graph images
stata_graphsFetch Stata graphs as viewable images from the last run or explicit file paths, returning PNG/JPEG content and reporting SVG-only outputs by path.
Instructions
Return Stata graphs as images the agent can actually look at. Defaults to the graphs produced by the most recent run; pass explicit file paths to fetch older ones. PNG/JPEG are returned as image content; SVG-only output is reported by path.
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": "stata_graphs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum number of images to attach (1-5, default 2). | |
| files | No | Absolute paths to .png/.jpg files. Omit to use the last run's graphs. |