Skip to content

Add get_opportunity and list_opportunities tools #34

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 1 commit into
base: main
Choose a base branch
from

Conversation

anoushkakumar321
Copy link

Adding two tools for opportunity management ("get_opportunity" and "list_opportunities")

"get_opportunity": Get opportunity details (such as account, owner, stage, state, total value, and dates) by ID.

"list_opportunities": For filtering opportunities.

Filters:

Owner (DevRev user IDs)
Account (account IDs)
Stage (opportunity stages)
State (open, closed, and in_progress)
Date ranges (created, modified, target close)
(+ Pagination support for large results)

- Add get_opportunity tool to retrieve opportunity details by ID
- Add list_opportunities tool to list opportunities with filtering options
- Support filtering by owner, account, stage, state, and date ranges
- Include pagination support for large result sets
@anoushkakumar321 anoushkakumar321 requested a review from a team as a code owner July 14, 2025 05:59
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.

2 participants