Render generated media
render_job_mediadisplay generated images, video and 3D (glb meshes and gaussian splat worlds) inline using the OTOY media viewer. accepts request_ids from run_endpoint calls, output_ids from list_generations/check_job, or file_ids from uploaded/stored files. supports stacked media and configurable layouts. can be called IMMEDIATELY after starting a generation: jobs still in progress show a live progress view that updates to the finished media automatically (in hosts that support widget tool calls) - you still need check_job if you want the result urls yourself.
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": "render_job_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | No | how to display multiple results | carousel |
| file_id | No | stored file id (from file_metadata.id or uploads) | |
| file_ids | No | multiple file ids | |
| output_id | No | persistent output id from list_generations or check_job output_ids | |
| output_ids | No | multiple output ids | |
| request_id | No | the job ID returned from a run_endpoint call | |
| request_ids | No | multiple job IDs for stacked/carousel display |