beck

v1.6.1
bot.beck/beck Checked 4 days ago Published 2 months ago

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

ParameterTypeDescription
name *stringWorkspace name
descriptionstringOptional 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.

ParameterTypeDescription
workspaceId *string
repoUrlstringGit 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.

ParameterTypeDescription
name *stringToken display name — use the bot's name

revoke_api_token

Revoke an API token by id. Owner only via API path.

ParameterTypeDescription
tokenId *stringToken id from list_api_tokens

list_tasks

List tasks in a workspace. Can filter by status, epic, or show icebox items.

ParameterTypeDescription
assigneeIdstringFilter by assignee user ID
epicIdstringFilter by epic ID
isIceboxbooleanIf true, list icebox items instead of backlog
statusstringFilter by task status
workspaceIdstringOptional when this repo is bound to a workspace (bind_workspace).

get_task

Get full details of a task including description, acceptance criteria, and comments.

ParameterTypeDescription
taskId *stringThe 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.

ParameterTypeDescription
taskId *stringThe task ID to start
commentstringOptional 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).

ParameterTypeDescription
taskId *stringThe task ID to finish
commentstringOlder option: a plain completion comment. Prefer progress.
progressobjectHandoff 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.

ParameterTypeDescription
taskId *stringThe task ID to accept
commentstringOptional 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.

ParameterTypeDescription
reason *stringWhy the task is being sent back
taskId *stringThe task ID to reject

list_comments

List all comments on a task.

ParameterTypeDescription
taskId *stringThe task ID

add_comment

Add a comment to a task. Use this to document progress, ask questions, or provide updates.

ParameterTypeDescription
content *stringThe comment text (supports markdown)
taskId *stringThe 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.

ParameterTypeDescription
taskId *stringThe task ID to update
acceptanceCriteriaarrayUpdated acceptance criteria with completion status
blockedReasonstringReason for being blocked (required if isBlocked is true)
descriptionstringNew description (markdown)
epicIdstringMove the task to this epic
isBlockedbooleanWhether the task is blocked
pointsnumberStory points (1, 2, 3, 5, or 8)
relevantFilesarrayFiles relevant to this task. Paths must be relative to project root.
tagsarrayReplacement tag list
titlestringNew title
typestringTask 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.

ParameterTypeDescription
files *arrayFiles relevant to this task
taskId *stringThe 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.

ParameterTypeDescription
taskId *stringThe 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.

ParameterTypeDescription
taskId *stringThe task ID to log progress for
whatAttempted *stringWhat was attempted (required)
blockersarrayIssues blocking progress (will mark task as blocked if provided)
checksobjectTest or check results at this point, e.g. { passed: 42, total: 42, label: "vitest" }. Shown on the Now view.
questionsarrayQuestions for the team
whatFailedstringWhat didn't work and why
whatSucceededstringWhat worked or was accomplished

list_progress

List structured progress updates for a task.

ParameterTypeDescription
taskId *stringThe 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.

ParameterTypeDescription
epicIdstringOptional: filter recommendations to tasks in a specific epic
limitnumberMaximum number of recommendations to return (default 5, max 20)
workspaceIdstringOptional 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.

ParameterTypeDescription
workspaceIdstringOptional when this repo is bound to a workspace (bind_workspace).

read_document

Read a workspace document by path (e.g. prd or research/notes).

ParameterTypeDescription
path *stringDocument path such as prd
workspaceIdstringOptional when this repo is bound to a workspace (bind_workspace).

create_document

Create a markdown document in a workspace.

ParameterTypeDescription
path *string
bodystringMarkdown body
titlestring
workspaceIdstringOptional 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.

ParameterTypeDescription
etag *stringRequired If-Match etag from a prior read
path *string
bodystring
titlestring
workspaceIdstringOptional 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.

ParameterTypeDescription
etag *stringRequired If-Match etag from a prior read
path *string
workspaceIdstringOptional 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.

ParameterTypeDescription
path *string
workspaceIdstringOptional 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.

ParameterTypeDescription
etag *stringCurrent document etag from read_document
path *string
versionId *stringVersion id from list_document_versions
workspaceIdstringOptional when this repo is bound to a workspace (bind_workspace).

list_epics

List epics in a workspace (title, status, task counts, last plan, GitHub).

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

ParameterTypeDescription
epicId *stringThe 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.

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

ParameterTypeDescription
default *stringWhat you are doing until it is answered
question *stringThe question, answerable in a sentence
blockingbooleanBlock the affected tasks until answered. Rare; needs taskIds.
costlybooleanTrue if the default would be costly to reverse later
epicIdstringEpic the question belongs to
taskIdsarrayTasks whose direction depends on the answer (max 20)
whystringWhy it matters, briefly
workspaceIdstringOptional 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.

ParameterTypeDescription
statusstring
workspaceIdstringOptional 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.

ParameterTypeDescription
decisionId *string
answerstring
keepDefaultboolean

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.

ParameterTypeDescription
epics *arrayEpics in order. Each groups related tasks.
plan *stringThe approved plan as markdown
title *stringPlan title, e.g. 'Agent loop'
pathstringDocument path. Defaults to plans/<slug of title>. An existing page at that path is overwritten.
workspaceIdstringOptional 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.

ParameterTypeDescription
title *string
colorstringHex color, e.g. #7aa2f7
descriptionstring
specstringMarkdown spec
workspaceIdstringOptional 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.

ParameterTypeDescription
epicId *string
tasks *array
destinationstring

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

ParameterTypeDescription
documentIdsarray
epicIdsarrayExisting epics to update. Omit to create a new epic.
pathsarrayDocument paths to snapshot
runBreakdownbooleanRun Beck's AI breakdown. Default false for agents; set true only when the human asks for it.
titlestringTitle for a new epic
workspaceIdstringOptional 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.

ParameterTypeDescription
epicId *stringEpic id from plan_it / get_epic
destinationstringWhere to place imported tasks (default backlog)
indicesarrayOptional breakdown task indices to import. Omit to import all pending.

get_epic_github

Get the GitHub branch and PR URL linked to an epic.

ParameterTypeDescription
epicId *stringThe epic ID