MCP reference¶
Every tool, prompt and resource the server registers, with the parameters and descriptions clients receive. How to use them together: MCP tools.
Contract¶
Clients read the same text from the resource relaybay://contract.
Contract version 3.
Within a contract version a release never removes a tool, a parameter, a resource or a prompt (or a prompt argument), never narrows what a parameter accepts (its type, enum or range), never adds a required parameter to an existing tool and never turns a read-only tool into a writing one; new behaviour comes as new optional parameters or new tools, and task_update(fields=...) and backlog_patch reach fields a cached schema lacks. While relaybay has no outside users, a replaced tool or parameter is removed in the same release that replaces it, and that release raises the contract version; nothing is kept as deprecated.
Tools¶
project_list¶
List all projects with task counts per stage. Call it to find a project's slug.
No parameters.
project_upsert¶
Create a project, or rename it / set its repositories / archive it. Call it once before creating the first task of a project that is not on the board yet (see project_list).
| Parameter | Type | Required | Description |
|---|---|---|---|
slug |
string | yes | Project slug such as 'acme-shop'. |
name |
string or null | no | Display name. |
repo_path |
string or null | no | Path to the repository: the path of the first one in repos. |
description |
string or null | no | One-line description. |
archived |
boolean or null | no | Coordinator sessions only. true sends the project to the archive: it leaves the project list, the board's sidebar, the Inbox and the digests, and nothing is deleted; false brings it back. |
repos |
list of object or null | no | The project's repositories, the whole list in order: [{"name": "web", "path": "/code/acme/web", "kind": "web"}]. kind is one of app, web, api, lib, other (optional); without a name the path's last folder names it. Matched by name, so tasks keep their links to a repository that stays; [] removes them all. The path is stored as written. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
project_delete¶
Delete an archived project for good, for coordinator sessions only: its tasks with their reports, comments, plans and attachments, its documents (the rows only; files on disk stay), backlog, decisions, notes and areas. An export of everything deleted is written first to deleted/ in the server's data folder. A project not in the archive is refused; archive it first with project_upsert(archived=true).
| Parameter | Type | Required | Description |
|---|---|---|---|
slug |
string | yes | Project slug such as 'acme-shop'. |
confirm |
string | yes | The project's slug once more: the deletion cannot be undone. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
project_snapshot¶
Compact markdown snapshot of a project: open tasks by stage with waiting-on, next step, branch, the start of the description and progress, last report, the merge order of the cards on test (two or more), plus recent decisions. Call it at the start of a session to see the state of the project before you pick or create a task.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
include_done |
boolean | no | Also list done tasks. Default: False. |
project_pulse_set¶
Write the project's pulse note: a short hand-written summary, shown with its date under the pulse line relaybay derives from the cards (in the digests and on the board). Optional; it is never marked stale.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
text |
string | yes | Where the project stands: at most 5 lines and 600 characters. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
timelog_mark¶
Mark the day time log, for the coordinator: when work starts, switches to another card or label, or pauses. A mark opens a span that runs until the next mark; a pause is a gap. The answer names the span the mark closed and the day's total. The same mark again within a minute writes nothing. In coordinator mode an agent's mark is refused.
| Parameter | Type | Required | Description |
|---|---|---|---|
kind |
string | yes | start: work begins on a card or a label; switch: moves to another one; pause: work stops (a gap until the next start). |
task |
string or null | no | The card worked on (start, switch), e.g. 'acme-shop-12'. |
label |
string or null | no | Work without a card (start, switch), e.g. 'call' or 'email'; on a pause, why. Not with task. |
at |
string or null | no | When, if not now: HH:MM (today, server time) or an ISO time like 2026-11-24T09:00+02:00; at most a minute ahead. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
timelog_list¶
The day time log: the spans and pauses of a day in time order with their durations, the totals per project, card and label, what runs now and the unclosed spans (a past day's last span without a pause counts 0). With task: that card's time (today, total, in the tracker, per day, the tracker rows). With project: its cards on the day.
| Parameter | Type | Required | Description |
|---|---|---|---|
day |
string or null | no | A date like 2026-11-24, 'today' (the default) or 'yesterday'. |
task |
string or null | no | One card instead: today, total, in the tracker, per day, rows. |
project |
string or null | no | One project's cards on the day, and its totals. |
timelog_fix¶
Correct a mark of the day time log in place, or delete it, for the coordinator. The reason is required; the audit keeps the mark before and after. The answer shows the mark's day again.
| Parameter | Type | Required | Description |
|---|---|---|---|
mark |
integer | yes | The mark's number (timelog_list shows #N). |
reason |
string | yes | Why the mark was wrong; kept in the audit. |
at |
string or null | no | The right time: HH:MM on the mark's own day (server time), or an ISO time like 2026-11-24T09:00+02:00; at most a minute ahead. |
kind |
string or null | no | The right kind. |
task |
string or null | no | The right card; clears the label. '-' or '' clears it. |
label |
string or null | no | The right label; clears the card. '-' or '' clears it. |
delete |
boolean | no | true deletes the mark. Default: False. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
worklog_add¶
Record minutes entered in the external tracker for a card, for the coordinator: an append-only ledger, shown as "in tracker" next to the card's time. tracker_logged stays the separate mark that the work log is done.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
minutes |
integer | yes | Minutes entered in the external tracker; a correction is negative (with reason) and may not take the card's day below 0. |
day |
string or null | no | The day they were logged for; default today. |
ref |
string or null | no | The tracker's work log entry or issue, e.g. 'ENG-12'. |
reason |
string or null | no | Why; required for a negative correction. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
portfolio_digest¶
Everything at a glance, for a coordinator: one line per project with stage counts and pulse, what waits for the owner, the week's decisions, tasks without progress, global blocks and what changed since your last read. Index lines; each section says which tool shows more.
| Parameter | Type | Required | Description |
|---|---|---|---|
budget |
integer or null | no | Size limit in characters, held between 500 and 40000. Optional. |
since_event |
integer or null | no | Show changes after this event id and leave your read position alone. Optional. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. Changes show from your last read of this digest, and the read position moves on; without it, the last 24 hours. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
project_digest¶
One project, for a manager: pulse, tasks by stage with next step and waiting on, the merge order of the cards on test (two or more), open questions, recent decisions, blocks, notes flagged 'verify' or 'never read' and what changed since your last read. Index lines; each section says which tool shows more.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
budget |
integer or null | no | Size limit in characters, held between 500 and 40000. Optional. |
since_event |
integer or null | no | Show changes after this event id and leave your read position alone. Optional. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. Changes show from your last read of this digest, and the read position moves on; without it, the last 24 hours. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
task_context¶
One task, for the session working on it: fields and progress, plan with the current step, its decisions and the project decisions related to it, linked document sections, rules, unread owner comments (ids; text only of those already delivered to you), relevant notes, the open backlog items of its subject and what changed since your last read. It delivers no comment.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
budget |
integer or null | no | Size limit in characters, held between 500 and 40000. Optional. |
since_event |
integer or null | no | Show changes after this event id and leave your read position alone. Optional. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. Changes show from your last read of this digest, and the read position moves on; without it, the last 24 hours. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
task_list¶
List tasks, filtered by project, stage, who they wait on, the bound session or the area. Done tasks are left out unless a stage or include_done is given.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string or null | no | Project slug filter. |
stage |
string or null | no | Stage filter. |
waiting_on |
string or null | no | Exact 'waiting on' value. |
session |
string or null | no | Bound session: desktop session id or name. |
include_done |
boolean | no | Include done tasks. Default: False. |
area |
string or null | no | Area name filter (case does not matter). |
task_get¶
Full task: fields, description, progress, current version, the linked document sections, the latest reports and decisions, and the names of the editable fields (for task_update(fields=...)). Call it before task_update to get the version for expected_version.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
reports |
integer | no | How many reports. Default: 5. |
task_create¶
Create a task when you start work that is not on the board yet. Give it a short description (what to do and why). Returns its key (e.g. 'acme-shop-12'); use the key in later calls. If session is given, the task is bound to that session unless bind is false.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
title |
string | yes | Short task title. |
stage |
string or null | no | Initial stage; default plan. |
waiting_on |
string or null | no | Only who acts next: a name or role, no text after it; what happens goes to next_step. '-' or '' leaves it empty. |
next_step |
string or null | no | The next concrete step. '-' or '' leaves it empty. |
branch |
string or null | no | Git branch. '-' or '' leaves it empty. |
doc_path |
string or null | no | The task's document: a relaybay://doc link, or a local .md file (an absolute path), which becomes the file document task- |
description |
string or null | no | What to do and why, 1-5 sentences of markdown. '-' or '' leaves it empty. |
progress |
string or null | no | Markdown summary of everything done so far on the task (not just the last step). Rewrite it as the work goes on and keep it current with every report. '-' or '' leaves it empty. |
tracker_ref |
string or null | no | Issue key or number in the external tracker, e.g. 'ENG-12'. '-' or '' leaves it empty. |
tracker_name |
string or null | no | Name of the external tracker, e.g. 'Linear'. '-' or '' leaves it empty. |
tracker_url |
string or null | no | Link to the issue (http:// or https:// only). '-' or '' leaves it empty. |
tracker_logged |
boolean | no | True once the work log is entered in the external tracker. New work clears it again (a report, a progress change, a move back from live or done). A new tracker_ref starts as not logged unless tracker_logged is passed in the same write. Done tasks without it stay on the board marked 'not logged'. Default: False. |
size |
string or null | no | Task size: S, M or L. S tasks may go without an accepted plan; a task of unknown size needs one. '-' or '' leaves it empty. |
area |
string or null | no | What part of the project the task belongs to, by name, e.g. 'web shop' (project_snapshot lists the project's areas; case does not matter). A new name is added to the project's areas and the answer says so. '-' or '' leaves it empty. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
bind |
boolean | no | false: you create the card for someone else; it is not bound to your session (a session started for it binds itself, or the launch does). Default: True. |
inspect_only |
boolean | no | true for a card that only reads (an analysis, a repro, a question answered by reading): it needs no accepted plan before dev and may go straight to done. A report on it that says changed, committed or pushed warns. Default: False. |
sections |
list of string or null | no | Sections of the project's documents to link to the card, each 'doc#anchor' (as task_doc_link links one). Optional. |
task_doc_link¶
Link a section of a project document to the card (remove=true unlinks it). The anchor is checked against the document's current outline. task_context lists the linked sections first, and takes the card's subject (for its backlog items and related decisions) from them; a section that disappears later shows as broken.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
doc |
string | yes | Document name of the task's project, e.g. 'spec'. |
section |
string | yes | The section: its heading anchor or explicit anchor, as doc_outline lists them, e.g. 'payouts'. |
remove |
boolean | no | true: unlink the section. Default: False. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
task_update¶
Change task fields and move its stage in one write: the stage, waiting on, next step, branch, description, progress, the area, the tracker issue and its work-log mark, deploy notes, a cancel reason, the repositories it touches, its pull requests, the cards blocking it; fields for anything else. Omitted fields stay as they are; '-' or an empty string clears a field. Keep progress current with every report. Also update next_step (what happens next) and waiting_on (who acts next) whenever the stage changes or you report.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
title |
string or null | no | New title. |
waiting_on |
string or null | no | Only who acts next: a name or role, no text after it; what happens goes to next_step. '-' or '' clears it. |
next_step |
string or null | no | The next concrete step. '-' or '' clears it. |
branch |
string or null | no | Git branch. '-' or '' clears it. |
doc_path |
string or null | no | The task's document: a relaybay://doc link, or a local .md file (an absolute path), which becomes the file document task- |
stage_note |
string or null | no | Note next to the stage. '-' or '' clears it. |
description |
string or null | no | What to do and why, 1-5 sentences of markdown. '-' or '' clears it. |
progress |
string or null | no | Markdown summary of everything done so far on the task (not just the last step). Rewrite it as the work goes on and keep it current with every report. '-' or '' clears it. |
tracker_ref |
string or null | no | Issue key or number in the external tracker, e.g. 'ENG-12'. '-' or '' clears it. |
tracker_name |
string or null | no | Name of the external tracker, e.g. 'Linear'. '-' or '' clears it. |
tracker_url |
string or null | no | Link to the issue (http:// or https:// only). '-' or '' clears it. |
tracker_logged |
boolean or null | no | True once the work log is entered in the external tracker. New work clears it again (a report, a progress change, a move back from live or done). A new tracker_ref starts as not logged unless tracker_logged is passed in the same write. Done tasks without it stay on the board marked 'not logged'. |
size |
string or null | no | Task size: S, M or L. S tasks may go without an accepted plan; a task of unknown size needs one. '-' or '' clears it. |
area |
string or null | no | What part of the project the task belongs to, by name, e.g. 'web shop' (project_snapshot lists the project's areas; case does not matter). A new name is added to the project's areas and the answer says so. '-' or '' clears it. |
repos |
list of string or null | no | Repositories of the task's project the task touches, by name, added to its links; '-name' removes one. An unknown name fails with the project's names. A session bound to the task links the repository it works in by itself. 'name |
prs |
list of string or null | no | Pull request links (http:// or https://) added to the task, optionally after a repository name: 'web https://host/acme/web/pull/12'; '-url' removes one. Without a name, a link whose path names a project repository is tied to it (and links it). |
blocked_by |
list of string or null | no | Cards this task waits for, by key, of any project on the board: 'acme-shop-12'; '-key' removes one. A blocker blocks while it is in plan, dev, review or test, and no longer at live or done. An unknown key, the task itself and a cycle are refused. |
inspect_only |
boolean or null | no | true for a card that only reads (an analysis, a repro, a question answered by reading): it needs no accepted plan before dev and may go straight to done. A report on it that says changed, committed or pushed warns. |
stage |
string or null | no | Move the task: plan, dev, review, test, live or done (a move that misses a working rule adds a 'Warning (rules)' line). |
deploy_notes |
string or null | no | What a deploy of this card needs: migration, feature flag, script, rollback. Writing it clears deploy_done unless deploy_done is passed in the same write. '-' or '' clears it. |
deploy_done |
boolean or null | no | True once the steps in deploy_notes have been carried out. |
cancelled |
string or null | no | Why the card was given up on; setting it stamps the time. The card stays in its stage (move it to done yourself). '-' clears it and its time. |
fields |
object or null | no | Any other task field as one JSON object, e.g. {'priority': 2} (relaybay://schema/task lists them); for a field this tool has no parameter for yet. A field given both here and as a parameter must agree. |
expected_version |
integer or null | no | Fail instead of overwriting if the task changed since you read it. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
task_archive¶
Send a done or live task to the archive now, for coordinator sessions only: it leaves the board's columns (the board's "show archive" and search still find it). A live task is closed and archived in one step, and task_unarchive returns it to live. Any later stage change takes it out of the archive. Nothing is deleted now; after the server's archive_purge_days (30 by default) in the archive relaybay deletes it, with an export written first.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
task_unarchive¶
Bring a task back from the archive, for coordinator sessions only: a done one shows in the done column again (the automatic done window starts again from now), one archived from live goes back to live.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
task_bind_session¶
Mark that this session works on the task now; the board shows it with a link that opens the Claude desktop app session. Call it when you pick up an existing task. Pass your own desktop session id (local_…) if you know it. If you don't know your local_ id, don't rebind — the coordinator binds you; pass your session name only as session on writes. A plain name never replaces a desktop session bound to the task: it is recorded as that session's alias. Binding a session ends the previous session's binding; the history is kept. It never links a hook session (the caller may bind someone else): your own hook_session goes on your other writes.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
session |
string | yes | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Not linked here: pass your hook_session on your own writes instead. |
caller |
string or null | no | You, when session is someone else. Optional. |
task_unbind_session¶
Remove the bound session from a task, e.g. when a session stops working on it without a successor. The binding history is kept. To hand the task to another session, call task_bind_session instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
session |
string or null | no | The session you expect to be bound (desktop session id or name); if another session is bound, nothing changes and an error says who. Optional. |
caller |
string or null | no | You, when session is someone else. Optional. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
report_add¶
Add a report to a task. Call it at the end of every stage with your final report: what changed, how it was checked, what is left. Pass progress too, so the task's summary of what is done stays current with every report. Also update next_step (what happens next) and waiting_on (who acts next) whenever the stage changes or you report. stage ends the stage in the same call; findings and questions outside the task go in findings and questions.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
body |
string | yes | Markdown report. Its first line is the summary; a first line 'state · size · gist' (e.g. 'verified · M · login fixed') also sets state (inspected, changed, verified, committed, pushed, blocked) and size (S, M, L). Mark each claim you checked with 'verified: |
progress |
string or null | no | Markdown summary of everything done so far on the task (not just the last step). Rewrite it as the work goes on and keep it current with every report. Saved together with the report; omit to keep it; '-' or '' clears it. |
next_step |
string or null | no | What happens next, one line; saved in the same write. A next step set before the last stage change shows as stale. Omit to keep it; '-' or '' clears it. |
waiting_on |
string or null | no | Only who acts next: a name or role, no text after it; what happens goes to next_step. Saved in the same write. Omit to keep it; '-' or '' clears it. |
stage |
string or null | no | Move the task to this stage in the same write, after the report, so a rule asking for a report since the last stage change is met; the move's rule warnings follow (strict rules refuse the report too). Omit: the answer names what the usual next move needs. |
findings |
list of object or null | no | Findings outside this task, for the coordinator to triage (none becomes a backlog item by itself), at most 10: [{"title": "Cart total rounds down", "body": "...", "location": "web/cart.py:41", "kind": "bug", "area": "checkout"}]. title is required (up to 200 characters); kind is one of bug, idea, question, debt. |
questions |
list of object or null | no | Questions for the coordinator, at most 10: [{"text": "Keep the old route?", "default": "keep it until the next release"}]. Both are required: default is what happens if nobody answers. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
decision_add¶
Record a decision the user or the team made (scope, approach, trade-off), so later sessions find it in the project snapshot and decision_list. Decisions belong to a project (or one of its tasks); a fact for all projects goes to memory_add with scope 'global'. To change a decision, add the new one with supersedes.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
text |
string | yes | The decision, one or two sentences. |
task |
string or null | no | Related task key; makes the decision task-scoped. |
decided_by |
string or null | no | Who decided. |
source |
string or null | no | Where it came from: 'report:12', 'comment:7', 'event:301' or 'message: |
supersedes |
integer or null | no | Id of a current decision of the same project this one replaces; the old one stays in history marked superseded. |
area |
string or null | no | The area of the project it is about, by name (case does not matter): task_context shows a project decision on the cards of that area. Optional. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
decision_list¶
Decisions of a project, newest first (or the best matches of query), with their source and supersede links. Current decisions only unless include_superseded.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
task |
string or null | no | Only this task's decisions. |
query |
string or null | no | Words to search for; best matches first. |
include_superseded |
boolean | no | Also list replaced decisions (marked superseded by #n). Default: False. |
limit |
integer | no | How many. Default: 20. |
memory_add¶
Save a memory note: an owner preference, feedback, a project fact or a reference. First call without op: if similar notes exist, nothing is written and they are listed; call again with op add / update / supersede / noop. Never put secrets here (a write that looks like one is refused). Visibility per role is not enforced yet.
| Parameter | Type | Required | Description |
|---|---|---|---|
scope |
string | yes | global (every project), role (one role, e.g. coordinator) or project (one project). |
kind |
string | yes | user (the owner's preferences), feedback (a lesson from a correction), project (a fact about a project) or reference (where to find something). |
title |
string | yes | One line that names the fact. |
body |
string | yes | Markdown: the fact, why it holds, how to apply it. |
project |
string or null | no | Project slug, for scope project. |
role |
string or null | no | Role name, for scope role. |
tags |
string or null | no | Comma separated tags. |
source |
string or null | no | Where it came from: 'report:12', 'comment:7', 'event:301' or 'message: |
review_at |
string or null | no | Date to verify the note again, e.g. 2026-12-31. |
op |
string or null | no | Leave empty on the first call. After candidates came back: add, update (rewrite target), supersede (replace target, which stays in history) or noop. |
target |
integer or null | no | The candidate's id, for op update or supersede. |
base_version |
integer or null | no | With op=update: the candidate's version (v |
force_new |
boolean | no | With op=add: add even next to a strong match. Default: False. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
memory_update¶
Change a memory note. If someone changed it after you read it, nothing is saved and the current note comes back to merge; send it again with its version.
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
integer | yes | The note's id. |
base_version |
integer | yes | The note's version you read (memory_get shows it). |
title |
string or null | no | New title. |
body |
string or null | no | New body (the whole text). |
tags |
string or null | no | New tags. '-' or '' clears it. |
review_at |
string or null | no | New review date. '-' or '' clears it. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
audit_list¶
Agents' tool calls that touched a live stand, newest first: who, where, the redacted command, the guard's decision, level and rule, the task. Read-only: the "no live now" switch of a session is the owner's, on the board.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string or null | no | Only this project (slug). |
environment |
string or null | no | Only this stand (its name). |
session |
string or null | no | Only this session: its name, desktop id or hook session id. |
decision |
string or null | no | Only this decision: allow, log, warn, ask or deny. |
days |
integer | no | How many days back. Default: 7. |
limit |
integer | no | Default: 50. |
question_ask¶
Ask the owner a question on a card; it shows in the owner's Inbox and on the card, and only the owner answers it, on the board. Every question carries a default; at most 5 are open per card. A blocking one: end your turn, the answer comes as an owner comment through your hooks. kind look: bring up the screen first, pass its url and the test account's name.
| Parameter | Type | Required | Description |
|---|---|---|---|
text |
string | yes | The question, or for kind look what to check on the screen. Never a password or token. |
default |
string | yes | What you do when the owner does not answer: required, a question without a default is refused. |
task |
string or null | no | Task key such as 'acme-shop-12', or its numeric id: the card the question is on. Required. |
options |
list of string or null | no | Short answers the owner picks from (at most 8). Optional. |
blocking |
boolean or null | no | true: you end your turn and wait for the answer. Default false: you go on with the default. A look question is always blocking. |
default_after |
string or null | no | For a non-blocking question: when it closes with its default, a time with its zone (2026-12-01T15:00:00Z) or a duration (30m, 2h, 1d). Default 1h. |
kind |
string or null | no | question (default) or look: the owner looks at a screen you brought up and answers fine or remarks. |
url |
string or null | no | For kind look: the http(s) address the owner opens. |
account |
string or null | no | For kind look: the name of the test account to sign in with, never its password. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
question_list¶
Questions to the owner, newest first: open ones of all cards by default, with their state, options, default and the owner's answer verbatim. Changes nothing but closes questions past their deadline with their default.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string or null | no | Task key: only this card's questions. Optional. |
status |
string or null | no | open (default), answered, defaulted, withdrawn or all. |
question_withdraw¶
Withdraw an open question you asked (a coordinator may withdraw any): it leaves the Inbox.
| Parameter | Type | Required | Description |
|---|---|---|---|
question |
integer | yes | The question's number, e.g. 7 for '#7'. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
approval_request¶
Ask the owner to approve one action on a card: it shows in the owner's Inbox and on the card, and only the owner decides, on the board. The guard denies a call that needs an approval until one is given; one approval allows exactly one matching call, run alone as its own command (a push approval names its branch; a force push or a delete needs one that says so). End your turn after asking: the decision comes as an owner comment through your hooks. An open request for the same action and target is updated instead of a second one.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
action |
string | yes | push, merge, commit, deploy or sql: what you want to do. |
target |
string | yes | Where: for push and commit the branch (feat/x, or backend:feat/x with the repository; +feat/x for a force push, :feat/x to delete the branch); for merge the PR (12, #12 or its URL); for deploy and sql the stand, in words: test, live, prod (a plain name, no setup needed). |
summary |
string | yes | What goes where: the commits, the files, the CI state. Never a password or token. |
rollback |
string or null | no | The command that undoes it: required for a deploy. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
approval_list¶
Approval requests and the owner's decisions, newest first: open ones of all cards by default, with the target, the summary, the decision with the owner's line verbatim, and which call used an approval. Read-only: no MCP tool decides.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string or null | no | Task key: only this card's approvals. Optional. |
status |
string or null | no | open (default), approved, refused, used, expired or all. |
approval_withdraw¶
Withdraw an approval request you asked (a coordinator may withdraw any) that is no longer needed: an open one, or an approved one not used yet. It expires with your reason, leaves the owner's Inbox, and no longer holds the card's archive.
| Parameter | Type | Required | Description |
|---|---|---|---|
approval |
integer | yes | The approval's number, e.g. 7 for '#7'. |
reason |
string | yes | Why it is no longer needed, one line, e.g. 'the owner merged the PR by hand'. Shown on the card and in the owner's Inbox history. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
memory_search¶
Search memory notes, decisions, documents, reports, comments and backlog items. Each hit has its id and the matching line; open a note with memory_get, a document with doc_get and a backlog item with backlog_list.
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | yes | Words to look for (word forms match). |
scope |
string or null | no | Only notes of this scope: global, role or project. |
project |
string or null | no | Only this project's items plus global and role notes. |
kinds |
list of string or null | no | What to search: note, decision, doc, report, comment, backlog (default all; only notes when scope is given). |
limit |
integer | no | How many hits. Default: 10. |
memory_get¶
A memory note in full: body, scope, source, dates, version (to change it later).
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
integer | yes | The note's id. |
doc_list¶
The documents of a project (spec, status, brief, runbooks, ADRs) with versions.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
doc_get¶
A project document as markdown (or one section, or a line range), with its current version to pass as base_version to doc_update; a file document names its file, hash and whether doc_update writes it, and a change made to it outside relaybay. A read over the cap returns the first lines, the outline of the rest and the call that reads on, never a silent cut. For a large document: doc_outline first.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
doc |
string | yes | Document name, e.g. 'spec'. |
section |
string or null | no | Section anchor from a heading ('## Gift cards' → gift-cards): returns that heading and its text only. |
version |
integer or null | no | An older version. |
lines |
string or null | no | A line range 'a-b' (doc_outline and doc_search name the lines). |
max_chars |
integer or null | no | Cap of the answer in characters. Default: no cap, except 40000 for a document over 200000 characters (a file document). |
doc_outline¶
The headings of a document, one line each: level, anchor (and explicit anchor), title, lines a-b, characters and the token estimate. Read a part with doc_get(section) or doc_get(lines).
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
doc |
string | yes | Document name, e.g. 'spec'. |
depth |
integer or null | no | At most this many heading levels. |
under |
string or null | no | Only the headings inside this section (its anchor). |
doc_search¶
Search a project's documents per section: each hit names the document, the section's anchor and heading path, the matching line with one line around it and the section's lines and size, so doc_get reads just that part.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
query |
string | yes | Words to look for (word forms match). |
doc |
string or null | no | Only this document. |
limit |
integer | no | How many sections. Default: 10. |
doc_update¶
Write a new version of a project document (base_version 0 creates it). If it changed since you read it, nothing is saved and the current text comes back to merge. With lines + expected only those lines change, as long as they still read as expected. A task's document is task-<ref>; point the task at it with task_update(doc_path= 'relaybay://doc/
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
doc |
string | yes | Document name: lowercase letters, digits, dashes. |
body |
string | yes | Markdown: the whole document, or with section that section (starting with its heading to rename it, or just the text under it). |
reason |
string | yes | What changed and why, one line. |
base_version |
integer | yes | The version you read (doc_get shows it); 0 creates the document. |
section |
string or null | no | Replace only this section (its anchor). |
title |
string or null | no | Title; default: the first '# ' heading. |
kind |
string or null | no | spec, status, task, brief, runbook, adr, retro or your own (default doc). |
source_url |
string or null | no | http(s) link when the document lives in a repository: the board links there and later writes need force; '-' unlinks. |
force |
boolean | no | Write a document that lives in a repository anyway. Default: False. |
source_path |
string or null | no | Absolute path of a file on this machine: with base_version 0 and body '-' it becomes a file document that relaybay indexes on demand. |
lines |
string or null | no | Replace only these lines 'a-b' (with expected); body '-' removes. |
expected |
string or null | no | The current text of lines as you read it; else a conflict. |
file_writes |
string or null | no | Coordinators only: turn writes through relaybay into a file document's file on or off (default off); with body '-' that is all it does. |
delete |
boolean | no | Delete the document: base_version must be the current version, body is ignored (pass '-'), reason says why. An export is written first; a file document's file stays on disk. spec and status documents: the owner or a coordinator only (spec-False. |
from_path |
string or null | no | Absolute path of a local text or markdown file to import once as the whole body (body '-'): a new document (base_version 0) or a whole write of a database document. The document keeps no link to the file. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
doc_history¶
The versions of a document (author, reason, section, size), newest first; with from_version and to_version also the unified diff between those two. A file document lists the changes relaybay saw in its file (sections, hash before and after).
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
doc |
string | yes | Document name. |
from_version |
integer or null | no | With to_version: show the diff between them. |
to_version |
integer or null | no | See from_version. |
block_get¶
A memory block (a short labelled text shown at its level, e.g. 'owner-preferences') with its version and character limit, or the list of blocks.
| Parameter | Type | Required | Description |
|---|---|---|---|
label |
string or null | no | Block label; omit to list the blocks. |
project |
string or null | no | Project slug; omit for global blocks. |
block_set¶
Write a memory block. Over its character limit the write is refused with the count. Owner-only blocks are read-only here (the owner edits them on the board).
| Parameter | Type | Required | Description |
|---|---|---|---|
label |
string | yes | Block label, e.g. 'owner-preferences'. |
body |
string | yes | The whole new text; must fit the limit. |
base_version |
integer | yes | The version you read (block_get); 0 creates the block. |
project |
string or null | no | Project slug; omit for a global block. |
description |
string or null | no | What the block is for, one line. |
char_limit |
integer or null | no | Character limit (default 2000 for a new block). |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
comments_list¶
Comments on a task, oldest first: the owner's (with sent / delivered / read marks) and agents' replies. Call it when a hook or the session start says you have unread owner comments.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
unread_only |
boolean | no | Only unread ones: owner comments not acknowledged yet and replies the owner has not read. Default: False. |
comment_ack¶
Acknowledge owner comments once you have handled them: one by comment_id, or all unread ones of task. The board then shows them as read, and the Stop hook stops reminding you of them.
| Parameter | Type | Required | Description |
|---|---|---|---|
comment_id |
integer or null | no | The owner comment to mark read, e.g. 7 for '#7'. |
task |
string or null | no | Task key: mark every unread owner comment on it read. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
comment_add¶
Reply to the owner on a task's comment thread (shown on the board and in the owner's Inbox). Use it to answer an owner comment or to ask a short question; reports stay in report_add.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
body |
string | yes | Your reply to the owner, markdown. |
in_reply_to |
integer or null | no | The owner comment you answer; it is marked read. Without it, every unread owner comment on the task is marked read. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
backlog_add¶
Put a finding outside your task (a bug, a missing feature, a question for later) on the project's backlog instead of a comment or a report. It starts as new; the owner decides on the board ("To plan" creates the task). It is always added; open items with a similar title are named so that a duplicate can be closed.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string | yes | Project slug such as 'acme-shop'. |
title |
string or null | no | Short title of the finding; required unless from_report gives it. |
body |
string or null | no | What and why, markdown. |
area |
string or null | no | Free area, e.g. 'checkout' or 'board'. |
task |
string or null | no | The task you found it in. Optional. |
priority |
integer or null | no | -9 to 9, higher first; 0 is the default and resets it. |
assignee |
string or null | no | Who it is for, a name or a role: To plan makes it waiting_on. '-' or '' clears it. |
kind |
string or null | no | What it is: bug, idea, question, debt. Optional. '-' or '' clears it. |
location |
string or null | no | Where in the code: 'repo:path:line', 'path:line' or a link, up to 300 characters. Optional. '-' or '' clears it. |
from_report |
integer or null | no | Triage a finding a report carries (report_add findings): the report id; pass finding with it. The finding fills title, body, location, kind and area unless given, its task becomes the item's task, and the digests stop listing it. |
finding |
integer or null | no | With from_report: the finding's number, from 1. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
report_item_dismiss¶
Close a finding or question a report carries (report_add findings / questions) without a backlog item: the digests stop listing it. A finding worth keeping goes to backlog_add(from_report=, finding=) instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
report |
integer | yes | The report id (report #N). |
n |
integer | yes | The item's number in the report, from 1. |
kind |
string | no | finding or question; default finding. Default: finding. |
reason |
string or null | no | Why it needs no backlog item; for a question, what was decided. Optional. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
backlog_list¶
Backlog items: new first, the highest priority first within a status, then newest.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string or null | no | Project slug. Optional. |
status |
string or null | no | new, later, planned, done or declined. Optional. |
area |
string or null | no | Area. Optional. |
assignee |
string or null | no | Who it is for; '-' lists the items for nobody. Optional. |
query |
string or null | no | Words that must all be in the title, the text, the location, the source or the decision (word forms match). Optional. |
kind |
string or null | no | bug, idea, question, debt; '-' lists the items without a kind. Optional. |
since |
string or null | no | A day like 2026-11-05: items found on it or later. Optional. |
task |
string or null | no | A task key: items found in it or linked to it. Optional. |
has_location |
boolean or null | no | true: only items with a code location; false: only without. |
limit |
integer | no | At most this many. Default: 50. |
backlog_update¶
Change a backlog item. Its title, body, area, priority, assignee, kind and location: the session that added it, while it is new. Its status, triage note, duplicate and linked card: coordinator sessions named in the server's config only; everyone else leaves that to the owner on the board.
| Parameter | Type | Required | Description |
|---|---|---|---|
item |
integer | yes | The item's number, e.g. 7. |
status |
string or null | no | new, later, done (fixed without a task of its own, with an optional link) or declined (with reason); coordinator sessions only. planned is never set here: the owner's 'To plan' creates the task. |
reason |
string or null | no | Why, required to decline; a note for done. |
link |
string or null | no | With status done: where it was fixed, an http(s) link (a PR). |
title |
string or null | no | New title. |
body |
string or null | no | New body, markdown. '-' or '' clears it. |
area |
string or null | no | New area. '-' or '' clears it. |
priority |
integer or null | no | -9 to 9, higher first; 0 is the default and resets it. |
assignee |
string or null | no | Who it is for, a name or a role: To plan makes it waiting_on. '-' or '' clears it. |
kind |
string or null | no | What it is: bug, idea, question, debt. Optional. '-' or '' clears it. |
location |
string or null | no | Where in the code: 'repo:path:line', 'path:line' or a link, up to 300 characters. Optional. '-' or '' clears it. |
triage_note |
string or null | no | The decision in words, up to 500 characters; coordinator sessions only. '-' or '' clears it. |
duplicate_of |
integer or null | no | Close it as a duplicate of this item of the same project (status declined, reason 'duplicate of #N'); coordinator sessions only. |
task |
string or null | no | Link an existing card of the same project (status planned); coordinator sessions only. 'To plan' on the board creates a new one. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
backlog_patch¶
Change any backlog item fields given as one JSON object, with the same rules as backlog_update. Use it for a field your client's backlog_update does not offer yet: its parameter list may be older than the server.
| Parameter | Type | Required | Description |
|---|---|---|---|
item |
integer | yes | The item's number, e.g. 7. |
fields |
object | yes | Item fields to change as one JSON object, e.g. {"priority": 2}. Allowed: status, reason, link, title, body, area, priority, assignee, kind, location, triage_note, duplicate_of, task. '-', '' or null clears body, area, assignee, kind, location and triage_note, and resets priority to 0. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
rules_get¶
The working rules: report format (first line, states, sizes), what a stage move needs (e.g. a report before test, progress before done), the description template and guidance, with the version and the rules hash. Call it at the start of a session, or when the version in project_snapshot changed or a response says the rules were updated.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string or null | no | Project slug for its merged rules; omit for the global rules. |
rules_update¶
Change the working rules directly: a new version of the scope. Only for coordinator sessions named in the server's config; everyone else gets an error and uses rules_propose. An invalid patch is refused with the reason.
| Parameter | Type | Required | Description |
|---|---|---|---|
scope |
string | yes | 'global' or a project slug. |
patch |
object | yes | Merged on top of the scope's current version: objects key by key, other values (lists included) replace, null removes a key (a project then follows the global rules, the global rules the built-in default). Keys: report_format ({first_line, states, sizes}), stage_requirements ({stage: [requirement]}; [] drops a stage's requirements), description_template, guidance. The result must be valid rules (rules_get shows the current ones). |
reason |
string | yes | Why the rules change; kept in the history. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
rules_propose¶
Propose a change to the working rules. Nothing changes until the owner accepts it on the board (Inbox, Settings → Rules); it is checked again against the current version then. A rejected proposal stays in the history.
| Parameter | Type | Required | Description |
|---|---|---|---|
scope |
string | yes | 'global' or a project slug. |
patch |
object | yes | Merged on top of the scope's current version: objects key by key, other values (lists included) replace, null removes a key (a project then follows the global rules, the global rules the built-in default). Keys: report_format ({first_line, states, sizes}), stage_requirements ({stage: [requirement]}; [] drops a stage's requirements), description_template, guidance. The result must be valid rules (rules_get shows the current ones). |
reason |
string | yes | Why the change is needed, for the owner. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
events_since¶
Events after since_id (task created, stage changed, report added, ...), oldest first. Call it to catch up on what other sessions did since you last looked.
| Parameter | Type | Required | Description |
|---|---|---|---|
since_id |
integer | no | Last event id you have seen. Default: 0. |
project |
string or null | no | Project slug filter. |
limit |
integer | no | Default: 50. |
review_get¶
The task's review checklist: each step with its status (open, accepted, rejected), what to check, its screenshots with captions and ids, the owner's pins on them with coordinates and replies, plus the owner's comments on the steps. Flattened images with the owner's markup come as image content after the text. Call it after an owner decision arrives, or before you change the checklist.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
attachment_get¶
One screenshot as image content, with a text line and its pins. An image too large for a tool answer is refused with a message that says so.
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
integer | yes | The screenshot's id, as review_get lists it. |
annotated |
boolean | no | True: the flattened PNG with the owner's markup, not the original. Default: False. |
annotation_reply¶
Answer a pin the owner put on a screenshot. The owner reads it in the pin's thread and in the task's thread. Secret values are refused.
| Parameter | Type | Required | Description |
|---|---|---|---|
annotation |
integer | yes | The pin's annotation id, as the owner's comment names it. |
body |
string | yes | Your answer, up to 2000 characters. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
review_steps_set¶
Write what the owner should check by eye (the Owner check) as an ordered checklist the owner accepts step by step on the board. Do it before moving the task to review or test.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
steps |
list of object | yes | The whole checklist in order, e.g. [{'title': 'Login with 2FA', 'details': 'What to check, how and why (markdown)'}]. It replaces the current one: step N keeps its decision and screenshots while its title and details stay the same; a changed step is open again; steps past the end are removed. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
review_step_update¶
Change one review step: its text, or reopen it after you fixed what the owner rejected. A changed text opens the step again. remark adds your comment under the step without changing its status.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
step |
integer | yes | The step's number in the checklist. |
title |
string or null | no | New title. |
details |
string or null | no | New 'what, how and why' text (markdown). |
status |
string or null | no | Only 'open': ask the owner to look again after a fix. Accepting and rejecting is the owner's, on the board. |
remark |
string or null | no | A comment under the step on the board (markdown), e.g. what you fixed or where to look; it does not change the step's status. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
plan_get¶
The task's plan: status (draft or accepted), each step with its status and, when done, its checkpoint (time, conformance, outcome, link), plus your Claude Code todo as a separate list. Call it when you pick up a task and before you change the plan.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
plan_set¶
Write the task's plan (from PLAN.md or your own 2-5 steps) before you start coding. A new plan is a draft until the owner (board) or the coordinator (plan_accept) accepts it; changing the titles or the order of an accepted plan makes it a draft again.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
steps |
list of object | yes | The whole plan in order, 2-5 steps as a rule, e.g. [{'title': 'Migration and model', 'details': 'What and why, 1-2 sentences (markdown)'}]. It replaces the current plan: step N keeps its status and checkpoint while its title stays the same; a renamed step starts again as pending; steps past the end are removed; an empty list removes the plan. |
reason |
string or null | no | Why the plan is written or changed, one line; kept in its history. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
plan_step_update¶
Mark a plan step in_progress when you start it and done when it is finished (a checkpoint: one line 'as planned' or 'deviation: why', optionally an outcome and a link to the report or PR). Status changes never turn an accepted plan back into a draft.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
step |
integer | yes | The step's number in the plan (1, 2, …). |
status |
string | yes | One of: pending, in_progress, done, blocked. |
outcome |
string or null | no | One line: what came out of the step (or why it is blocked). |
link |
string or null | no | Done only: a report of this task ('12') or a PR link. |
conformance |
string or null | no | Required with done: 'as planned' or 'deviation: |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
plan_step_add¶
Append a pending step to the plan when the work changes or grows after a report. An accepted plan stays accepted (the step is marked 'added after acceptance'); a task in review or test goes back to dev. Also update progress and next_step.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
title |
string | yes | The new step's title. |
reason |
string | yes | Required: why the step is added, one line (e.g. the owner's decision after review); kept on the step and in the plan's history. |
details |
string or null | no | What and why, 1-2 sentences (markdown). |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
plan_accept¶
Accept the task's plan as the coordinator (the owner accepts on the board). Agents do not accept their own plans.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
attach_file¶
Attach a screenshot to a task, optionally to one review step, with a caption. The type is checked by content (SVG and other files are refused) and sizes are limited. See the how-to 'Screenshots for review' for producing the file.
| Parameter | Type | Required | Description |
|---|---|---|---|
task |
string | yes | Task key such as 'acme-shop-12', or its numeric id. |
path |
string or null | no | Absolute path of a PNG, JPEG, WebP or GIF file inside the project's repository, the temp folder or a folder in attachment_roots. It is copied; the original stays. |
content_base64 |
string or null | no | The image itself, base64, instead of a path (same rules). |
filename |
string or null | no | A display name for content_base64. |
step |
integer or null | no | Review step number it belongs to. |
caption |
string or null | no | What the screenshot shows (markdown). |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
attachment_caption¶
Change the caption of a screenshot.
| Parameter | Type | Required | Description |
|---|---|---|---|
attachment_id |
integer | yes | The attachment id from attach_file. |
caption |
string | yes | New caption (markdown); '-' or '' clears it. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
policy_get¶
The effective policy (levels per environment kind and capability, guard mode and rules, secret rules, test secrets) with, for every value, the layer that set it: preset, config, global file, project, environment. Read it to know why the guard or a secret check answered as it did.
| Parameter | Type | Required | Description |
|---|---|---|---|
project |
string or null | no | Project slug; omit for the global policy. |
environment |
string or null | no | Environment name in the project, for its own policy. |
policy_propose¶
Propose a change to the policy. Nothing changes until the owner accepts it on the board (Settings → Policy); it shows in the owner's Inbox.
| Parameter | Type | Required | Description |
|---|---|---|---|
scope |
string | yes | 'global', a project slug, or ' |
patch |
object | yes | Merged into that layer's JSON: objects key by key, other values (lists included) replace, null removes a key. Keys: levels ({kind: {default|capability: level}}), guard ({mode, disable, patterns}), secrets ({disable, allow, test_secrets, expose_test_secrets_to_agents}). The result must validate against the policy schema (policy_get shows the current values). |
reason |
string | yes | Why the change is needed, for the owner. |
session |
string or null | no | Who is calling: pass your own desktop session id (local_…) if you know it, otherwise a human-readable session name. Optional. |
session_title |
string or null | no | Display name of your session (its title), used with a desktop session id. |
hook_session |
string or null | no | Your own Claude Code hook session id, if the session start told you one ('Your relaybay hook session: …'); never another session's. Links the board's live status and owner comments to your session. An id another live session linked first is not moved (the response says so). Optional. |
Resources¶
| URI | Name | Type | Description |
|---|---|---|---|
relaybay://attachments/{attachment_id}/annotated |
annotated-screenshot | image/png | The flattened PNG of a screenshot with the owner's markup (same as attachment_get with annotated=true). |
relaybay://contract |
contract | text/markdown | The MCP contract: its version and the compatibility rule. |
relaybay://doc/{project}/{doc} |
project-document | text/markdown | A project document's current markdown (same as doc_get). |
relaybay://project/{slug} |
project-snapshot | text/markdown | Markdown snapshot of a project (same as project_snapshot). |
relaybay://rules |
rules | text/markdown | The global working rules (same as rules_get without a project). |
relaybay://rules/{project} |
project-rules | text/markdown | A project's working rules: global rules merged with the project override. |
relaybay://schema/task |
task-schema | text/markdown | Editable task fields for task_update(fields=...): name, type, description, clearing. |
Prompts¶
| Prompt | Arguments | Description |
|---|---|---|
start_task |
project, task? |
The project's current working rules and a checklist for starting a task. |
finish_stage |
project, task? |
The project's current working rules and a checklist for ending a stage. |