Skip to main content
Get logs for a specific job

Tool details

FieldValue
Nameget_job_logs
GroupJobs

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "job_id": {
      "type": "string",
      "description": "Job ID"
    }
  },
  "required": [
    "project_reference",
    "job_id"
  ],
  "additionalProperties": false,
  "description": "Input schema for the get_job_logs tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "logs": {
      "type": [
        "string",
        "null"
      ],
      "description": "Plain-text log output collected for the job, or null when no logs are available."
    }
  },
  "required": [
    "logs"
  ],
  "additionalProperties": false,
  "description": "Raw log output for a job run.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}