list_opportunities
List all opportunities for discovery, with optional filters for problem text, workflow status, and sorting by fields like idea count.
Instructions
List all opportunities. START HERE for discovery.
USE WHEN: "Show opportunities", "Discovery pipeline", "Opportunities about onboarding" Optional server-side filters: problem_contains (case-insensitive), workflow_status (exact); sort ("ideas_count desc"). Returns array of opportunities with ID, problem_statement, workflow_status, and linked idea count. FAILS WHEN: API token invalid; sort names a field outside the allowed list (the error lists them). Returns empty list if no opportunities exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort as "field" or "field asc|desc" (server-side). Fields: id, problem_statement, workflow_status, location_status, description, user_id, ideas_count, bars_count | |
| workflow_status | No | Only opportunities in this workflow status, exact match (server-side) | |
| problem_contains | No | Only opportunities whose problem statement contains this text (case-insensitive, server-side) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The ProductPlan payload (object or array) returned by the API, passed through verbatim | |
| summary | Yes | Human-readable summary of the result (e.g. "Found 3 roadmaps") |