Panel: prepare file download
view_downloadApp-only adapter for the file panel's Download and Reveal controls. path is a workspace-relative result selected in that panel. action defaults to download: remote delivery uploads the requested existing file and returns a temporary download link in view.download; treat that link as bearer access to the result. reveal shows a validated local file in its containing folder when supported and returns view.reveal. Does not render or save a new scene. Models should use get_project_file for delivery, or list_project_files to discover existing outputs.
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": "view_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Workspace-relative result path selected in the panel file list. | |
| action | No | download prepares file delivery; reveal shows a validated local file in its containing folder when supported. |