render_screenshot
Capture a TOP's current frame as a PNG. Specify output path, overwrite, and detail level to get a screenshot response from TouchDesigner.
Instructions
Save a TOP's current frame to a PNG file.
path (<class 'str'>): TOP operator path.
save_path (str | None): Output PNG path; tempfile if omitted.
overwrite (bool | None): Replace an existing save_path (default false; .toe/.tox never).
detail (str | None): full (default) | summary (long lists cut to 25 + count) | minimal (top-level scalars only).
response_format (str | None): yaml (default, token-cheap) | json.
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": "render_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| detail | No | ||
| overwrite | No | ||
| save_path | No | ||
| response_format | No |