Skip to main content
Glama
saucelabs

Sauce Labs MCP Server

Official
by saucelabs

get_log_json_file

Retrieve structured JSON logs for Sauce Labs Virtual Device Cloud tests, including commands, timing, and screenshots for debugging and analysis.

Instructions

    Shows the complete log of a Sauce Labs test, in structured json format.

    IMPORTANT: This method only works with Virtual Device Cloud (VDC) jobs. For Real Device
    Cloud (RDC) jobs, use get_specific_real_device_job_asset with asset_type='appiumLogs'
    or 'deviceLogs' instead.

    If this method fails with "asset not found", the job is likely an RDC job - try
    get_specific_real_device_job_asset instead.

    :param job_id: The Sauce Labs Job ID (VDC jobs only).
    :return: Structured JSON log data with test commands, timing, and screenshots.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saucelabs/sauce-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server