Skip to content

get_ci_logs

Retrieve the plain-text log for a specific GitHub Actions CI job.

Saves the job log to a local file and returns the file path. Use the Read tool to examine the log content afterward. Only call for jobs where the CI run has already completed; jobId comes from the jobs array in CI run data available via show_session.

NameTypeRequiredDescription
sessionIdstringyesThe Polygraph session ID.
repoIdstringyesThe repo ID (MongoDB ObjectId hex string).
jobIdnumberyesThe GitHub Actions job ID (from the jobs array in CI run data).