Skip to content

Add list_vistas tool for listing DevRev vistas with filtering #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

anoushkakumar321
Copy link
Contributor

@anoushkakumar321 anoushkakumar321 commented Jul 11, 2025

This PR adds the 'list_vistas' tool to enable listing and filtering of DevRev vistas.

Features Added:

  • list_vistas tool with full parameter support
  • Filtering options: type, created_by, flavor, is_default, state
  • Pagination: cursor-based navigation with mode control
  • Performance options: skip_items, limit control
  • Sorting: sort_by parameter with multiple criteria
  • Access control: members-based filtering

Testing:
All filtering options have been tested and verified working:

  • Filter by type (grouped, dynamic, curated)
  • Filter by creator and default status
  • Pagination with cursors
  • Sorting by date and other criteria
  • State filtering (active, completed, planned)

Anoushka Kumar added 3 commits July 11, 2025 11:06
- Add get_vistas tool definition with input schema validation
- Implement complete handler with error handling and API integration
- Add vista namespace to search tool for comprehensive vista support
- Clean up leftover commented code
- Use existing make_devrev_request utility for consistent API calls

This enables users to retrieve vista (filtered view) information by ID,
expanding the MCP server's DevRev integration capabilities.
- Add list_vistas tool definition with comprehensive parameter support
- Implement list_vistas handler with all filtering options:
  - type, cursor, created_by, flavor, is_default, limit
  - members, mode, sort_by, state, skip_items
- Support for pagination with cursor and mode parameters
- Proper error handling and response formatting
- Enables listing and filtering of DevRev vistas with advanced options
@anoushkakumar321 anoushkakumar321 requested a review from a team as a code owner July 11, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant