get_roadmap_bars
Retrieve roadmap bars (features/items) with filters for lane, tag, legend, date range, or name. Returns dates, lane, legend, tags, and progress for each matching item.
Instructions
Get bars (features/items) on a roadmap, optionally filtered.
USE WHEN: "What's on the roadmap?", "Show planned features", "What's starting in Q2?", "Bars in the Mobile lane tagged urgent" Server-side filters (sent to ProductPlan): name_contains, starts_after/starts_before, ends_after/ends_before (YYYY-MM-DD, inclusive), is_container, sort ("starts_on asc"). Client-side filters (applied here to every fetched bar, before the 50-item cap): lane (name or ID), legend (name), tag. Exact, case-insensitive. Returns bars with ID, name, starts_on/ends_on, lane_name and lane_id, legend, tags, percent_done, is_container, and parked. For a bar's description and custom fields, use get_bar. FAILS WHEN: roadmap_id not found (use list_roadmaps); a date is not YYYY-MM-DD; sort names a field outside the allowed list (the error lists them). Says "No bars matched the filters" when filters exclude everything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only bars carrying this tag (client-side, case-insensitive) | |
| lane | No | Only bars in this lane, by name or lane ID (client-side, case-insensitive) | |
| sort | No | Sort as "field" or "field asc|desc" (server-side). Fields: id, name, starts_on, ends_on, is_container, created_at, updated_at | |
| legend | No | Only bars with this legend name (client-side, case-insensitive; names from get_roadmap_legends) | |
| ends_after | No | Only bars ending on or after this date, YYYY-MM-DD (server-side) | |
| roadmap_id | Yes | Roadmap ID | |
| ends_before | No | Only bars ending on or before this date, YYYY-MM-DD (server-side) | |
| is_container | No | true for container bars only, false to exclude containers (server-side) | |
| starts_after | No | Only bars starting on or after this date, YYYY-MM-DD (server-side) | |
| name_contains | No | Only bars whose name contains this text (case-insensitive, server-side) | |
| starts_before | No | Only bars starting on or before this date, YYYY-MM-DD (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") |