Skip to content

get_ci_logs

Retrieves the plain-text log for a specific CI job and saves it to a local file.

Use jobId from CI run data. Only call for jobs where the run has completed. Returns the file path; use the Read tool to examine the log content.

NameTypeRequiredDescription
sessionIdstringyesThe Polygraph session ID, or a supported Polygraph app session URL. Supported URL paths are /s/<session-id> and /orgs/<org-id>/sessions/<session-id>. URL inputs are normalized to the session ID; the MCP always uses the current Polygraph API configuration.
repoIdstringyesThe repo ID (MongoDB ObjectId hex string)
jobIdnumberyesThe GitHub Actions job ID (from the jobs array in CI run data)