MCP tool reference
Every action a connected AI assistant can take in ProjectBrain, the access each one needs, and the details it accepts.
Once you connect an AI assistant, it can use the tools listed here. You do not call them yourself. Ask in plain words and the assistant picks the right one. The example under each heading shows the kind of thing to ask.
How access works
Section titled “How access works”- Each tool needs one or more scopes, the kinds of access you approve when you connect. You can see and narrow them at Your settings > MCP Connections. A tool whose scope you did not grant does not appear for your assistant.
- Your own permissions still apply. A scope never lets the assistant do something you could not do yourself.
- Some tools belong to a feature your organization must turn on first. They are marked “Needs … turned on”, and Beta when the feature is still in beta. Until it is on, the assistant does not see them.
- Assistants write under their own bot name, with you recorded as the person they acted for. They never publish a wiki page, activate a blueprint or send a document to a client, and by default they hand finished tasks to a person to accept.
Tasks
Find, create, update and organise tasks and comments.
Things you can ask
- “Show me my open tasks that are due this week.”
- “Create a task in the Portal project called "Review the homepage copy" and assign it to Sam.”
- “Add a comment to PB-184 saying the design is approved, and mention Lynn.”
add_commentPosts a comment on a task, under the assistant's bot name, and can mention people.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
body | string | Yes | Comment body (markdown). 1-10000 chars. |
visible_to_external | boolean | No | Whether external (non-org) viewers see this comment. Defaults to false. |
add_subtasksAdds subtasks to an existing task, up to 100 at a time.
| Parameter | Type | Required | What it is |
|---|---|---|---|
parent_task_id | string | Yes | The task to add subtasks to. Numeric ID, slug, or task key such as PB-184. It must not itself be a subtask. |
subtasks | array | Yes | Subtasks to append, in order (max 100 per call). Each entry is either a plain title, or an object with {title (required), description (markdown), priority, due_date, start_date, assignee_user_id, task_type_id, labels (ids from list_labels that are org-wide or in the task's project), effort_size, depends_on}. Project, board column, task type and priority are inherited from the parent when left out; dates, assignee and effort_size are not. A subtask cannot carry its own subtasks — they go one level deep. |
idempotency_key | string | No | Optional. Repeat a chunk with the same key and the parent comes back unchanged instead of the subtasks being added twice — use it when a previous call timed out and you do not know whether it landed. |
add_task_dependencyRecords that one task must finish before another can start.
| Parameter | Type | Required | What it is |
|---|---|---|---|
blocker_id | string | Yes | The task that must finish first (numeric ID, slug, or task key such as PB-184). |
blocked_id | string | Yes | The task that waits (numeric ID, slug, or task key such as PB-184). |
apply_routing_templateApplies a routing template to a task, the same as choosing it in the app.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
template_id | string | Yes | Routing template ID (numeric). |
replace | boolean | No | If true, drop existing assignments before applying. Defaults to false. |
archive_taskArchives a task, or brings it back. Assistants cannot delete tasks.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
restore | boolean | No | True brings an archived task back. Default false. |
attach_fileAttaches a file to a task so the whole team can open it.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | The task to attach to. Numeric ID, slug, or task key such as PB-184. |
filename | string | Yes | Name the file will be saved as, e.g. "timeline-spec.md" or "logo.png". Allowed: md, txt, log, csv, json, yml, yaml, png, jpg, jpeg, gif, webp. |
content | string | Yes | The file body. Plain text as-is; an image base64-encoded with encoding set to "base64". Max 5 MB once decoded. |
encoding | one of: text, base64 | No | "text" (default) or "base64". Images must use base64. |
idempotency_key | string | No | Optional. Repeat with the same key and the original attachment comes back instead of a second copy — use it when a previous call timed out. |
bulk_apply_labelAdds, removes or replaces a label on up to 100 tasks.
| Parameter | Type | Required | What it is |
|---|---|---|---|
ids | array | Yes | Task IDs to update (1-100). |
label_id | integer | Yes | Numeric ID of a label belonging to this organization. For add/replace, it must also be org-wide or belong to every target task's own project. |
mode | one of: add, remove, replace | No | add: attach if missing. remove: detach if present. replace: clear all then attach this one. |
bulk_close_staleFinds tasks nobody has touched for a while and previews or closes them.
| Parameter | Type | Required | What it is |
|---|---|---|---|
criteria | object | Yes | Filter criteria for stale tasks. |
bulk_comment_tasksPosts the same comment on up to 100 tasks.
| Parameter | Type | Required | What it is |
|---|---|---|---|
ids | array | Yes | Task IDs to comment on (1-100). |
body | string | Yes | Comment body (markdown). 1-10000 chars. |
visible_to_external | boolean | No | Whether external (non-org) viewers see this comment. Defaults to false. |
bulk_update_tasksApplies the same change to up to 100 tasks, and reports which ones worked.
| Parameter | Type | Required | What it is |
|---|---|---|---|
ids | array | Yes | Task IDs to update (1-100). |
patch | object | Yes | Subset of update_task fields to apply to every selected task. |
complete_taskMarks a task complete. By default an assistant may not do this and hands the task to a person for review instead, unless your admin allows it.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
summary | string | Yes | Free-text completion summary (1-4000 chars). |
create_taskCreates a task in a project.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Target project. Numeric ID or slug. |
title | string | Yes | Task title (1-250 chars). |
description | string | No | Optional task description (markdown). Long enough for a full PRD. |
priority | one of: low, normal, high, critical | No | Task priority. Defaults to normal. |
due_date | string | No | Due date (ISO 8601). |
start_date | string | No | Start date (ISO 8601). |
labels | array | No | Array of label IDs to attach, from list_labels. Each must be org-wide or belong to the target project — a label scoped to a different project is refused. |
assignee_user_id | string | No | Assignee. Numeric user ID, "me", or a bot slug (claude/chatgpt/codex). |
parent_task_id | integer | No | Parent task ID for subtask relationships (one level deep). |
subtasks | array | No | Subtasks to create under the new task, in order (max 100). Each entry is either a plain title, or an object with the same fields as a task: {title (required), description (markdown), priority, due_date, start_date, assignee_user_id, task_type_id, labels (ids from list_labels that are org-wide or in the task's project), effort_size}. Anything left out is inherited from the parent for project, board column, type and priority, and left empty otherwise — dates, assignee and effort_size are NOT inherited. Subtasks go one level deep: a subtask cannot carry its own subtasks, and this cannot be combined with parent_task_id. For a long plan, send a first chunk here and append the rest with add_subtasks. |
milestone_id | integer | No | Milestone ID to link this task to. |
time_box_id | integer | No | Put the task in this cycle of its project (from list_time_boxes). Needs the timebox.manage permission. |
size_value | number | No | Size in the project's own scale (Size): T-shirt 1/2/3/5/8 (XS-XL), Fibonacci 1-21, or hours 0.25-999.75 (any number, 2 decimals max). Refused when the project does not size tasks. Null clears it. |
effort_size | one of: xs, s, m, l, xl | No | Optional effort sizing token: one of xs, s, m, l, xl. |
task_type_id | integer | Yes | Task type, from list_task_types. Required — pick the one that matches the work. Subtasks inherit it unless they name their own. |
idempotency_key | string | No | Optional. Repeat a call with the same key and the original task comes back instead of a second one — use it when a previous call timed out and you do not know whether it landed. Without a key, an identical payload from the same connection is treated as the same intent. |
workflow_status_id | integer | Yes | Board column for the task, from list_statuses. Required — a task without one appears in no column. Subtasks inherit it. |
get_taskReads one task, with its latest comments, who it is assigned to and its labels.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
get_task_attachmentsLists the files on a task, with a link to open each one. Small text files come back readable.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
include_text | boolean | No | Read small text files inline. Default true. |
link_figma_to_taskAttaches a Figma file or frame to a task, under Designs.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
url | string | Yes | Figma file or frame URL (max 500 chars). |
list_intake_submissionsLists the request form submissions waiting for a triage decision, for one project or every project you can triage.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Narrow to one project. ID or slug. Omit to see every project you may triage. |
state | string | No | received (default), accepted, declined or duplicate. |
form_id | integer | No | Narrow to submissions from one form. |
since | string | No | ISO 8601 datetime — only submissions created at or after this moment. |
list_labelsLists the labels your organization uses, optionally for one project.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | integer | No | Optional. Limit to labels scoped to a specific project. |
list_my_tasksLists the tasks assigned to the assistant's own bot account. To see your own tasks, ask for tasks assigned to you instead.
| Parameter | Type | Required | What it is |
|---|---|---|---|
filter | one of: open, today, overdue, completed | No | Inbox filter. |
since | string | No | ISO 8601 datetime. When set, only tasks updated at or after this timestamp are returned. Use the timestamp of your last call to poll for changes. |
page | integer | No | 1-indexed page number. |
per_page | integer | No | Page size. Max 100. |
list_statusesLists the statuses a task can be in, in board order.
list_task_typesLists the task types your organization has set up.
list_tasksLists tasks, filtered by project, department, team, milestone, status, assignee, priority, due date, label or search words.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Filter to a single project. Accepts numeric ID or slug. |
department_id | integer | No | Filter to a single org-hierarchy department by numeric id. Cross-org ids return an empty result set. |
org_team_id | integer | No | Filter to a single org-hierarchy team by numeric id. Distinct from the legacy project-staffing team. Cross-org ids return an empty result set. |
milestone_id | integer | No | Filter to a single milestone by numeric id, from list_milestones. Cross-org ids return an empty result set. |
status | one of: not_started, in_progress, complete, blocked | No | Filter by workflow_state: not_started, in_progress, complete, blocked. |
assignee | string | No | Who the tasks are assigned to: 'me' for you, a person's numeric ID, or an assistant's name such as 'claude'. |
priority | one of: low, normal, high, critical | No | Filter by priority. |
due_before | string | No | Return tasks with due_date strictly before this ISO 8601 date. |
label | string | No | Filter to tasks tagged with this label slug or name. |
search | string | No | Substring match against title and description. |
since | string | No | ISO 8601 datetime. When set, only tasks updated at or after this timestamp are returned. Use the timestamp of your last call to poll for changes. |
page | integer | No | 1-indexed page number. |
per_page | integer | No | Page size. Max 100. |
propose_task_changesProposes status changes and notes on up to 20 tasks. Nothing changes until you open the link and confirm.
| Parameter | Type | Required | What it is |
|---|---|---|---|
changes | array | Yes | 1-20 changes, one per task. Each needs status, note, or both. |
summary | string | No | One line saying what this batch is, shown on the confirm page (max 500 chars). |
remove_task_dependencyRemoves a "must finish first" link between two tasks.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | integer | No | The dependency row, from list_task_links or get_task. |
blocker_id | string | No | The blocking task (numeric ID, slug, or task key such as PB-184). |
blocked_id | string | No | The waiting task (numeric ID, slug, or task key such as PB-184). |
request_uploadGives a one-time link for uploading an image, such as a screenshot, to a task.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | The task to attach to. Numeric ID, slug, or task key such as PB-184. |
filename | string | Yes | Name the file will be saved as, e.g. "agents-page-375-dark.png". Allowed: png, jpg, jpeg, gif, webp. |
start_workflowApplies a routing template to a task, picking the template by name.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID or slug. |
template_slug | string | Yes | Routing template slug (matches the template name column for now). |
submit_for_reviewMarks progress on a task and asks a person to review it.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
summary | string | Yes | Free-text summary of the work for the reviewer (1-4000 chars). |
submit_planTurns a plan into a milestone with a task for each phase and a subtask for each step.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Target project. Numeric ID or slug. |
title | string | Yes | Plan/milestone title (1-200 chars). |
description | string | No | Optional plan summary / AI-generated overview (markdown, max 10000). |
for_agents | boolean | No | List this plan for agents to approve (default true). Pass false for work not meant for agents; switch later with update_milestone. Ignored while the agent orchestrator is off. |
skip_prototype | boolean | No | Set true for work with no user interface, e.g. backend-only, docs, refactors. Default false: the plan starts with a Prototype task (one interactive HTML prototype for the person to review) that every other task waits on. |
phases | array | Yes | Ordered list of phases. Each phase becomes a parent Task; its steps become subtasks. |
triage_submissionAccepts, declines or marks as duplicate a request form submission. Accepting makes a task.
| Parameter | Type | Required | What it is |
|---|---|---|---|
submission_id | integer | Yes | The submission to triage (see list_intake_submissions). |
action | string | Yes | accept, decline or duplicate. |
reason | string | No | Decline only. Optional, at most 1000 characters. |
duplicate_of_task_id | integer | No | Duplicate only. A task in the same project. |
update_plan_progressPosts a progress update on a plan step or task. Saying a step is completed records it in a comment but does not close the task.
| Parameter | Type | Required | What it is |
|---|---|---|---|
step_id | string | Yes | Step task numeric ID, slug, or task key such as PB-184. |
status | one of: started, working, blocked, completed | Yes | Progress status: started, working, blocked, or completed. |
summary | string | Yes | Human-readable progress summary (1-4000 chars). |
update_taskChanges a task. Only the fields you send are changed.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
title | string | No | Updated title. |
description | string | No | Updated description (markdown). Long enough for a full PRD. |
priority | one of: low, normal, high, critical | No | Updated priority. |
due_date | string | No | Updated due date (ISO 8601). Pass null to clear. |
start_date | string | No | Updated start date (ISO 8601). |
workflow_state | one of: not_started, in_progress, complete, blocked | No | Updated workflow state. |
effort_size | one of: xs, s, m, l, xl | No | Updated effort sizing token: one of xs, s, m, l, xl. |
labels | array | No | Replace label set with these label IDs. Each must be org-wide or belong to the task's own project. |
assignee_user_id | string | No | New assignee. Numeric, "me", or a bot slug. |
parent_task_id | integer | No | Re-parent to this task ID. |
milestone_id | integer | No | Move to this milestone. |
task_type_id | integer | No | Change task type. |
workflow_status_id | integer | No | Move the task to this board column, from list_statuses. workflow_state follows the column's category unless you set it explicitly in the same call. |
time_box_id | integer | No | Put the task in this cycle of its project (from list_time_boxes). Null takes it back to the backlog. Needs the timebox.manage permission. |
feedback | string | No | Only when the person told you to close, mark done or cancel this task: their own words, verbatim (or, with feedback_source "button", the label of the choice they pressed in chat). Saved on the task as them, then the status moves. Never invent it. |
feedback_source | one of: said, button | No | "said" (default) for words they typed, "button" when they pressed a choice you offered. |
size_value | number | No | Size in the project's own scale (Size): T-shirt 1/2/3/5/8 (XS-XL), Fibonacci 1-21, or hours 0.25-999.75 (any number, 2 decimals max). Refused when the project does not size tasks. Null clears it. Do not combine with effort_size. |
Search and insights
Search across your work and ask how a project is doing.
Things you can ask
- “Search for anything about the launch checklist.”
- “How healthy is the Portal project, and which tasks are holding the most work up?”
- “When will the Beta milestone probably finish?”
find_blockersFinds the open tasks that are holding up the most other work.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project numeric ID or slug. |
find_duplicatesFinds tasks that look like duplicates of a given task.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
limit | integer | No | Maximum candidates to return (1-20, default 5). |
find_similar_tasksFinds tasks similar to a given task.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
limit | integer | No | Maximum candidates to return (1-20, default 5). |
min_similarity | number | No | Minimum cosine similarity score (0-1). Defaults to mcp.vector.similarity_threshold. |
get_project_healthSummarises how a project is going: open, overdue and blocked tasks, and the recent trend.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project numeric ID or slug. |
get_reportReads one flow report for a project, such as cycle time or throughput, with the numbers behind it.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
kind | one of: cycle-time, lead-time, throughput, cumulative-flow, wip, burnup, burndown, velocity, control-chart, releases, milestones | Yes | Which report: cycle-time, lead-time, throughput, cumulative-flow, wip, burnup, burndown, velocity, control-chart, releases, milestones. |
window | one of: 30d, 90d, 180d, 365d | No | How far back to look. Defaults to 90d. |
time_box_id | integer | No | Burnup and burndown only: the cycle (from list_time_boxes). |
get_velocityShows how many tasks a project opened and completed each week.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project numeric ID or slug. |
weeks | integer | No | Number of weeks to include (1-26, default 4). |
list_conversation_findingsLists what email conversations turned up for a project: confirmed findings and suggestions nobody has looked at yet.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | The project. ID or slug. |
status | string | No | suggested, confirmed (default), rejected or expired. |
kind | string | No | action_item, bug, issue, question_to_us, our_promise, they_owe or approval. |
since | string | No | ISO 8601 datetime — only findings created at or after this moment. |
predict_completion_dateEstimates when a milestone will finish, based on recent progress.
| Parameter | Type | Required | What it is |
|---|---|---|---|
milestone_id | string | Yes | Milestone numeric ID or slug. |
searchSearches tasks, comments, projects, milestones, blueprints and guardrails.
| Parameter | Type | Required | What it is |
|---|---|---|---|
query | string | Yes | Search term (2-200 chars). Treated as a literal substring; SQL LIKE wildcards are escaped. |
types | array | No | Subset of result buckets to populate. Defaults to all six. Allowed: tasks, comments, projects, milestones, blueprints, guardrails. |
limit | integer | No | Per-type result cap. Defaults to 20, max 50. |
Projects and milestones
Look up projects and milestones, and start new projects.
Things you can ask
- “List my active projects.”
- “Start a new project for Acme called "Spring campaign".”
- “Add a milestone called "Launch" to the Portal project.”
create_milestoneCreates an empty milestone in a project.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Target project. Numeric ID or slug. |
name | string | Yes | Milestone name (1-200 chars). |
description | string | No | Optional summary (markdown, max 10000). |
due_date | string | No | Optional target date (ISO 8601 date, e.g. 2026-10-31). |
parent_id | integer | No | Optional parent milestone. Must live in the same project. |
for_agents | boolean | No | List this milestone as a plan for agents to approve (default true). Pass false for work not meant for agents; switch later with update_milestone. Ignored while the agent orchestrator is off. |
create_projectStarts a new project for a client. You are added as its lead.
| Parameter | Type | Required | What it is |
|---|---|---|---|
name | string | Yes | Project name (3–255 characters). |
client_id | integer | Yes | Client this project is for. |
description | string | No | What the project is (max 5000 characters). |
status | string | No | draft, planning, active, on_hold, completed or cancelled. Default draft. |
type | string | No | Project type, e.g. website, web_app, email_campaign. Default website. |
priority | string | No | low, medium, high or critical. Default medium. |
job_number | string | No | Leave out to take the next number in the pattern. |
brand | string | No | Brand this work is for. |
default_department_id | integer | No | Department the work belongs to. Ignored when org_team_id names a team parented by a department — that team's department wins. |
org_team_id | integer | No | The project's team, from Settings > Teams in this organization. Its people join the project. |
budget | number | No | Budget in the organization currency. |
start_date | string | No | Start date, YYYY-MM-DD. |
end_date | string | No | End date, YYYY-MM-DD. Not before the start. |
create_time_boxPlans a new cycle in a project. Starting and completing it are done in the app.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
name | string | Yes | Name of the cycle (max 120 characters). |
goal | string | No | Optional goal: what this cycle is for. |
starts_on | string | Yes | First day, YYYY-MM-DD. |
ends_on | string | Yes | Last day, YYYY-MM-DD, on or after starts_on. |
get_checklistReads one checklist run: its items, each department's sign-off and the milestone it gates. Nothing can be signed through it.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | Checklist run id. |
get_projectReads one project, with task counts and recent activity.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | Project numeric ID or slug. |
list_checklist_blockersLists what is holding up open checklist runs: departments that have not signed off and items on hold.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Only runs on this project. ID or slug. |
milestone_id | string | No | Only runs gating this milestone id. |
list_checklistsLists the checklist runs you can see, newest first, with their progress.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Only runs on this project. ID or slug. |
milestone_id | string | No | Only runs gating this milestone id. |
status | one of: not_started, in_progress, completed, blocked, cancelled | No | Only runs with this status. Omit for all. |
list_milestonesLists milestones, optionally for one project.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | integer | No | Optional project filter. |
list_projectsLists the projects you can see, with open task counts.
| Parameter | Type | Required | What it is |
|---|---|---|---|
active | boolean | No | When true (default), excludes projects in completed/cancelled status. |
search | string | No | Substring match against project name or job number. |
list_time_boxesLists the cycles of a project, such as sprints, with their dates, goal and how many tasks each holds.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
state | one of: planned, active, completed | No | Only cycles in this state. Omit for all. |
list_usersLists the people in your organization with their names and roles. Email addresses are never shared.
| Parameter | Type | Required | What it is |
|---|---|---|---|
role | one of: owner, executive, team_lead, ic, bot | No | Optional. Filter by organization role. |
include_bots | boolean | No | When false (default), excludes bot users. |
move_tasks_to_time_boxMoves open tasks into a cycle of their project, or back to the backlog.
| Parameter | Type | Required | What it is |
|---|---|---|---|
time_box_id | string | Yes | The cycle to move the tasks into (its id, from list_time_boxes), or "backlog". |
task_ids | array | Yes | The tasks to move: numeric ids, slugs or task keys such as PB-184 (1-100). |
update_milestoneChanges a milestone. Only the fields you send are changed.
| Parameter | Type | Required | What it is |
|---|---|---|---|
milestone_id | integer | Yes | Milestone to update, from list_milestones. |
name | string | No | Updated name (1-200 chars). |
description | string | No | Updated summary (markdown). Pass null to clear. |
due_date | string | No | Updated target date (ISO 8601 date). Pass null to clear. |
status | one of: pending, in_progress, completed, cancelled | No | Updated status. Moving to completed stamps the completion date. |
parent_id | integer | No | Move under this parent milestone, in the same project. Pass null to clear. |
force | boolean | No | Set true to complete a milestone that still has open tasks. Without it, status: completed is refused and the open tasks are named. |
for_agents | boolean | No | true lists this milestone under "Plans to approve" on the Agents page; false withdraws a plan not yet approved. Never approves. Ignored while the agent orchestrator is off. |
Timelines
Read and edit project timelines, or draft one from a brief.
Things you can ask
- “What is coming up on my project timelines in the next two weeks?”
- “Add a review row to the Portal timeline for next Friday.”
- “Draft a timeline for the Acme project from its brief.”
create_timeline_entryAdds a row to a project timeline, such as a milestone, review or delivery.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
timeline_id | integer | No | Timeline of the project to add the row to (see list_timelines). Omit for the first timeline you can see. |
title | string | Yes | Row title (2–255 chars). |
description | string | No | Optional notes (max 5000 chars). |
entry_type | one of: milestone, review, delivery, decision, meeting | No | Default delivery. |
start_date | string | No | Start date, YYYY-MM-DD. |
due_date | string | No | Due/finish date, YYYY-MM-DD. Not before start_date. |
milestone_id | integer | No | Project milestone this row belongs to. |
parent_id | integer | No | Phase row (is_group) to put this row under. |
is_group | boolean | No | True for a phase row that groups other rows. |
effort_hours | number | No | Planned effort in hours. |
assignee | string | No | Main assignee: "me" or a user ID. |
other_assignee_ids | array | No | Co-assignee user IDs. |
department_ids | array | No | Department IDs to give this row to: active departments you can see. Null is the same as omitting it. |
predecessors | array | No | Rows that must happen first: [{id, type (FS|SS|FF|SF, default FS), lag, lag_unit (days|weeks)}]. |
generate_timelineDrafts a new timeline from a brief. It asks you a few questions first, and the draft is for you to review.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
timeline_id | integer | No | Timeline the draft is for (see list_timelines); checked for access and used for the review link. Omit for the first timeline you can write to. |
brief | string | No | What the project is: scope, goals, deliverables (max 20000 chars). |
project_doc_id | integer | No | A Brief or SOW of this project to plan from. |
answers | object | No | Answers keyed by question id from step 1, e.g. {"start_date": "2026-10-05", "review_rounds": "2 rounds, 3 days each"}. |
skip_questions | boolean | No | Draft now with what is known, without asking. |
get_timelineReads a project's timeline and how far along it is.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
timeline_id | integer | No | One of the project's timelines (see list_timelines). Omit for the first timeline you can see. |
include_completed | boolean | No | Include done rows in entries. Default true. Status always counts every row. |
get_timeline_baseline_varianceShows how far a timeline has slipped against its pinned baseline version, in working days.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
timeline_id | integer | No | One of the project's timelines (see list_timelines). Omit for the first timeline you can see. |
list_timeline_changesLists shared timeline changes that affect you or a team you lead, with squeezes, workload changes, reasons and concerns.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Project ID or slug. Omit for every project you can see. |
team | string | No | A department or org team you lead: "department:<id>" or "team:<id>". Lists the sets that touch its members, whether or not you were told about them. |
since | string | No | Shared on or after this date (YYYY-MM-DD, organization time). |
until | string | No | Shared on or before this date (YYYY-MM-DD, organization time). |
squeezes_only | boolean | No | Only sets with a squeeze (a row cut short for somebody other than the person who changed it). |
limit | integer | No | How many sets, newest first (default 20, max 50). |
list_timelinesLists the timelines of a project, or of every project you can see, with whether each is a draft.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Only this project (ID or slug). |
state | one of: draft, published | No | Only timelines in this state. |
list_upcoming_timelineLists timeline rows starting soon, plus overdue ones, across your projects.
| Parameter | Type | Required | What it is |
|---|---|---|---|
days | integer | No | Look-ahead window in days (1–90). Default 14. |
include_overdue | boolean | No | Include open rows whose start date has passed. Default true. |
project_id | string | No | Only this project (ID or slug). |
timeline_id | integer | No | Only this timeline; needs project_id (see list_timelines). |
assignee | string | No | "me" or a user ID. Matches the main assignee and co-assignees. |
limit | integer | No | Max rows (1–200). Default 50. |
update_timeline_entryChanges a timeline row: dates, name, who it is assigned to, what it depends on, or whether it is done.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | Timeline row ID. |
timeline_id | integer | No | Optional guard: the timeline the row is on (see list_timelines). Refused as not found if the row is on another one. |
title | string | No | New title (2–255 chars). |
description | string | No | New notes. |
entry_type | one of: milestone, review, delivery, decision, meeting | No | Entry type. |
start_date | string | No | YYYY-MM-DD, or null to clear. |
due_date | string | No | YYYY-MM-DD, or null to clear. |
milestone_id | integer | No | Milestone ID, or null to clear. |
parent_id | integer | No | Phase row ID, or null for top level. |
effort_hours | number | No | Effort hours. |
assignee | string | No | "me", a user ID, or "" to clear the main assignee. |
other_assignee_ids | array | No | Replaces the co-assignees. |
department_ids | array | No | Replaces the departments you can see on this row; [] clears them; omit or null leaves them. Departments you cannot see are never touched; archived ones are refused. |
predecessors | array | No | Replaces the predecessors; [] clears them. Same rules as create_timeline_entry: no phase row, parent, ancestor or subtask of this row, and no loops. |
completed | boolean | No | true = done today (or on completed_on); false = open again. |
completed_on | string | No | YYYY-MM-DD done date when completed=true. Default today. |
Hours and timesheets
Log your own time and see hours against a project.
Things you can ask
- “Show me my timesheet for this week.”
- “Log 3 hours on the Portal project for yesterday.”
- “How many hours has the team logged on Portal compared with the estimate?”
approve_timesheetApproves a timesheet week that is waiting for approval. Nobody can approve their own week.
| Parameter | Type | Required | What it is |
|---|---|---|---|
timesheet_id | integer | Yes | The timesheet week id. |
get_my_timesheetShows your timesheet for a week, with your total against your expected hours.
| Parameter | Type | Required | What it is |
|---|---|---|---|
week_of | string | No | Any date in the week, YYYY-MM-DD. Default: this week. |
get_project_hoursShows hours logged on a project by everyone, against the estimate. You need permission to see other people's time.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
weeks | integer | No | Weeks of history (1–26). Default 12. |
phase | string | No | Only this phase in the per-person breakdown. |
list_timesheets_awaiting_approvalLists the timesheet weeks waiting for your approval.
log_timeLogs your own hours on a project for one day. Sending it again replaces the value.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Project ID or slug. Optional when task_id is given (the task's project is used). |
task_id | string | No | Optional task the hours were for: numeric ID or key such as PB-123. |
date | string | Yes | Day worked, YYYY-MM-DD. |
hours | number | Yes | Hours for that day (0–24). 0 removes the entry. |
phase | string | No | Phase or estimate line name. Default "General". |
notes | string | No | Short note saved with the hours (max 2000 chars). |
send_back_timesheetSends a timesheet week back to the person with a reason, so they can change their hours.
| Parameter | Type | Required | What it is |
|---|---|---|---|
timesheet_id | integer | Yes | The timesheet week id. |
reason | string | Yes | Why it is sent back; the person sees this (max 500 chars). |
submit_timesheetSubmits your own timesheet for a week, which locks it. It asks for your confirmation first.
| Parameter | Type | Required | What it is |
|---|---|---|---|
confirm | boolean | Yes | Must be true: the person agreed to submit and lock the week. |
week_of | string | No | Any date in the week, YYYY-MM-DD. Default: this week. |
Briefs and SOWs
Create and draft briefs, SOWs, change orders and budgets, then send them for review.
Things you can ask
- “Start a brief for the Acme project from our standard template.”
- “Draft the SOW for Portal and ask me anything you need first.”
- “Send the Portal SOW to Lynn and Sam for review.”
answer_project_doc_questionsSends your answers to the questions asked while drafting a document.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | Document ID. |
answers | object | No | Question key → the user's answer. |
skip | boolean | No | Skip these questions and start writing. |
create_project_docCreates an empty draft document for a project from a template.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
template_id | integer | Yes | Template from list_project_doc_templates. |
title | string | No | Document title. Default: the template's own. |
intake | object | No | Answers the template asks for, key → value. |
related_project_doc_id | integer | No | For a change order: the SOW it amends. |
draft_project_docAsks ProjectBrain to write the sections of a draft document. It may ask you questions first.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | Document ID. |
skip_questions | boolean | No | Start writing without asking questions first. |
get_project_docReads one document, section by section. Pricing is hidden unless you chose to share it with this connection.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | Document ID. |
list_project_doc_templatesLists the templates your organization can start a document from.
| Parameter | Type | Required | What it is |
|---|---|---|---|
kind | one of: brief, sow, change_order, budget | No | Only templates of this kind. |
list_project_docsLists the briefs, SOWs, change orders and budgets you can see.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Only this project (ID or slug). |
kind | one of: brief, sow, change_order, budget | No | Kind. |
status | one of: draft, in_review, approved_internal, sent_to_client, approved_client | No | Status. |
limit | integer | No | Max documents (1–100). Default 25. |
submit_project_doc_for_reviewSends a draft document to colleagues for review. You choose the reviewers first.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | Document ID. |
reviewer_ids | array | No | User IDs who should review it. |
message | string | No | Note for the reviewers (max 1000 chars). |
update_project_doc_sectionReplaces the text of one section of a draft document. It refuses if someone else changed it meanwhile.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | Document ID. |
section_key | string | Yes | Section key from get_project_doc. |
expected_revision | integer | Yes | working_revision from get_project_doc. |
text | string | No | New content as plain text or simple markdown (max 50000 chars). |
html | string | No | New content as HTML, instead of text. |
My day and meetings
Catch up, plan your day and turn meetings into action items.
Things you can ask
- “What should I do today?”
- “Catch me up on what changed since yesterday.”
- “Here are my meeting notes. Summarise them and save the action items.”
catch_me_upSummarises what changed for you since a given time: new tasks, comments, late timeline rows, documents to review and unread notifications.
| Parameter | Type | Required | What it is |
|---|---|---|---|
since | string | No | ISO 8601 time to compare against, e.g. 2026-09-19T08:00:00Z. Default: 24 hours ago. At most 30 days back. |
convert_action_item_to_taskTurns one of your action items into a task and closes the action item.
| Parameter | Type | Required | What it is |
|---|---|---|---|
action_item_id | integer | Yes | Action item ID (see get_my_day). |
project_id | string | No | Project for the task. Default: the action item's project. |
assignee | string | No | "me", a user ID, or leave empty for nobody. |
title | string | No | Different task title. Default: the action item's title. |
get_meeting_prepReads the prep notes for one of your meetings, or builds them if there are none.
| Parameter | Type | Required | What it is |
|---|---|---|---|
meeting_id | integer | Yes | Meeting (calendar event) ID from list_meetings. |
generate | boolean | No | Build the prep when there is none yet. |
get_my_dayAnswers "what should I do today?" with your plan, due tasks, meetings and timeline rows.
| Parameter | Type | Required | What it is |
|---|---|---|---|
date | string | No | Day to look at, YYYY-MM-DD. Default: today. |
list_meetingsLists your own meetings in a date range.
| Parameter | Type | Required | What it is |
|---|---|---|---|
from | string | No | First day, YYYY-MM-DD. Default today. |
to | string | No | Last day, YYYY-MM-DD. Default 7 days from today. Max 92 days after from. |
limit | integer | No | Max meetings (1–100). Default 50. |
save_action_itemsSaves action items from a meeting, up to 20 at a time.
| Parameter | Type | Required | What it is |
|---|---|---|---|
meeting_id | integer | Yes | Meeting (calendar event) ID. |
items | array | Yes | [{title, assignee_name?, due_date?, description?}] |
summarize_meetingTurns meeting notes or a transcript into a summary, decisions and suggested action items. Nothing is saved.
| Parameter | Type | Required | What it is |
|---|---|---|---|
meeting_id | integer | Yes | Meeting (calendar event) ID from list_meetings. |
notes | string | Yes | Notes or transcript (max 50000 chars). |
Wiki
Search and read wiki pages, and write drafts.
Things you can ask
- “Search the wiki for how we run client handovers.”
- “Write a draft wiki page called "Release checklist" from these notes.”
create_wiki_pageCreates a wiki page from your notes. It is always a draft, and an assistant never publishes it.
| Parameter | Type | Required | What it is |
|---|---|---|---|
wiki_id | integer | Yes | Wiki to create the page in (see search_wiki). |
title | string | Yes | Page title (2–200 chars). |
markdown | string | No | Page content as markdown (max 100000 chars). |
parent_id | integer | No | Put the page under this page. |
submit_for_approval | boolean | No | Send it for approval right away. |
get_wiki_pageReads one wiki page as text.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | Wiki page ID (see search_wiki). |
published | boolean | No | Read the published version instead of the newest draft. |
search_wikiSearches the wiki pages you can see.
| Parameter | Type | Required | What it is |
|---|---|---|---|
query | string | Yes | What to look for. |
wiki_id | integer | No | Only inside this wiki. |
limit | integer | No | Max results (1–50). Default 20. |
update_wiki_pageReplaces a wiki page's content as a new draft. It refuses if someone else edited the page meanwhile.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | Wiki page ID. |
revision_id | integer | Yes | revision_id from get_wiki_page. |
markdown | string | No | New content as markdown (max 100000 chars). |
title | string | No | New title. |
summary | string | No | What changed (shown in the page history). |
submit_for_approval | boolean | No | Send the page for approval after saving. |
Decisions and issues
Keep the decision journal and the issues and risks list.
Things you can ask
- “Log a decision on Portal: we are launching in two phases, because the checkout is not ready.”
- “Raise a high-severity risk on Acme: the client has not sent the brand files.”
- “What decisions have we already made about the Portal login?”
list_decisionsLists the decisions recorded for a project, newest first.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
include_superseded | boolean | No | Also show decisions that were replaced later. |
limit | integer | No | Max decisions (1–100). Default 25. |
list_issuesLists the issues and risks on a project, with counts by status and severity.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
status | one of: predicted, active, resolved, dismissed | No | Status. |
severity | one of: critical, high, medium, low, info | No | Severity. |
limit | integer | No | Max issues (1–100). Default 25. |
log_decisionWrites a decision into a project's decision journal, with why it was made.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
title | string | Yes | The decision in one line. |
description | string | No | What exactly was decided. |
rationale | string | No | Why this was decided. |
decision_type | one of: technical, business, design, process | No | Default business. |
alternatives_considered | array | No | Other options that were weighed. |
stakeholders | array | No | People or roles involved. |
raise_issueRaises an issue or risk on a project, with its severity and owner.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
title | string | Yes | The issue in one line. |
description | string | No | What is happening and why it matters. |
severity | one of: critical, high, medium, low, info | No | Default medium. |
phase | one of: discovery, planning, execution, testing, delivery, post_launch | No | Project phase it affects. Default execution. |
responsible_user_id | integer | No | Who works on it. |
impact_areas | array | No | What it hurts: deliverability, client_satisfaction, budget, timeline, quality, team_morale. |
root_causes | array | No | Why it happened: scope_creep, communication_gap, resource_constraint, technical_debt, external_dependency. |
tags | array | No | Short labels. |
Standups and blockers
Read and write standups, and track blockers.
Things you can ask
- “Post my standup for Portal: I finished the header, I am starting the footer, nothing is blocking me.”
- “Show me today's Portal standup.”
- “Raise a blocker: I am waiting on the client for brand files. Then show me every open blocker.”
clear_blockerMarks a blocker as no longer blocking anyone.
| Parameter | Type | Required | What it is |
|---|---|---|---|
blocker_id | integer | Yes | Blocker ID (see list_open_blockers). |
get_standupReads a project's standup: who was there and what each person wrote.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
date | string | No | Standup day, YYYY-MM-DD. Default the latest one. |
list_open_blockersLists every open blocker you can see, oldest first.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Narrow to one project. ID or slug. |
mine | boolean | No | Only blockers you are the owner of. |
post_standupAdds your own items to a project's daily standup.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
yesterday | array | No | What you did last working day. |
today | array | No | What you are doing today. |
blockers | array | No | What is blocking you. |
date | string | No | Standup day, YYYY-MM-DD. Default today. |
raise_blockerRaises a tracked blocker on a standup, with an owner or a note about who you are waiting on.
| Parameter | Type | Required | What it is |
|---|---|---|---|
standup_id | integer | Yes | Standup ID (see get_standup). |
description | string | Yes | What is stopping you. |
owner_user_id | integer | No | Who is on it. Omit if nobody is yet. |
waiting_on | string | No | Who outside the team you are waiting on. Not with owner_user_id. |
blocked_task_id | integer | No | The task this is blocking, if there is one. |
Team capacity and estimates
See how loaded the team is, who has room, and what a project was estimated at.
Things you can ask
- “Who has room to take on 20 hours of design work next month?”
- “How loaded is the team over the next six weeks?”
- “How do the logged hours on Portal compare with its estimate?”
find_available_peopleFinds who has room to take on work in a date range.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project the work belongs to (ID or slug). |
start | string | No | First day, YYYY-MM-DD. Default today. |
end | string | No | Last day, YYYY-MM-DD. Default 4 weeks after the start. |
hours | number | No | Only people with at least this many free hours in the range. |
skill | string | No | Only people with this skill. |
limit | integer | No | How many people to return (1–20). Default 5. |
generate_estimateStarts drafting an estimate for a project from its brief, SOW and timeline. It is always a draft for a person to review.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
inputs | array | No | Which found inputs to read from: brief, sow, timeline, timeline_template. Default: every input found for this project. |
rate_card_id | integer | No | A rate card belonging to the project's client. Default: the client's newest effective card. |
get_estimateReads a project's estimate and the hours logged against it.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
estimate_id | integer | No | A particular estimate. Default the newest one. |
get_utilizationReads the utilization report for a period, as the Utilization page shows it to you.
| Parameter | Type | Required | What it is |
|---|---|---|---|
period | one of: week, month, quarter, year, custom | No | week, month (default), quarter, year (fiscal) or custom (needs from and to). |
anchor | string | No | A date (YYYY-MM-DD) inside the period. Default: today. |
from | string | No | Custom period start, YYYY-MM-DD. |
to | string | No | Custom period end, YYYY-MM-DD (at most 366 days after from). |
group_by | one of: person, team, department, subsidiary, role, client, brand | No | Default: person. |
filters | object | No | Optional: team, department, subsidiary, client, brand (ids), role (role key), home (brand id or "shared"). |
include | array | No | Extra sections: bench, unfilled_demand, forecast. |
get_workloadShows how loaded the team is week by week. You need permission to view workload.
| Parameter | Type | Required | What it is |
|---|---|---|---|
weeks | integer | No | Weeks ahead (1–26). Default 8. |
start | string | No | First day, YYYY-MM-DD. Default today. |
person | string | No | Only people whose name contains this. |
over_only | boolean | No | Only people over capacity in some week. |
Code links
Link tasks to pull requests and issues, and merge a linked pull request.
Things you can ask
- “Link PB-184 to this pull request.”
- “Which pull requests linked to my tasks are ready to merge?”
link_task_to_prAttaches a pull request or issue link to a task.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
pr_url | string | Yes | Full URL of the PR or issue (max 500 chars). |
provider | one of: github, gitlab, bitbucket, other | No | Provider slug: github | gitlab | bitbucket | other. Auto-detected from URL if omitted. |
display_label | string | No | Short human-readable label, e.g. "PR #42". Auto-derived if omitted. |
list_ready_to_mergeLists tasks waiting for review whose pull request is ready to merge.
| Parameter | Type | Required | What it is |
|---|---|---|---|
milestone_id | integer | No | Only tasks in this milestone. |
project_id | integer | No | Only tasks in this project. |
list_task_linksLists the pull requests and issues linked to a task.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
map_repositoryMaps a GitHub or GitLab repository to a project so its pull requests and issues reach that project's tasks.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | The ProjectBrain project, by numeric id or slug. |
repository | string | Yes | The git remote URL (https or ssh), or a path such as owner/name or group/sub/project. |
host | one of: github, gitlab | No | github or gitlab. Only needed when a bare path exists on both. |
mention_in_prQueues a comment to be posted on a linked pull request or issue.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
pr_url | string | Yes | URL of the PR/issue — must already be linked to this task. |
body | string | Yes | Body of the mention or comment (markdown, max 4000 chars). |
merge_prMerges the GitHub pull request linked to a task. You must also be allowed to merge in your organization.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
link_id | integer | Yes | The task_external_link id of the pull request to merge (from link_task_to_pr or list_task_links). |
merge_method | one of: merge, squash, rebase | No | GitHub only: merge | squash | rebase. Defaults to the first method GitHub allows for this repository. Leave it out for a GitLab merge request. |
unlink_task_from_prRemoves a pull request or issue link from a task. Nothing changes on GitHub or GitLab.
| Parameter | Type | Required | What it is |
|---|---|---|---|
task_id | string | Yes | Task numeric ID, slug, or task key such as PB-184. |
link_id | integer | Yes | The id of the link to remove, as returned by list_task_links. |
Agent work queue
The tools an AI agent uses to take approved tasks, report progress and hand work back. See the Agent orchestration guide.
Things you can ask
- “Take the next ready task and tell me what it involves.”
- “Check in on the task you are working on and say what you are doing now.”
- “You are stuck on a decision. Ask me the question and wait for my answer.”
approve_tasksApproves the tasks or plans a person said yes to, from the list the assistant showed them.
| Parameter | Type | Required | What it is |
|---|---|---|---|
approval_token | string | Yes | The approval_token list_pending_approvals or submit_plan returned. |
task_keys | array | No | Task keys to approve, from approve_with, e.g. ["PB-123"]. A task in a project with no key prefix is named by its numeric id. |
milestone_ids | array | No | Milestone (plan) ids to approve whole. |
ask_questionAsks a person a question about the task and pauses the work until they answer.
| Parameter | Type | Required | What it is |
|---|---|---|---|
claim_token | string | Yes | The token next_task or resume_claims gave you. |
question | string | Yes | What you need a person to decide, in plain language. |
options | array | No | Optional. For a closed choice, 2-5 choices the person can pick from. A plain string per choice also works. Leave it out for an open question. |
recommended | integer | No | Required whenever options is given: the 0-based index in options of the choice you recommend. Ignored for a question without options. |
waiting_on | array | No | Optional. Up to 20 task keys (SG-74) or pull request URLs this question waits on. Ones that name no task you can see are dropped. |
check_inTells ProjectBrain the agent is still working on its task, and returns any new instructions.
| Parameter | Type | Required | What it is |
|---|---|---|---|
claim_token | string | Yes | The token next_task or resume_claims gave you. |
step | string | No | What you are doing now, in a few words. |
note | string | No | Anything worth recording about progress. |
publish | boolean | No | Also post the note as a comment on the task. |
effort | one of: low, medium, high | No | Your sizing of this task (low/medium/high), so a worker can be started on a cheaper model. Ignored when a human already set the effort. |
worker_model | string | No | The model you started a worker on for this task. |
model | string | No | Report model, tokens_in and tokens_out (running totals for this task) so the /agents Activity panel can show usage and cost. The model you are running as. |
tokens_in | integer | No | Input tokens used on this task so far: a running total, not the change since your last check-in. |
tokens_out | integer | No | Output tokens used on this task so far: a running total, not the change since your last check-in. |
complete_claimFinishes a claimed task and hands it to a person for review, with proof of the work.
| Parameter | Type | Required | What it is |
|---|---|---|---|
claim_token | string | Yes | The token next_task or resume_claims gave you. |
summary | string | Yes | What you did, in plain language. |
tests_output | string | No | Raw test output, including the Tests: summary line. Required for code tasks; may be left out when the brief says needs_tests: false. |
criteria_map | array | No | One entry per acceptance criterion the brief listed: {ac_id, test, result}. result must be passed for the criterion to count as covered. |
files_changed | array | No | Paths of every file you changed, relative to the repository root. |
pr_url | string | No | The pull request URL for this work. Required for code tasks. |
evidence_attachment_ids | array | No | Ids of attachments already on this task (see get_task_attachments), proving UI work. Required for UI tasks. |
qa_checklist | string | No | Markdown, numbered step-by-step manual QA checklist for a person (where to go, what to click, what they should see, edge cases). Required when the milestone has auto-merge on (the call is refused without it); a "QA: <title>" task is made from it. Ignored otherwise. |
model | string | No | Report model, tokens_in and tokens_out (running totals for this task) so the /agents Activity panel can show usage and cost. The model you are running as. |
tokens_in | integer | No | Total input tokens used on this task. Replaces any total sent with check_in. |
tokens_out | integer | No | Total output tokens used on this task. Replaces any total sent with check_in. |
list_pending_approvalsLists the plans and tasks waiting for a person to approve them for agents.
| Parameter | Type | Required | What it is |
|---|---|---|---|
milestone_id | integer | No | Only this milestone. |
project_id | integer | No | Only milestones and tasks in this project. |
move_to_backlogMoves a plan to the backlog when a person asks, so agents stop picking up its tasks.
| Parameter | Type | Required | What it is |
|---|---|---|---|
milestone_id | integer | Yes | The milestone to move, e.g. 207 for MS-207. |
reason | string | Yes | Why, in the person's own words where they gave them (3–500 characters). |
until | string | No | Optional date (YYYY-MM-DD) after today when it comes back by itself. Leave it out for "until I put it back". |
next_taskClaims the next approved task that is ready and returns its brief.
| Parameter | Type | Required | What it is |
|---|---|---|---|
worker_label | string | Yes | A name for this worker, unique among your workers (1-120 chars). |
milestone_id | integer | No | Only claim work in this milestone. |
project_id | integer | No | Only claim work in this project. |
task_id | string | No | Only claim this one task (numeric id or key such as PB-123). When it cannot be claimed you are told why, and no other task is claimed. |
role | string | No | The kind of work the agent wants to take on. |
session_id | string | No | Your session id, so resume_claims can find this claim after a restart. |
release_claimGives a claimed task back without finishing it.
| Parameter | Type | Required | What it is |
|---|---|---|---|
claim_token | string | Yes | The token next_task or resume_claims gave you. |
reason | string | Yes | Why you are giving it back. |
notes | string | No | What the next attempt should know: what you tried, where you stopped. |
report_findingFiles something found along the way as its own task, waiting for a person to approve it.
| Parameter | Type | Required | What it is |
|---|---|---|---|
source_task_id | string | Yes | The task you were working on when you found this. Numeric ID, slug, or task key such as PB-184. |
title | string | Yes | A short title for the new task (1-200 chars). |
finding | string | Yes | What you found, in plain language. |
evidence | string | Yes | What shows this is real: an error, a log line, a reproduction. |
severity | string | Yes | One of: fix_now, fix_soon, monitor. |
category | string | Yes | A short label for the kind of finding, e.g. "security", "bug", "docs" (max 40 chars). Used to pick a task type when task_type_id is not given. |
done_looks_like | string | Yes | What a finished fix looks like, so it can stand alone. |
file | string | No | The file where you found it, if there is one. |
commit | string | No | The commit where you found it, if there is one. |
task_type_id | integer | No | The new task's type, from list_task_types. Takes precedence over category. Left out, the type is matched from category against the organization's task types, falling back to its generic task type. |
labels | array | No | Label ids (from list_labels that are org-wide or in the source task's project) to attach to the new task — pass ids, do not describe the labels in category or finding text. category is also matched case-insensitively against an existing label's name, from the same org-wide-or-same-project set, and that label is attached too, merged with these ids; no label is ever created. |
force | boolean | No | File it even though a likely duplicate exists. Only when you are sure it is a different finding; the new task records it. |
effort_size | one of: xs, s, m, l, xl | No | Optional effort sizing token for the new task: one of xs, s, m, l, xl. |
resume_claimsAfter a restart, gets back the tasks this connection still has claimed.
| Parameter | Type | Required | What it is |
|---|---|---|---|
session_id | string | No | Only claims made with this session id. |
worker_label | string | No | Only claims made by this worker. |
whats_waiting_on_meAnswers "what needs me?" with plans to approve, questions from agents, work to accept and pull requests to merge.
whats_waiting_on_meAnswers "what needs me?" with plans to approve, questions from agents, work to accept and pull requests to merge.
Goals
Read your organization's goals and record check-ins on key results.
Things you can ask
- “Which goals are at risk this quarter?”
- “Record a check-in of 42 on the "Signed contracts" key result.”
get_goalReads one goal with its linked projects and milestones, child goals and key results.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | Goal id. |
list_goalsLists the goals you can see, with their status, owner and a progress line in words.
| Parameter | Type | Required | What it is |
|---|---|---|---|
period_type | one of: quarter, half, year, custom | No | Only goals of this period type. Omit for all. |
status | one of: on_track, at_risk, off_track, done | No | Only goals with this status. Omit for all. |
owner_id | string | No | Only goals owned by this user id. Omit for all. |
parent_id | string | No | Only children of this goal id. Omit to list every goal (top-level and children). |
record_check_inRecords a check-in on a key result, with a number and an optional note.
| Parameter | Type | Required | What it is |
|---|---|---|---|
key_result_id | string | Yes | Key result id. |
value | number | Yes | The new value. |
note | string | No | Optional note, max 2000 characters. |
Releases and deploys
See what was deployed, what each release holds and what is live in each environment.
Things you can ask
- “What is live on staging for the Portal project right now?”
- “Which tasks in the 2.4 release have not reached production yet?”
add_release_noteAdds a note to a release's discussion. It cannot sign off, promote or roll back a release.
| Parameter | Type | Required | What it is |
|---|---|---|---|
release_id | integer | Yes | Tracked release numeric ID (from list_releases tracked_releases). |
body | string | Yes | Plain-text note, 1-2000 chars. |
get_environment_statusShows, for each environment, the release that is live there now.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Optional project ID or slug to narrow to one project. |
get_releaseReads one release with every task it holds and whether each has reached production.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | Release (milestone) numeric ID. |
list_deploymentsLists deployments, newest first, with the tasks each one carried.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Optional project ID or slug — narrows to that project's mapped repos. |
environment | string | No | Optional environment name or slug, e.g. "production". |
since | string | No | Optional ISO 8601 datetime — only deploys at or after this. |
limit | integer | No | Max rows, default 20, max 50. |
list_releasesLists the releases of a project, newest first, with their version and task counts.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | Project ID or slug. |
released | boolean | No | Filter to released (true) or not-yet-released (false) milestones. Omit for both. |
Workflows
Look up workflows and their runs, and propose a new workflow for a person to save.
Things you can ask
- “Why did the last run of the client approval workflow fail?”
- “Propose a workflow that assigns new bug reports to the team lead.”
get_workflow_runReads one workflow run, step by step, with what each step did.
| Parameter | Type | Required | What it is |
|---|---|---|---|
run_id | string | Yes | The workflow run id (from start_workflow). |
list_workflowsLists the workflows you can see, with their status and what starts them.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | No | Only workflows scoped to this project id. Omit for all. |
propose_workflowProposes a workflow that a person saves as a draft with one click. Nothing is created or published until they do.
| Parameter | Type | Required | What it is |
|---|---|---|---|
name | string | Yes | Workflow name (max 255 chars). |
definition | object | Yes | The workflow graph: {version: 2, trigger: {event, ...}|null, nodes: [...], terminal: {...}}. |
project_id | string | No | Optional project id or slug; omit for an organization-wide workflow. |
description | string | No | Optional one-paragraph description (max 1000 chars). |
Blueprints
Draft a reusable procedure for review.
Things you can ask
- “Draft a blueprint for our website launch from the steps we followed on Acme.”
draft_blueprintWrites a reusable procedure as a draft for review. An assistant cannot activate a blueprint or apply it to a project.
| Parameter | Type | Required | What it is |
|---|---|---|---|
title | string | Yes | What this procedure is, in one line. |
description | string | No | When to reach for it and what it is for. |
steps | array | No | The procedure, in order (max 50). Each entry is either a plain title or an object {title (required), description}. |
checklist | array | No | Things to verify (max 50). Each entry is a plain string. |
resources | array | No | Links worth having to hand (max 20). Each entry is {label, url}. |
applicable_project_types | array | No | Project types this suits, by key (see list_projects for the vocabulary). |
applicable_phases | array | No | Project phases this suits: planning, execution, delivery, post_launch. |
trigger_conditions | array | No | Optional conditions a project must meet for this Blueprint to be suggested once somebody activates it (max 20). Each entry is {field, operator, value}. field must be one of: project_type, project_status, project_priority, budget_band, has_start_date, has_end_date, days_until_deadline, open_issue_count, unresolved_issue_count, is_new_client, client_project_count, team_size, health_score_band, project_phase. operator is equals / not_equals for an enum or a boolean, and additionally greater_than / less_than / greater_than_or_equal / less_than_or_equal for a whole number. Anything else is dropped, not stored. |
Errors
Read the errors Amygdala has caught, and triage them.
Things you can ask
- “What new errors came in on Acme this week?”
- “Claim that checkout error and make a bug task for it.”
claim_errorTakes an error for yourself so it shows as assigned to you.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | The error (group) id from list_errors. |
create_task_from_errorMakes a bug task from an error, or returns the task it already has.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | The error (group) id from list_errors. |
get_errorReads one error, with its latest event, release and linked task.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | The error (group) id from list_errors. |
link_error_to_taskAttaches an existing task from the same project to an error.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | The error (group) id from list_errors. |
task_id | string | Yes | Task numeric ID, slug, or key such as PB-184. |
list_errorsLists the errors caught in your projects, with how often and how many people each hit.
| Parameter | Type | Required | What it is |
|---|---|---|---|
project_id | string | Yes | The project, id or slug. |
status | one of: unresolved, resolved, ignored, any | No | Which bucket. Default unresolved. |
range | one of: 24h, 14d, 30d | No | Counting window. Default 14d. |
environment | string | No | Only this environment. Omit for every non-ignored environment. |
search | string | No | Text in the title or location. |
has_task | boolean | No | true = only errors with a task, false = only without. |
assigned_to_me | boolean | No | Only errors whose task is assigned to you. |
sort | one of: recommended, last_seen, events | No | Default recommended. |
show_ignored_environments | boolean | No | Include environments the project ignores (local, testing). |
release | string | No | Only errors with an event in this release. |
level | string | No | Only this level (error, warning, fatal...). |
claimed | one of: any, me, claimed, unclaimed | No | Default any. |
tag | string | No | A tag as key:value. |
user | string | No | An exact affected user id or email. |
limit | integer | No | 1 to 100, default 50. |
resolve_errorMarks an error resolved, and moves its linked task to done.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | The error (group) id from list_errors. |
in_next_release | boolean | No | Resolve in the next release instead of now. |
snooze_errorSnoozes an error until a date you give, then it comes back on its own.
| Parameter | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | The error (group) id from list_errors. |
until | string | Yes | ISO 8601 date-time in the future, e.g. 2026-12-01T09:00:00Z. |
About this connection
Check who the assistant is acting as.
Things you can ask
- “Who are you connected as in ProjectBrain, and what are you allowed to do?”