{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Retrieve the logs of a past, in-progress, or active deployment. If a component name is specified, the logs will be limited to only that component. If deployment is omitted the active deployment will be selected (if available). The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.","properties":{"path":{"type":"object","properties":{"app_id":{"type":"string","examples":["4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf"],"description":"The app ID"},"job_name":{"type":"string","examples":["component"],"description":"The job name to list job invocations for."},"job_invocation_id":{"type":"string","examples":["123e4567-e89b-12d3-a456-426"],"description":"The ID of the job invocation to retrieve."}},"required":["app_id","job_name","job_invocation_id"],"additionalProperties":false},"query":{"type":"object","properties":{"deployment_id":{"type":"string","examples":["3aa4d20e-5527-4c00-b496-601fbd22520a"],"description":"The deployment ID"},"follow":{"type":"boolean","examples":[true],"description":"Whether the logs should follow live updates."},"type":{"type":"string","enum":["JOB_INVOCATION"],"examples":["JOB_INVOCATION"],"description":"The type of logs to retrieve"},"pod_connection_timeout":{"type":"string","examples":["3m"],"description":"An optional time duration to wait if the underlying component instance is not immediately available. Default: `3m`."},"tail_lines":{"type":"string","examples":["100"],"description":"The number of lines from the end of the logs to retrieve."}},"required":["type"],"additionalProperties":false}},"required":["path","query"],"additionalProperties":false},"name":"Retrieve Job Invocation Logs","id":"digitalocean.apps_get_job_invocation_logs","example":{"path":{"app_id":"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf","job_name":"component","job_invocation_id":"123e4567-e89b-12d3-a456-426"},"query":{"type":"JOB_INVOCATION"}},"maxRequests":1,"summary":false}}