Reference for builders
Agent tools
Every tool a Weemuu can call in this release: what it does, its fields, and where it is offered.
<!-- Written by pnpm docs:reference. Don't edit: change packages/agent-tools/src/mcp.ts and run it again. -->
A Weemuu runs Claude Code. On top of Claude Code's own tools it gets these, from Weemuu. Each call goes to Weemuu with the run's own token, so a Weemuu can only act on its own task and chat. Nothing here pushes code, changes a server or spends money without the owner's yes.
| Tool | Offered in | Plan mode |
|---|---|---|
add_part |
a task | No |
ask_agent |
a task, a chat | Yes |
ask_owner |
a task | Yes |
close_task |
a task | No |
hand_in |
a task | No |
hand_over |
a task | No |
look |
a guest's answer | Yes |
move_task |
a task | No |
propose_lesson |
given on Tools | Yes |
propose_task |
a task, a chat, a coffee chat | Yes |
read_design_system |
a task, a chat | Yes |
request_repo |
a task | No |
request_tool |
a task | No |
server_fine |
a task, a chat | No |
show_board |
a task, a chat | Yes |
split_task |
a task | No |
ssh |
a task, a chat | Yes |
submit_plan |
a task | Yes |
add_part
Tech Lead only, while a task is built in parts: add a part to it, such as a design follow-up for the designer when a decision changed what the designs show (a dropped feature still in the sketches and the docs). Give it like a part of a split (its title, user story, the design it changes, its test criteria), the step it starts at (design for the designer, else build or verify) and why: the decision behind it, in a line. It starts by itself with its holder; the owner sees it on the task's card.
| Field | Type | Required | What it is |
|---|---|---|---|
title |
text, up to 200 | Yes | The part, as the owner would say it: the screen or flow it builds |
story |
text, up to 600 | Yes | Its user story: "As a …, I want …, so that …" |
design |
text, up to 300 | No | The design it builds: the board and its screens, such as "EAR-1-B1 screens 1–3" |
api |
text, up to 1500 | No | The APIs and data it needs: which endpoints exist, what is missing |
tests |
list of text, up to 300, up to 10 | Yes | Its test criteria, one check each |
who |
text, up to 100 | No | Who builds it, by name (or leave it to Weemuu) |
step |
"design" or "build" or "verify" | No | Where it starts: design (the default, the designer), build or verify |
why |
text, up to 600 | Yes | The decision that makes it needed, in a line |
ask_agent
Ask a teammate one question and get their answer back, the way you'd ask a colleague across the desk. Weemuu starts them in a conversation of their own, which the owner can read. Ask only when they know something you don't (another part of the system, a server, a decision they made). Keep it to one clear question with what they need to answer it. You can't ask someone who is already in this chain of asks, and asks go two levels deep at most; when Weemuu refuses or no answer comes in time, go on with what you have.
| Field | Type | Required | What it is |
|---|---|---|---|
name |
text, up to 100 | Yes | The teammate's name, as the team page shows it (such as Duuni) |
question |
text, up to 4000 | Yes | One clear question, with what they need to answer it |
ask_owner
Ask the owner one real question, and only when your mode or a limit requires it: something only they can decide (scope, money, something leaving the company, a choice your task leaves open) or a done-when line you can't meet. The owner doesn't want to be asked all the time, so settle details yourself (names, wording, layout, conventions, what a doc says): pick the common choice and say what you chose in your hand-in. Never ask for permission to run commands, change files in your folder or read a server: your mode and Weemuu decide that, and a server change asks the owner by itself (ssh). For a choice, give 2 to 4 short options and mark the one you suggest. Then end your turn: Weemuu brings you back with the answer.
| Field | Type | Required | What it is |
|---|---|---|---|
question |
text, up to 200 | Yes | The question, in one line |
why |
text, up to 1500 | Yes | Why you need it and what happens without it |
options |
list of text, up to 80, up to 4 | No | For a choice: the answers, in order. The owner presses one, or answers in words. |
suggested |
integer | No | The index (from 0) of the option you suggest |
close_task
Finish your task when it has nothing to push: an answer, an investigation, a change made on a server through ssh. Say what you found or did and how the owner can check it. The task goes to the owner for review, and they close it; with code to hand in, use hand_in instead.
| Field | Type | Required | What it is |
|---|---|---|---|
summary |
text, up to 3000 | Yes | What you found or did, in plain words |
howToCheck |
text, up to 1500 | No | How the owner can check it |
hand_in
Hand in your finished work: commit it on a branch in your folder, then give that branch, the full commit id (git rev-parse HEAD) and a short report. Never push and never open a pull request yourself (your box blocks it). Weemuu takes the commit, pushes it to a weemuu/ branch and opens the pull request when the project is at Work or Ship, and the owner reviews it; at Ship, their yes merges it. Nothing in .github/, no symlinks or submodules. If the owner sends it back, you're told why: work on it and hand in again. House rule: when your work changes a pattern, update the design system and the docs in the same change, and say so in docs.
| Field | Type | Required | What it is |
|---|---|---|---|
branch |
text, up to 100 | Yes | The branch your work is on, in your folder |
repo |
text, up to 120 | No | Which of your repos, when it isn't your folder's (such as example-org/earnestio-userbackend): one hand-in is one repo |
commit |
text, up to 64 | Yes | The full commit id from git rev-parse HEAD, with that branch checked out |
changed |
text, up to 1500 | Yes | What changed, in plain words |
howToCheck |
text, up to 1500 | Yes | How the owner can check it |
docs |
text, up to 300 | Yes | What you changed in the design system and the docs, in a few words ("updated the chart pattern"), or "nothing to change" |
hand_over
End your step of your task and hand it to whoever does the next one (the process: brief, design, plan, build, verify, ship). Weemuu picks the next step and its owner, who gets its turn in this thread. Say in the note what you leave them. At the brief, path small skips design and plan. At verify, back: true sends it back to build with what failed; when it holds, use hand_in (a part: hand_over, and it's done). Then end your turn.
| Field | Type | Required | What it is |
|---|---|---|---|
note |
text, up to 600 | Yes | One or two lines for whoever has it next: what you leave them |
path |
"full" or "small" | No | At the brief only: small skips design and plan |
back |
boolean | No | At verify only: send it back to build |
look
Read the record of a piece of work by its name, such as PHO-12 (a plan) or PHO-12.2 (one of its steps): what it is for, who does what, how far it is, what the owner decided and said, the done-when lines, the commits and pull request. Look before you ask the owner something the record already says.
| Field | Type | Required | What it is |
|---|---|---|---|
name |
text, up to 20 | Yes | The work's name, such as PHO-12 or PHO-12.2 |
move_task
Tech Lead only: move a task of this project to another step, as the owner can by dragging it on Work: brief, design, plan, build or verify (never ship: that is a hand-in and the owner's Ship yes). A task with parts moves its open parts (design, build or verify). The step's owner gets it and starts by itself; a task whose Weemuu is working now stays. Say why, in a line: the thread shows it.
| Field | Type | Required | What it is |
|---|---|---|---|
task |
text, up to 20 | Yes | The task, by its name, such as EAR-1.2 |
step |
"brief" or "design" or "plan" or "build" or "verify" | Yes | Where it goes |
why |
text, up to 600 | Yes | Why it moves, in a line |
propose_lesson
Only if the owner granted you this tool on Tools: propose one lesson from your task, something every Weemuu should do from now on. Write it as one line any Weemuu can follow, and say what caught the miss and why it helps. It changes nothing until the owner's yes in Needs you; then it goes into every Weemuu's runs (for this task's project, or every project). The owner may say no or undo it; propose it again only with something new. Go on with your work after you propose.
| Field | Type | Required | What it is |
|---|---|---|---|
workItem |
text, up to 20 | No | Older work items only: the work item's name, such as PHO-21. Leave it out on a task |
stage |
"brief" or "design" or "plan" or "build" or "verify" or "use" | No | Older work items only: the stage whose checks it tightens. Leave it out on a task |
text |
text, up to 300 | Yes | The lesson, one line: "Check the page at phone width before you hand in." |
why |
text, up to 300 | Yes | Why it helps: "The owner sent PHO-21 back for a wrap at 390 px." |
caughtBy |
text, up to 200 | Yes | The miss in a few words: "Verify, the PHO-21 wrap at 390 px" |
propose_task
Propose a new task for an idea outside the work you're on, instead of starting it. It starts nothing: the owner says yes (it becomes a task in this project, yours unless they pick someone else) or no. Propose only what is worth the owner's time, and never the task you are on.
| Field | Type | Required | What it is |
|---|---|---|---|
title |
text, up to 120 | Yes | Short title, as the owner would say it |
goal |
text, up to 1000 | No | What the task achieves, and how anyone can tell it's done |
why |
text, up to 1000 | Yes | Why it's worth doing now |
read_design_system
Read the design system of your project: its brand's colours, type, icons, voice and components, with each one's value and the file it lives in. Read only. Use it before you change how anything looks, and use what it holds instead of inventing new colours, type or components. A run with no project has none.
No fields.
request_repo
Ask for a repo you need and can't use from your task: one your repos list shows read only (another project's), or one not listed at all. Name it and say why, in a line. The owner gets the ask in Needs you with a link to where it's set (the project's page): a repo in no project is added there, a project that is Off is given Read there, and another project's repo is allowed for your task here; from your next turn you have a copy of it to work in. Then end your turn, or go on with what you can do.
| Field | Type | Required | What it is |
|---|---|---|---|
repo |
text, up to 120 | Yes | The repo, as owner/name (such as example-org/forest-api) |
why |
text, up to 600 | Yes | Why you need to change it, in a line |
request_tool
Ask the owner for a program you need for this task and don't have (your runs can't install anything). Name one of Weemuu's kits (cad, see, blender, freecad, gmsh, ffmpeg, imagemagick, pandoc, tectonic, jq) or a program one of them has (magick, ffmpeg, pandoc, jq…). The owner sees it in Needs you with Install or Not now; on Install it is installed and yours from a later run, on your PATH. It doesn't wait: keep working without it meanwhile, and ask only for what the task really needs.
| Field | Type | Required | What it is |
|---|---|---|---|
kit |
text, up to 40 | No | One of Weemuu's kits by its id, such as imagemagick |
program |
text, up to 60 | No | Or a program by the name you'd run, such as magick |
why |
text, up to 1000 | Yes | What it lets you do for the task, in a sentence or two for the owner |
server_fine
Mark one problem a server check found as fine (or, with fine false, as a problem again), once you and the owner agree, or once you've read the server and it's plainly meant to be so. It changes nothing on the server: Weemuu stops counting it on the Servers page and won't hand it to you again. server: the server's name as Weemuu shows it. Name the service (for a stopped or restarting one), or what: disk or memory. Say why in a sentence.
| Field | Type | Required | What it is |
|---|---|---|---|
server |
text, up to 120 | Yes | The server's name, as on the Servers page |
service |
text, up to 200 | No | The service or container's name |
what |
"service" or "disk" or "memory" | No | |
fine |
boolean | No | |
why |
text, up to 500 | Yes | Why it's fine, in a sentence |
show_board
Show the owner what you made, as a board in this conversation: in a task's thread it is named under the task (such as HAR-7-B1, shown as "HAR-7 · design v1"), elsewhere it gets an ID in the project's numbers (such as HAR-9); it shows as a card with small previews, and lives on the project. kind: library (a design library: sections of colours with value and file:line, typefaces with role, lists, or words), prototype (1 to 12 HTML screens, each a whole small page with inline CSS, and the taps between them; the owner clicks through it), images, pdf, or file (one file a tool made: csv, xlsx, pptx, docx, md, txt, json, zip, mp4). images, pdf and file take files: paths in your task's own folder, from a task run only. Add questions (2 to 4 options each) when the owner must choose; their answers come back to you in this thread. To change a board you made, send it again with board set to its ID: it becomes the next version. Then say in one line what it is; don't repeat what the card shows.
| Field | Type | Required | What it is |
|---|---|---|---|
kind |
"library" or "prototype" or "images" or "pdf" or "file" | Yes | |
title |
text, up to 120 | Yes | What it is, in a few words |
about |
text, up to 2000 | No | A sentence or two for the owner |
note |
text, up to 1000 | No | What changed in this version, when it is one |
board |
text, up to 20 | No | The ID of a board you made, to send its next version |
frames |
object | No | library only: { sections: [ { title, kind: colours|type|list|text, items | text } ] }. A colour item: {name, value (#hex or rgb()), where (file:line)}. A type item: {family, role, where}. A list: short strings. Only what is really in the code. |
screens |
list of object, up to 12 | No | prototype only: each screen's title, its whole HTML (inline CSS, no outside scripts) and a note for the owner |
taps |
list of object, up to 60 | No | prototype only: what moves the owner from screen to screen, by screen number from 0 |
asks |
list of object, up to 6 | No | |
files |
list of object, up to 24 | No | images, pdf, file (and extra files on any board): files you made in your task's own folder |
split_task
At your task's plan, when the owner has OK'd the plan already: split it into parts from the picked design, one per screen or flow, each with its user story, the design it builds, its APIs and its test criteria. (Without that OK, send the parts with submit_plan instead: the owner's OK makes them.) 2 to 10 parts; each gets its own number (EAR-1.1), thread and builder, and works in this task's folder. The task goes to verify when they're all in, and ships once. Then end your turn.
| Field | Type | Required | What it is |
|---|---|---|---|
parts |
list of object, up to 10 | Yes | The parts, in order |
ssh
Run one command on a server, through Weemuu: it holds the key, you never do. Reading and scanning any server Weemuu knows never asks: the read-only checks (logs, services, configs, disk), each exactly as listed. A change asks the owner once per task and server: the first change answers that it waits for the owner's yes (an Allow card); tell the owner in one line why you need it and end your turn. Weemuu brings you back when they answer, and after Allow every change on that server for this task runs without asking again. In plan mode only reads run; in auto, changes run without asking on a write grant the owner gave in Connections, and without one they ask once per task like any other mode. You get back the exit code, stdout and stderr; after 60 seconds or 256 KB of output the command is stopped. Every command and its result is logged with your name. A refusal is final: don't send the same command again, and don't try to get around it; ask the owner instead.
| Field | Type | Required | What it is |
|---|---|---|---|
server |
text, up to 100 | Yes | The server's name, as Connections shows it (such as earnest03), or its id |
command |
text, up to 4000 | Yes | One command line, run as the server's user |
submit_plan
Submit your plan for your task and wait for the owner's OK, once. Do it when your mode is plan, or when the task is big or hard to undo (a data change, many files, something outward). In any other mode, a small clear task needs no plan: just do it. Give a short summary and the steps in order. At a task's plan, when the work is more than one piece, add its parts, split from the design the owner picked: one per screen or flow, each with its user story, the design it builds, the APIs it needs and its test criteria. The owner's OK makes the parts and your step is done. Then end your turn: Weemuu brings you back when the owner answers; on OK, go on with the plan (unless it made parts), and don't ask again for what it covers.
| Field | Type | Required | What it is |
|---|---|---|---|
summary |
text, up to 3000 | Yes | What you'll do and the decisions already taken |
steps |
list of text, up to 300, up to 12 | Yes | The steps, in the order you'll do them |
parts |
list of object, up to 10 | No | At a task's plan: its parts, split from the picked design (the owner's OK makes them) |