capability_id: workflow.job.logs.raw
version: "1.0.0"
description: Fetch raw (unprocessed) logs for a workflow job.
input_schema:
  type: object
  required: [owner, name, jobId]
  properties:
    owner: { type: string, minLength: 1 }
    name: { type: string, minLength: 1 }
    jobId: { type: integer, minimum: 1 }
  additionalProperties: false
output_schema:
  type: object
  required: [jobId, log, truncated]
  properties:
    jobId: { type: integer, minimum: 1 }
    log: { type: string }
    truncated: { type: boolean }
  additionalProperties: false
routing:
  preferred: cli
  fallbacks: []
cli:
  command: run view
