Flow Relay
v1.10.3Project context, handoffs, Ask with sources, plans and forecasts from your team's tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_workspace_context Workspace context
Show the current Flow Relay context: the workspaces the API key reaches (personal projects and each organization by name), how many projects it can open, the active project and the caller's role in it. Use it to check which workspaces and which project are in scope.
list_projects List projects
List every project the API key can access (personal and organization), each with its id, scope, the prefix of its work item keys and the caller's role. The id returned here is the project_id that the generate_* and list tools take.
set_active_project Set the active project
Set the active project so later tools can omit project_id (a convenience for a multi-step session on one project). Set it once from a list_projects id, then call generate_handoff / list_events / etc. without repeating project_id. Not required if you always pass project_id explicitly.
| Parameter | Type | Description |
|---|---|---|
clear | boolean | Clear the active project. Generation then requires an explicit project_id again. |
project_id | string | Project id (from list_projects) to set as active. Omit, or set clear, to unset it. |
list_handoffs List handoffs
List existing handoffs (newest first) with their full content, across all accessible projects or one project. Use this to read what has already been generated before calling generate_handoff. Each row's id can be sent to Discord via discord_send_message.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max handoffs to return (1-50, default 10). |
project_id | string | Project id (from list_projects) to scope to. Omit to span every accessible project, or rely on the active project. |
status | string | active = current handoffs, archived = superseded ones, all = both. |
generate_handoff Generate a handoff
Generate a project handoff: an AI summary of recent activity, key changes, decisions, open questions and next steps for a project. Runs synchronously – waits for completion (tens of seconds) and returns the finished Markdown. Requires an active project (set_active_project) or an explicit project_id from list_projects. Prefer list_handoffs to read an existing one before generating a new one. To scope it, pass sources and/or filters (call list_filter_options first for valid values); omit both to use the project's saved scope preferences.
| Parameter | Type | Description |
|---|---|---|
filters | object | Per-source advanced filters, AND-combined across dimensions. Keys MUST be source ids (an unknown source id is rejected with 400). The dimension VALUES are matched leniently – call list_filter_option… |
project_id | string | Project id from list_projects. Overrides the active project for this call; required if no active project is set. |
sources | array | Restrict to these source ids (omit for all connected sources). Unknown source ids are rejected with 400. |
wait | boolean | Set false to return the job id at once instead of waiting for the artifact; read it later from the flowrelay://jobs/{job_id} resource. |
list_integrations List integrations
List connected integrations. With a project scope it returns the resources bound to that project plus their health (connection status, provider coverage); without one it returns the sources the API key owner has connected. Use it to check what data a generation can draw on.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Project id (from list_projects) for project-scoped resources. Omit (or rely on the active project) for the owner's connected sources. |
list_untracked_resources List untracked resources
List active resources (repos, channels, boards) that produced events recently but are not yet assigned to any project. Use it to spot data the user connected but has not organized into a project yet – mapping them (in the web dashboard) makes their events available to generations.
list_events List activity events
List recent raw context events (individual pieces of tracked activity: a push, a message, an issue update) newest first. Use it to inspect the underlying signal a generation would draw on, or to check whether a source is producing data. With a project scope it is limited to that project's bound resources.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max events to return (1-100, default 20). |
project_id | string | Project id (from list_projects) to scope to. Omit (or rely on the active project) for the owner's personal-stream events. |
source | string | Restrict to one source id (e.g. "github"). Unknown ids are rejected with 400. |
discord_list_channels List Discord channels
List the text channels in the Discord server connected to this account, each with its id. Call this to get a channel_id before discord_send_message.
discord_send_message Send to Discord
Send to a Discord channel in your connected server. Provide exactly one of: content (inline text); handoff_id or insight_id (sends that artifact, rendered to Markdown, as a .md file attachment); or artifact (last_handoff / last_correlation / last_onboarding / last_architecture / last_release_notes, with project_id) to send the latest active artifact of that kind.
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | Discord channel id from discord_list_channels. |
artifact | string | Send the latest active artifact of this kind. Requires project_id |
content | string | Inline message text. Mutually exclusive with handoff_id / insight_id / artifact |
handoff_id | string | Id of a handoff (from list_handoffs) to render and attach as a .md file |
insight_id | string | Id of an insight (from list_insights) to render and attach as a .md file |
project_id | string | Project UUID. Required only when artifact is set |
generate_correlation_insight Generate a correlation insight
Generate a cross-source correlation insight: finds related events across different sources (e.g. a Slack thread, a Jira ticket and the PR that resolved it) and surfaces the links, patterns and open threads. Use when the user wants to understand how activity connects across tools. Runs synchronously and returns Markdown. Call list_filter_options before using filters.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id from list_projects to generate the insight for. |
filters | object | Per-source advanced filters, AND-combined across dimensions. Keys MUST be source ids (an unknown source id is rejected with 400). The dimension VALUES are matched leniently – call list_filter_option… |
lookback_hours | integer | Hours of activity to analyze (1-2160, default 168 = 7 days). |
max_events | integer | Cap on events processed (1-1000, default 150). |
sources | array | Restrict to these source ids (e.g. "github", "slack"). Unknown ids are rejected with 400. |
wait | boolean | Set false to return the job id at once instead of waiting for the artifact; read it later from the flowrelay://jobs/{job_id} resource. |
generate_onboarding_brief Generate an onboarding brief
Generate an onboarding brief: a getting-started guide for someone new to the project – key people, key decisions, pitfalls and recommended reading drawn from recent activity. Use when a new team member needs to get up to speed. Runs synchronously and returns Markdown. Call list_filter_options before using filters.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id from list_projects to generate the brief for. |
filters | object | Per-source advanced filters, AND-combined across dimensions. Keys MUST be source ids (an unknown source id is rejected with 400). The dimension VALUES are matched leniently – call list_filter_option… |
focus_area | string | Repository or feature area they will work on. Narrows the brief. |
lookback_days | integer | Days of history to review (1-365, default 30). |
max_events | integer | Cap on events processed (1-1000, default 400). |
new_member_role | string | Role/focus of the person being onboarded (e.g. "backend engineer"). Tailors the brief. |
sources | array | Restrict to these source ids. Unknown ids are rejected with 400. |
wait | boolean | Set false to return the job id at once instead of waiting for the artifact; read it later from the flowrelay://jobs/{job_id} resource. |
generate_architecture_insight Generate an architecture insight
Generate an architecture insight: trade-offs, risks, patterns and recommendations inferred from the project's code activity (requires a connected code source – github, gitlab, bitbucket or azure_devops). This is the deepest insight (it runs extended reasoning). Use for technical review of architectural direction. Runs synchronously and returns Markdown. Call list_filter_options before using filters.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id from list_projects to generate the insight for. |
filters | object | Per-source advanced filters, AND-combined across dimensions. Keys MUST be source ids (an unknown source id is rejected with 400). The dimension VALUES are matched leniently – call list_filter_option… |
focus_question | string | A specific architectural question or component to investigate (e.g. "is the billing layer coupled to providers?"). |
lookback_days | integer | Days of history to review (1-365, default 14). |
max_events | integer | Cap on events processed (1-1000, default 250). |
sources | array | Restrict to these source ids. Unknown ids are rejected with 400. |
wait | boolean | Set false to return the job id at once instead of waiting for the artifact; read it later from the flowrelay://jobs/{job_id} resource. |
generate_release_notes Generate release notes
Generate release notes or a PR description from recent code activity (commits, PRs, builds). Runs synchronously and returns Markdown.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id from list_projects. |
filters | object | Per-source advanced filters, AND-combined across dimensions. Keys MUST be source ids (an unknown source id is rejected with 400). The dimension VALUES are matched leniently – call list_filter_option… |
repo | string | Repository name to scope changes to. |
source | string | Code source id (github, gitlab, bitbucket, azure_devops). |
style | string | Output style. |
wait | boolean | Set false to return the job id at once instead of waiting for the artifact; read it later from the flowrelay://jobs/{job_id} resource. |
list_digests List digests
List past scheduled activity digests for a project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id from list_projects. |
limit | integer | Max digests to return (1-50, default 10). |
list_insights List insights
List existing insights for a project (newest first) with their content. Use this to read what has already been generated before calling generate_*_insight. Each row's id can be sent to Discord via discord_send_message.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id from list_projects to list insights for. |
kind | string | Restrict to one kind. Omit for all kinds. |
limit | integer | Max insights to return (1-50, default 20). |
status | string | active = current, archived = superseded, all = both. |
ask_project Ask the project
Ask the project a question and get an answer grounded in its activity, with the sources it used. The agent searches the project, reads what it finds and cites every claim; if the project does not contain the answer it says so. Tiers: auto (default) picks the cheapest tier that can answer, quick answers from the thread, standard searches the project, deep runs a longer analysis. Pass thread_id to continue a conversation.
| Parameter | Type | Description |
|---|---|---|
question * | string | The question, in words, about the project. |
project_id | string | Project id from list_projects. Omit to use the active project. |
thread_id | string | A thread id from a previous answer, to continue that conversation. |
tier | string | auto (default) picks the tier; deep is a deliberate, slower analysis. |
list_filter_options List filter options
List the real per-source filter values (resources, branches, event types, priorities) available for a project. These are the values the "filters" argument of generate_handoff and the generate_*_insight tools accepts: a resource id goes into filters[source].projects, a branch name into .branches, an event type into .eventTypes and a priority into .priorities. A value that is not listed here matches no events.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Project scope. Omit to use the active project. |
list_work_items List work items
List the work items (tasks and milestones) of a project plan with key, status, progress, dates and assignees, ordered by item number. Filter by status or to your own assignments. Dates are wall-clock times in the plan time zone. When the reply ends with a cursor, pass it back as cursor to read the next page.
| Parameter | Type | Description |
|---|---|---|
cursor | integer | The cursor printed at the end of a previous page. |
limit | integer | Max items to return (1-200, default 50). |
mine | boolean | Only items assigned to you. |
project_id | string | Project id from list_projects. Omit to use the active project. |
status | array | Only items in these statuses. Omit for every status. |
get_work_item Read a work item
Read one work item by key (such as FR-12) or id: description, progress, dates, assignees, dependencies, linked evidence (commits, pull requests, deploys, messages) and the comment count.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Item key such as FR-12, or the item id. |
project_id | string | Project id from list_projects. Omit to use the active project. |
list_my_work List my work
List the work items assigned to you across every accessible project: open items plus the ones finished in the last 7 days, with status, progress and dates. Use it to answer "what should I work on next".
create_work_item Create a work item
Create a work item (task or milestone) in a project plan and return it with its key. Dates are wall-clock times in the plan time zone. Contributors can create items when the project allows it and can assign only themselves. Not idempotent: calling it twice creates two items.
| Parameter | Type | Description |
|---|---|---|
title * | string | Item title, 1-500 characters. |
assign_to_me | boolean | Assign the new item to yourself. |
deadline | string | Deadline as YYYY-MM-DD or YYYY-MM-DDTHH:mm in the plan time zone. |
description | string | Description in plain text or Markdown. |
duration | string | Duration such as "4h", "3d", "2w", "3ed" (elapsed days) or "2d?" (an estimate). |
kind | string | task (default) or milestone. |
parent | string | Key or id of the parent item (such as FR-3) to nest the new item under. Omit for a top-level item. |
priority | integer | 0 lowest, 1 low, 2 medium (default), 3 high, 4 urgent. |
project_id | string | Project id from list_projects. Omit to use the active project. |
status | string | Initial status (default todo). |
update_work_item Update a work item
Update a work item by key or id: status, progress, title, description, priority, the blocked flag, duration or deadline. Sending the same values again leaves the item unchanged. Contributors can update items assigned to them or created by them; changing dates or durations may need a project manager.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Item key such as FR-12, or the item id. |
blocked | boolean | Flag or unflag the item as blocked. A flag, not a status. |
deadline | string | null | Deadline as YYYY-MM-DD or YYYY-MM-DDTHH:mm in the plan time zone, or null to clear it. |
description | string | New description in plain text or Markdown. |
duration | string | Duration such as "4h", "3d", "2w", "3ed" (elapsed days) or "2d?" (an estimate). |
percent_complete | integer | Progress 0-100. 100 marks the item done. |
priority | integer | 0 lowest, 1 low, 2 medium, 3 high, 4 urgent. |
project_id | string | Project id from list_projects. Omit to use the active project. |
status | string | New status. |
title | string | New title, 1-500 characters. |
list_suggestions List suggestions
List the pending suggestions in a project plan that you can act on: status changes proposed from linked activity (an opened or merged pull request, a deploy), new items from meeting action items, dependencies from tracker links and activity suggested as evidence for an item. Nothing changes until someone accepts a suggestion in Flow Relay.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Project id from list_projects. Omit to use the active project. |
link_evidence Link evidence to a work item
Link work to a work item as evidence: a pull request, commit, build, deploy, incident, document or any other https link. The link joins the activity trail of the item and counts toward its evidence coverage. Sending the same link again leaves the item unchanged. Viewers cannot link.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Item key such as FR-12, or the item id. |
url * | string | The https link to attach. |
kind | string | What the link points to (default other). |
occurred_at | string | When the work happened, as an ISO 8601 date and time. Defaults to now. |
project_id | string | Project id from list_projects. Omit to use the active project. |
title | string | Short title for the link. Defaults to the link itself. |
generate_plan_review Generate a plan review
Write a status report for a project plan: progress, concerns, the outlook of each upcoming milestone, suggested register entries and next steps. Every date, variance and index comes from the plan itself; the model only writes the narrative from the plan facts and the last 14 days of linked activity. Runs synchronously and returns Markdown. Viewers cannot generate.
| Parameter | Type | Description |
|---|---|---|
filters | object | Per-source advanced filters, AND-combined across dimensions. Keys MUST be source ids (an unknown source id is rejected with 400). The dimension VALUES are matched leniently – call list_filter_option… |
project_id | string | Project id from list_projects. Omit to use the active project. |
wait | boolean | Set false to return the job id at once instead of waiting for the artifact; read it later from the flowrelay://jobs/{job_id} resource. |
get_earned_value Read earned value
Read the cost picture of a project plan at its status date: planned and actual cost, and the earned value figures (planned value, earned value, variances, SPI, CPI, TCPI and the estimates at completion) measured against a baseline. Amounts are in the currency of the organization. Project managers only, on plans that include costs.
| Parameter | Type | Description |
|---|---|---|
baseline | integer | Baseline slot to measure against, 0 to 10 (default 0). |
project_id | string | Project id from list_projects. Omit to use the active project. |
list_raid List the RAID register
List the RAID register of a project plan: risks, assumptions, issues, decisions and dependencies, highest number first, with their score (probability times impact) and response. Entries that are not closed by default.
| Parameter | Type | Description |
|---|---|---|
kind | string | Restrict to one type. Omit for all types. |
limit | integer | Max entries to return (1-200, default 50). |
project_id | string | Project id from list_projects. Omit to use the active project. |
status | string | Restrict to one status, or all. Omit for every entry that is not closed. |
get_portfolio Read the portfolio
Read the portfolio of an organization: every project you can open with its progress, forecast finish, next milestone, open risks and health (on track, at risk or off track: computed every night from the plan and the build, deploy and incident signals, or set by hand by a project manager). Use it to see which projects need attention.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | Organization id: shown as organization_id on the projects of list_projects. |
get_forecast Forecast the finish
Forecast when a project plan will finish by simulating it thousands of times: the finish of the project and of each milestone as the date by which half, four out of five and nineteen out of twenty of the runs are done, the chance of meeting the target finish or a milestone deadline and the items most often on the critical path. Mode schedule (default) varies the durations of the plan (uncertainty low, medium or high); mode throughput uses how many items the team finished each week over the last twelve weeks.
| Parameter | Type | Description |
|---|---|---|
mode | string | schedule varies the durations of the plan (default); throughput uses the weekly pace of the team. |
project_id | string | Project id from list_projects. Omit to use the active project. |
uncertainty | string | How much the durations may vary in schedule mode (default medium). |
plan_whatif Ask a what-if
Ask a what-if question about a project plan, for example: what if the payment integration takes three weeks longer? The model turns the question into changes to the work (a duration, a delay, a cancellation, a link) and the scheduler computes the new finish of the project and of each milestone and how many items move. Nothing is saved and the plan is not changed.
| Parameter | Type | Description |
|---|---|---|
question * | string | The what-if question, in words, about the work of the plan. |
project_id | string | Project id from list_projects. Omit to use the active project. |
list_automations List automations
List the automation rules of a project plan: what starts each one, what it checks and what it does, how many times it ran and how the last run went. Read only, the rules are changed in the app.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Project id from list_projects. Omit to use the active project. |
list_templates List templates
List the templates saved for a project plan, either a whole plan or one item with its subtasks, with the id to give to apply_template. A template keeps names, notes, durations and links, never people or dates.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Project id from list_projects. Omit to use the active project. |
apply_template Apply a template
Add the items of a saved template to a project plan, at the top level or under an existing item. Only project managers can do it. Creates items in the plan, which the change history can undo.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | Template id from list_templates. |
parent | string | Item key such as FR-12 or item id to add the template under. Omit for the top level. |
project_id | string | Project id from list_projects. Omit to use the active project. |
list_approvals List approvals
List the change requests of a project plan: what was asked in plain language, who asked, who decided and what they said. Applies to organization projects.
| Parameter | Type | Description |
|---|---|---|
pending_only | boolean | Only the requests waiting for a decision. |
project_id | string | Project id from list_projects. Omit to use the active project. |
request_change Request a change
Ask for a change to a work item that a second person must approve, when you may not make it directly or want it reviewed: status, progress, priority, the blocked flag, duration or deadline. The approvers are notified and approving applies the change. This only creates a request: nothing changes in the plan yet. Organization projects only.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Item key such as FR-12, or the item id. |
title * | string | What you want changed, in a few words. |
blocked | boolean | Flag or unflag the item as blocked. |
deadline | string | null | Deadline as YYYY-MM-DD or YYYY-MM-DDTHH:mm in the plan time zone, or null to clear it. |
duration | string | Duration such as "4h", "3d", "2w", "3ed" (elapsed days) or "2d?" (an estimate). |
note | string | Why the change is needed. |
percent_complete | integer | Progress 0-100. |
priority | integer | 0 lowest, 1 low, 2 medium, 3 high, 4 urgent. |
project_id | string | Project id from list_projects. Omit to use the active project. |
status | string | New status. |
resolve_suggestion Accept or dismiss a suggestion
Accept or dismiss one pending suggestion from list_suggestions. Accepting applies it to the plan as the key owner: a status change, a new item, a dependency or an evidence link. Dismissing hides it. Accepting changes the plan, so confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
action * | string | accept applies the suggestion to the plan, dismiss hides it. |
suggestion_id * | string | Suggestion id from list_suggestions. |
project_id | string | Project id from list_projects. Omit to use the active project. |
create_raid_entry Add a RAID entry
Add an entry to the RAID register of a project plan: a risk, assumption, issue, decision or dependency. Probability and impact are scores from 1 to 5 and their product is the score list_raid shows. Viewers cannot add.
| Parameter | Type | Description |
|---|---|---|
kind * | string | What the entry is. |
title * | string | Short title of the entry. |
description | string | Details of the entry. |
due_on | string | Due date as YYYY-MM-DD. |
impact | integer | How much it matters, 1 minor to 5 severe. |
probability | integer | How likely it is, 1 rare to 5 almost certain. |
project_id | string | Project id from list_projects. Omit to use the active project. |
response | string | The planned response or mitigation. |
status | string | Status (default open). |
delete_work_item Delete a work item
Delete a work item and everything under it from a project plan: its sub-items, dependencies and assignments leave the plan and the plan is rescheduled. The deletion is recorded as one batch in the change history, so a project manager can restore it in Flow Relay. Contributors can delete only items they created. Confirm with the user before calling it.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Item key such as FR-12, or the item id. |
project_id | string | Project id from list_projects. Omit to use the active project. |
decide_approval Decide an approval
Approve, reject or withdraw a change request listed by list_approvals. Approving applies the requested change to the plan as the approver. A request needs a second person: you cannot approve or reject a request you made, and only its author can withdraw it. Confirm with the user before approving.
| Parameter | Type | Description |
|---|---|---|
approval_id * | string | Change request id from list_approvals. |
decision * | string | approve applies the change, reject refuses it, withdraw cancels your own request. |
note | string | Why, shown to the other person. |
project_id | string | Project id from list_projects. Omit to use the active project. |