Flow Relay

v1.10.3
it.flowrelay/flowrelay Checked 2 days ago Published 2 days ago

Project 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.

ParameterTypeDescription
clearbooleanClear the active project. Generation then requires an explicit project_id again.
project_idstringProject 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.

ParameterTypeDescription
limitintegerMax handoffs to return (1-50, default 10).
project_idstringProject id (from list_projects) to scope to. Omit to span every accessible project, or rely on the active project.
statusstringactive = 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.

ParameterTypeDescription
filtersobjectPer-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_idstringProject id from list_projects. Overrides the active project for this call; required if no active project is set.
sourcesarrayRestrict to these source ids (omit for all connected sources). Unknown source ids are rejected with 400.
waitbooleanSet 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.

ParameterTypeDescription
project_idstringProject 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.

ParameterTypeDescription
limitintegerMax events to return (1-100, default 20).
project_idstringProject id (from list_projects) to scope to. Omit (or rely on the active project) for the owner's personal-stream events.
sourcestringRestrict 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.

ParameterTypeDescription
channel_id *stringDiscord channel id from discord_list_channels.
artifactstringSend the latest active artifact of this kind. Requires project_id
contentstringInline message text. Mutually exclusive with handoff_id / insight_id / artifact
handoff_idstringId of a handoff (from list_handoffs) to render and attach as a .md file
insight_idstringId of an insight (from list_insights) to render and attach as a .md file
project_idstringProject 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.

ParameterTypeDescription
project_id *stringProject id from list_projects to generate the insight for.
filtersobjectPer-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_hoursintegerHours of activity to analyze (1-2160, default 168 = 7 days).
max_eventsintegerCap on events processed (1-1000, default 150).
sourcesarrayRestrict to these source ids (e.g. "github", "slack"). Unknown ids are rejected with 400.
waitbooleanSet 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.

ParameterTypeDescription
project_id *stringProject id from list_projects to generate the brief for.
filtersobjectPer-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_areastringRepository or feature area they will work on. Narrows the brief.
lookback_daysintegerDays of history to review (1-365, default 30).
max_eventsintegerCap on events processed (1-1000, default 400).
new_member_rolestringRole/focus of the person being onboarded (e.g. "backend engineer"). Tailors the brief.
sourcesarrayRestrict to these source ids. Unknown ids are rejected with 400.
waitbooleanSet 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.

ParameterTypeDescription
project_id *stringProject id from list_projects to generate the insight for.
filtersobjectPer-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_questionstringA specific architectural question or component to investigate (e.g. "is the billing layer coupled to providers?").
lookback_daysintegerDays of history to review (1-365, default 14).
max_eventsintegerCap on events processed (1-1000, default 250).
sourcesarrayRestrict to these source ids. Unknown ids are rejected with 400.
waitbooleanSet 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.

ParameterTypeDescription
project_id *stringProject id from list_projects.
filtersobjectPer-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…
repostringRepository name to scope changes to.
sourcestringCode source id (github, gitlab, bitbucket, azure_devops).
stylestringOutput style.
waitbooleanSet 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.

ParameterTypeDescription
project_id *stringProject id from list_projects.
limitintegerMax 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.

ParameterTypeDescription
project_id *stringProject id from list_projects to list insights for.
kindstringRestrict to one kind. Omit for all kinds.
limitintegerMax insights to return (1-50, default 20).
statusstringactive = 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.

ParameterTypeDescription
question *stringThe question, in words, about the project.
project_idstringProject id from list_projects. Omit to use the active project.
thread_idstringA thread id from a previous answer, to continue that conversation.
tierstringauto (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.

ParameterTypeDescription
project_idstringProject 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.

ParameterTypeDescription
cursorintegerThe cursor printed at the end of a previous page.
limitintegerMax items to return (1-200, default 50).
minebooleanOnly items assigned to you.
project_idstringProject id from list_projects. Omit to use the active project.
statusarrayOnly 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.

ParameterTypeDescription
ref *stringItem key such as FR-12, or the item id.
project_idstringProject 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.

ParameterTypeDescription
title *stringItem title, 1-500 characters.
assign_to_mebooleanAssign the new item to yourself.
deadlinestringDeadline as YYYY-MM-DD or YYYY-MM-DDTHH:mm in the plan time zone.
descriptionstringDescription in plain text or Markdown.
durationstringDuration such as "4h", "3d", "2w", "3ed" (elapsed days) or "2d?" (an estimate).
kindstringtask (default) or milestone.
parentstringKey or id of the parent item (such as FR-3) to nest the new item under. Omit for a top-level item.
priorityinteger0 lowest, 1 low, 2 medium (default), 3 high, 4 urgent.
project_idstringProject id from list_projects. Omit to use the active project.
statusstringInitial 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.

ParameterTypeDescription
ref *stringItem key such as FR-12, or the item id.
blockedbooleanFlag or unflag the item as blocked. A flag, not a status.
deadlinestring | nullDeadline as YYYY-MM-DD or YYYY-MM-DDTHH:mm in the plan time zone, or null to clear it.
descriptionstringNew description in plain text or Markdown.
durationstringDuration such as "4h", "3d", "2w", "3ed" (elapsed days) or "2d?" (an estimate).
percent_completeintegerProgress 0-100. 100 marks the item done.
priorityinteger0 lowest, 1 low, 2 medium, 3 high, 4 urgent.
project_idstringProject id from list_projects. Omit to use the active project.
statusstringNew status.
titlestringNew 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.

ParameterTypeDescription
project_idstringProject id from list_projects. Omit to use the active project.

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.

ParameterTypeDescription
filtersobjectPer-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_idstringProject id from list_projects. Omit to use the active project.
waitbooleanSet 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.

ParameterTypeDescription
baselineintegerBaseline slot to measure against, 0 to 10 (default 0).
project_idstringProject 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.

ParameterTypeDescription
kindstringRestrict to one type. Omit for all types.
limitintegerMax entries to return (1-200, default 50).
project_idstringProject id from list_projects. Omit to use the active project.
statusstringRestrict 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.

ParameterTypeDescription
organization_id *stringOrganization 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.

ParameterTypeDescription
modestringschedule varies the durations of the plan (default); throughput uses the weekly pace of the team.
project_idstringProject id from list_projects. Omit to use the active project.
uncertaintystringHow 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.

ParameterTypeDescription
question *stringThe what-if question, in words, about the work of the plan.
project_idstringProject 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.

ParameterTypeDescription
project_idstringProject 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.

ParameterTypeDescription
project_idstringProject 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.

ParameterTypeDescription
template_id *stringTemplate id from list_templates.
parentstringItem key such as FR-12 or item id to add the template under. Omit for the top level.
project_idstringProject 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.

ParameterTypeDescription
pending_onlybooleanOnly the requests waiting for a decision.
project_idstringProject 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.

ParameterTypeDescription
ref *stringItem key such as FR-12, or the item id.
title *stringWhat you want changed, in a few words.
blockedbooleanFlag or unflag the item as blocked.
deadlinestring | nullDeadline as YYYY-MM-DD or YYYY-MM-DDTHH:mm in the plan time zone, or null to clear it.
durationstringDuration such as "4h", "3d", "2w", "3ed" (elapsed days) or "2d?" (an estimate).
notestringWhy the change is needed.
percent_completeintegerProgress 0-100.
priorityinteger0 lowest, 1 low, 2 medium, 3 high, 4 urgent.
project_idstringProject id from list_projects. Omit to use the active project.
statusstringNew 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.

ParameterTypeDescription
action *stringaccept applies the suggestion to the plan, dismiss hides it.
suggestion_id *stringSuggestion id from list_suggestions.
project_idstringProject 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.

ParameterTypeDescription
kind *stringWhat the entry is.
title *stringShort title of the entry.
descriptionstringDetails of the entry.
due_onstringDue date as YYYY-MM-DD.
impactintegerHow much it matters, 1 minor to 5 severe.
probabilityintegerHow likely it is, 1 rare to 5 almost certain.
project_idstringProject id from list_projects. Omit to use the active project.
responsestringThe planned response or mitigation.
statusstringStatus (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.

ParameterTypeDescription
ref *stringItem key such as FR-12, or the item id.
project_idstringProject 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.

ParameterTypeDescription
approval_id *stringChange request id from list_approvals.
decision *stringapprove applies the change, reject refuses it, withdraw cancels your own request.
notestringWhy, shown to the other person.
project_idstringProject id from list_projects. Omit to use the active project.