beck
v1.6.1Project management for coding agents: record the approved plan, work the tasks, ask, hand off.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami
Return the identity behind this API token (token name/kind, mint permission, owner). Use to know how comments and progress will be attributed.
list_workspaces
List Beck workspaces this token can see. Tokens are org-scoped — this is not a default workspace. If the human named one, use only that id. If more than one and none named, ask. create_workspace only if they asked for a new one.
create_workspace
Create a workspace in the current org or personal account. Default: only when the human asked for a new workspace. If they named an existing one, bind to that instead. An empty bound workspace gets a prd document, not a second workspace. The human's prompt overrides this default.
| Parameter | Type | Description |
|---|---|---|
name * | string | Workspace name |
description | string | Optional description |
bind_workspace
Bind a Beck workspace to this git repo (the directory the agent runs in) so later calls can omit workspaceId. Do this once per repo after the human picks the workspace.
| Parameter | Type | Description |
|---|---|---|
workspaceId * | string | |
repoUrl | string | Git remote to bind. Defaults to this directory's origin. |
list_api_tokens
List API tokens for this account in the current org (names, prefixes, kind, mint permission). Never returns secrets. Use when staffing multi-bot channels.
create_api_token
Mint a new API token named for a bot (e.g. Coder, Reviewer). Requires a mint-capable coordinator token (Settings → Tokens). Returns the raw secret once — hand it only to that bot's private config. Worker tokens cannot mint.
| Parameter | Type | Description |
|---|---|---|
name * | string | Token display name — use the bot's name |
revoke_api_token
Revoke an API token by id. Owner only via API path.
| Parameter | Type | Description |
|---|---|---|
tokenId * | string | Token id from list_api_tokens |
list_tasks
List tasks in a workspace. Can filter by status, epic, or show icebox items.
| Parameter | Type | Description |
|---|---|---|
assigneeId | string | Filter by assignee user ID |
epicId | string | Filter by epic ID |
isIcebox | boolean | If true, list icebox items instead of backlog |
status | string | Filter by task status |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
get_task
Get full details of a task including description, acceptance criteria, and comments.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to retrieve |
start_task
Start working on a task. This assigns the task to you and changes status to 'started'. Use this before beginning implementation work.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to start |
comment | string | Optional comment to add when starting (e.g., your implementation approach) |
finish_task
Submit a task for review. Changes status to 'ready_for_review'. Pass progress to log what you did and finish in one call. Next step is accept_task / reject_task under the active autonomy mode (human_review, peer_review, or full).
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to finish |
comment | string | Older option: a plain completion comment. Prefer progress. |
progress | object | Handoff note for the reviewer, saved as a progress update with the status change. For blockers, use log_progress and don't finish. |
accept_task
Accept a ready_for_review task (marks completed). Follow autonomy mode: human_review → only if they asked; peer_review → reviewer/PM bot; full → allowed when the job brief said so. Unspecified mode → prefer human review.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to accept |
comment | string | Optional acceptance comment |
reject_task
Reject a ready_for_review task back to started. reason is required. Follow the same autonomy mode rules as accept_task.
| Parameter | Type | Description |
|---|---|---|
reason * | string | Why the task is being sent back |
taskId * | string | The task ID to reject |
list_comments
List all comments on a task.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID |
add_comment
Add a comment to a task. Use this to document progress, ask questions, or provide updates.
| Parameter | Type | Description |
|---|---|---|
content * | string | The comment text (supports markdown) |
taskId * | string | The task ID to comment on |
update_task
Update task details (title, type, points, tags, epic, description, blocked status, acceptance criteria, relevant files). Status cannot be set here — use start_task, finish_task, accept_task, or reject_task.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to update |
acceptanceCriteria | array | Updated acceptance criteria with completion status |
blockedReason | string | Reason for being blocked (required if isBlocked is true) |
description | string | New description (markdown) |
epicId | string | Move the task to this epic |
isBlocked | boolean | Whether the task is blocked |
points | number | Story points (1, 2, 3, 5, or 8) |
relevantFiles | array | Files relevant to this task. Paths must be relative to project root. |
tags | array | Replacement tag list |
title | string | New title |
type | string | Task type |
set_relevant_files
Set the relevant files for a task. Use this to record which files are important for the task, so future work sessions know where to look. Paths must be relative to project root.
| Parameter | Type | Description |
|---|---|---|
files * | array | Files relevant to this task |
taskId * | string | The task ID to update |
get_task_context
Get rich context for a task including epic spec, related tasks, comments, and activity. Use this when starting work on a task to understand the full context.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to get context for |
log_progress
Log a structured progress update for a task. Use this to document what you attempted, what succeeded, what failed, and any blockers or questions.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to log progress for |
whatAttempted * | string | What was attempted (required) |
blockers | array | Issues blocking progress (will mark task as blocked if provided) |
checks | object | Test or check results at this point, e.g. { passed: 42, total: 42, label: "vitest" }. Shown on the Now view. |
questions | array | Questions for the team |
whatFailed | string | What didn't work and why |
whatSucceeded | string | What worked or was accomplished |
list_progress
List structured progress updates for a task.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID |
recommend_task
Get recommendations for what task to work on next. Returns tasks prioritized by: 1) Your in-progress work, 2) Tasks assigned to you, 3) High-priority unassigned tasks.
| Parameter | Type | Description |
|---|---|---|
epicId | string | Optional: filter recommendations to tasks in a specific epic |
limit | number | Maximum number of recommendations to return (default 5, max 20) |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
list_documents
List planning documents in a workspace. Documents are the living PRD/notes corpus.
| Parameter | Type | Description |
|---|---|---|
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
read_document
Read a workspace document by path (e.g. prd or research/notes).
| Parameter | Type | Description |
|---|---|---|
path * | string | Document path such as prd |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
create_document
Create a markdown document in a workspace.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
body | string | Markdown body |
title | string | |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
write_document
Update a document. etag is required (If-Match from a prior read_document). Writes without an etag are rejected so concurrent edits cannot silently overwrite.
| Parameter | Type | Description |
|---|---|---|
etag * | string | Required If-Match etag from a prior read |
path * | string | |
body | string | |
title | string | |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
delete_document
Delete a document. etag is required (If-Match from a prior read_document) so concurrent deletes cannot race a newer edit.
| Parameter | Type | Description |
|---|---|---|
etag * | string | Required If-Match etag from a prior read |
path * | string | |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
list_document_versions
List saved versions of a document (id, time, actor, etag). Use restore_document to roll back.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
restore_document
Restore a document to a previous version. etag is the current document etag (If-Match), not the version's etag.
| Parameter | Type | Description |
|---|---|---|
etag * | string | Current document etag from read_document |
path * | string | |
versionId * | string | Version id from list_document_versions |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
list_epics
List epics in a workspace (title, status, task counts, last plan, GitHub).
| Parameter | Type | Description |
|---|---|---|
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
get_epic
Get an epic: working spec, last-plan provenance, imported tasks, GitHub link, and latest suggested breakdown. Use after plan_it or when you need the spec without a task id.
| Parameter | Type | Description |
|---|---|---|
epicId * | string | The epic ID |
resume
Brief for picking work back up in this repo's workspace: tasks in progress, waiting for review, next up, open epics and plan documents. Call at session start and after the conversation is compacted, before re-reading code.
| Parameter | Type | Description |
|---|---|---|
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
ask_decision
Record a choice the human may want a say in, with the default you are going with, then keep working on that default. Returns right away; the answer comes back on a later start_task, finish_task or recommend_task. Set blocking only for hard-to-undo choices (it blocks the affected tasks until answered, so move to other work). FYI notes for the reviewer belong in progress questions instead.
| Parameter | Type | Description |
|---|---|---|
default * | string | What you are doing until it is answered |
question * | string | The question, answerable in a sentence |
blocking | boolean | Block the affected tasks until answered. Rare; needs taskIds. |
costly | boolean | True if the default would be costly to reverse later |
epicId | string | Epic the question belongs to |
taskIds | array | Tasks whose direction depends on the answer (max 20) |
why | string | Why it matters, briefly |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
list_decisions
List decisions in the workspace: open ones waiting on the human (costly first), then answered ones, newest first.
| Parameter | Type | Description |
|---|---|---|
status | string | |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
answer_decision
Answer an open decision: give an answer or keep the default. For peer-review bots, only when the autonomy mode allows it; otherwise the human answers in Beck.
| Parameter | Type | Description |
|---|---|---|
decisionId * | string | |
answer | string | |
keepDefault | boolean |
record_plan
Record an approved plan in one call: saves the plan markdown as a document under plans/, then creates each epic and its tasks in order. Use right after the human approves a plan (for example when leaving plan mode) if it has 3 or more tasks. You do the breakdown; Beck does not re-plan it.
| Parameter | Type | Description |
|---|---|---|
epics * | array | Epics in order. Each groups related tasks. |
plan * | string | The approved plan as markdown |
title * | string | Plan title, e.g. 'Agent loop' |
path | string | Document path. Defaults to plans/<slug of title>. An existing page at that path is overwritten. |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
create_epic
Create an epic in a workspace. Use create_tasks to add its work.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
color | string | Hex color, e.g. #7aa2f7 |
description | string | |
spec | string | Markdown spec |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
create_tasks
Add tasks to an epic, in order, at the bottom of the backlog (or icebox). Use when scope grows mid-run or to finish a partial record_plan.
| Parameter | Type | Description |
|---|---|---|
epicId * | string | |
tasks * | array | |
destination | string |
plan_it
For people planning without an agent: snapshot selected documents into one or more epics, optionally with Beck's AI task breakdown. If you planned the work yourself, use record_plan instead. Suggested tasks are not in the backlog until import_suggested_tasks (or a human imports in Beck).
| Parameter | Type | Description |
|---|---|---|
documentIds | array | |
epicIds | array | Existing epics to update. Omit to create a new epic. |
paths | array | Document paths to snapshot |
runBreakdown | boolean | Run Beck's AI breakdown. Default false for agents; set true only when the human asks for it. |
title | string | Title for a new epic |
workspaceId | string | Optional when this repo is bound to a workspace (bind_workspace). |
import_suggested_tasks
Import pending Plan-it / breakdown suggestions from an epic into the backlog or icebox. Use when asked or when autonomy mode allows. Prefer get_epic first to see pending indices.
| Parameter | Type | Description |
|---|---|---|
epicId * | string | Epic id from plan_it / get_epic |
destination | string | Where to place imported tasks (default backlog) |
indices | array | Optional breakdown task indices to import. Omit to import all pending. |
link_epic_github
Link a GitHub branch or PR to an epic. Use this after creating a branch or opening a PR for an epic's work.
| Parameter | Type | Description |
|---|---|---|
epicId * | string | The epic ID to link |
branch | string | Branch name (e.g., 'feature/user-auth') |
prUrl | string | Full GitHub PR URL (e.g., 'https://github.com/owner/repo/pull/123') |
get_epic_github
Get the GitHub branch and PR URL linked to an epic.
| Parameter | Type | Description |
|---|---|---|
epicId * | string | The epic ID |