Skip to content

Add pagination support to list_jobs when API supports cursors #15

Description

@dejaguarkyng

list_jobs currently exposes only limit and status. If the Jungle Grid API supports cursor pagination, expose it through the MCP tool so users can inspect older jobs without repeatedly changing server-side defaults.

Acceptance criteria:

  • Confirm the current API pagination contract before implementation.
  • Add cursor or page token input only if the API supports it.
  • Include next cursor or paging metadata in tool output when available.
  • Preserve the current default behavior for callers that only pass limit/status.
  • Add tests for first page and follow-up page formatting.

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