Skip to content

MCP error -32602: unknown tool "get_job_logs" #878

@timsearle

Description

@timsearle

Summary

When using GitHub Copilot CLI with the built-in GitHub MCP server tools, attempts to call the job log retrieval tool fail with:

MCP error -32602: unknown tool "get_job_logs"

This happened while trying to debug a failing GitHub Actions workflow run.

Steps to reproduce

  1. Run copilot (tested with Copilot CLI v0.0.374 on macOS).
  2. In a repo with GitHub Actions enabled, ask Copilot CLI to fetch failed job logs for a workflow run (e.g. via the GitHub MCP server tool exposed as github-mcp-server-get_job_logs).
  3. Observe the tool call failure.

Expected behavior

The tool call should return logs (or at least URLs) for the requested job/run.

Actual behavior

Copilot CLI reports:

MCP error -32602: unknown tool "get_job_logs"

Workaround

Use the GitHub CLI directly, e.g.:

GH_PAGER=cat gh run view <run_id> --log-failed

Additional context

This error occurred twice in the same debugging session; other GitHub MCP tools (e.g. listing runs) were working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions