getStepMedia
Fetch the media a manager attached to a step for testers to follow, using the id of the step's resource as getBetaTasks returns it (published or unpublished). Images are returned as viewable image content so you can inspect a screenshot directly; videos, files and oversized or unsupported images come back as metadata plus a time-limited download URL: share it with the user, or fetch it yourself when the user asks you to read or analyze the file. A metadata-plus-URL result is the intended answer for those cases, not an error — do not retry it. Download URLs differ on every call; the resourceId is the stable identity.
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": {
"productId": "<productId>",
"resourceId": "<resourceId>"
},
"name": "getStepMedia"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | ID of the beta project to query. Get valid IDs from the listProducts tool. | |
| resourceId | Yes | The UUID of the step media (resource.id on a step from getBetaTasks). |