Tower
v0.12.1Multiplayer for AI coding agents: collision detection before the edit, messaging, delegation.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
claim_intent
Register intent to edit code BEFORE editing. Returns any collisions with other active agents. Call this first, always. Also pass `reads`: the declarations you consulted to write this — the functions, methods or types you are calling or implementing against. Tower tells you when one of them changes under you, and shows the old and new signature so you can patch your call sites without re-reading the file. If you are changing a symbol's signature, set `declares` on it to the new declaration as it will read in the source, up to the body (e.g. `function verify(token: string, opts: Opts): boolean…
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
branch * | string | |
repo * | string | |
etaMinutes | integer | |
files | array | |
force | boolean | |
projectId | string | |
purpose | string | |
reads | array | |
repoId | string | |
symbols | array |
check_collision
Check for collisions without registering a claim (a dry run).
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
repo * | string | |
agentId | string | |
files | array | |
projectId | string | |
reads | array | |
repoId | string | |
symbols | array |
heartbeat
Keep an active claim alive; claims auto-expire without heartbeats. Returns `invalidations`: declarations your work read that have moved, or that another agent has declared it is about to change — with the new signature, so you can adapt before it lands.
| Parameter | Type | Description |
|---|---|---|
claimId * | string |
complete_claim
Release a claim after committing (optionally record the commit sha). Pass `symbols` with their final `sig`/`sigText` and every agent whose work reads a changed declaration is told what it landed as, and whether it matches what you declared.
| Parameter | Type | Description |
|---|---|---|
claimId * | string | |
commitSha | string | |
symbols | array |
release_claim
Abandon a claim without committing.
| Parameter | Type | Description |
|---|---|---|
claimId * | string |
list_claims
List claims, optionally filtered by repo/branch/status.
| Parameter | Type | Description |
|---|---|---|
branch | string | |
projectId | string | |
repo | string | |
repoId | string | |
status | string |
log_decision
Record an architecture decision and WHY it was made, for the team's shared memory.
| Parameter | Type | Description |
|---|---|---|
author * | string | |
title * | string | |
body | string | |
projectId | string | |
relatedFiles | array | |
repo | string | |
repoId | string | |
tags | array |
get_decisions
Recall past architecture decisions before acting.
| Parameter | Type | Description |
|---|---|---|
projectId | string | |
query | string | |
relatedFiles | array | |
repo | string | |
repoId | string | |
tags | array |
next_task
Ask the sequencer for a task whose module is safe to start right now.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
repo * | string | |
candidates | array | |
projectId | string | |
repoId | string |
send_message
Send an async message or task to another agent (toAgentId, or '*' to broadcast). Delivered on their next Tower contact. kind 'task' delegates work; reply with kind 'task_update' (replyTo=the task id) when done.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
fromAgentId * | string | |
repo * | string | |
toAgentId * | string | |
kind | string | |
projectId | string | |
replyTo | string | |
repoId | string | |
size | string |
fetch_messages
Read your inbox (marks messages read). Call whenever claim_intent reports unreadMessages > 0.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
projectId | string | |
repo | string | |
repoId | string | |
unreadOnly | boolean |
pending
Read-only count of unread messages + open tasks waiting for you. Marks nothing read — the interactive nudge; if it returns > 0, call fetch_messages / list_tasks.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
projectId | string | |
repo | string | |
repoId | string |
accept_task
Claim a delegated task before working on it (first accept wins — prevents two agents doing the same work).
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
taskId * | string |
complete_task
Finish an accepted task: success or failure, with the result and optional commit sha / PR url. Auto-notifies the delegator.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
taskId * | string | |
commitSha | string | |
filesChanged | integer | |
prUrl | string | |
result | string | |
success | boolean |
list_tasks
List delegated tasks by repo/status/recipient/assignee (the worker's poll).
| Parameter | Type | Description |
|---|---|---|
assigneeAgentId | string | |
forAgentId | string | |
projectId | string | |
repo | string | |
repoId | string | |
status | string |
request_approval
Park a task for human approval before running it (remote-approve worker mode) — a person approves it from the board/phone.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
taskId * | string |
resolve_approval
Approve or reject a parked task (used by the board; also callable by tools).
| Parameter | Type | Description |
|---|---|---|
approved * | boolean | |
taskId * | string |
heartbeat_worker
Announce that this worker is online and ready to run tasks (call it every poll so the board shows live presence).
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
repo * | string | |
projectId | string | |
repoId | string | |
runner | string | |
status | string |
propose_intent
BEFORE you research or write anything: say in plain English what you plan to work on. Returns anyone already doing the same work, matched on meaning rather than file paths — so it catches a duplicate even when you would have picked a different filename. One call per task; it is the cheapest check Tower offers and the only one that fires before your tokens are spent.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
purpose * | string | |
repo * | string | |
projectId | string | |
repoId | string |
record_reads
Record declarations you just read, so your next claim_intent knows what your work is built on. Returns `conflicts` straight away when another agent is changing what you read — the cheapest moment to find out, before you plan against it. Normally called by the PostToolUse hook, not by you.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
repo * | string | |
branch | string | |
projectId | string | |
reads | array | |
repoId | string |