Tools

Tool reference

Laterbase gives agents 9 tools. This reference is generated from the server's own tool definitions, so the descriptions are exactly what your agent reads.

The tools

Lists from your workspace

Some schemas are written for each caller: your workspaces, with their repos, and the areas you can file under appear as allowed values and in the descriptions. The reference shows them for two example workspaces, acme and acme-mobile; your agent sees your own.

Responses

Every result is one JSON text block: the workspace the call ran in, when it ran in one, and the result. Pins are named by key, areas and people by name.

JSON
{
  "workspace": {
    "slug": "acme",
    "name": "Acme"
  },
  "result": {
    "pin": {
      "key": "ACME-42",
      "url": "https://laterbase.dev/dashboard/pins/ACME-42",
      "title": "Session refresh races when two tabs refresh at once",
      "status": "claimed",
      "summary": "Two tabs refreshing an expired session at the same moment both rotate the refresh token; the loser is signed out.",
      "repo": "acme/api",
      "kind": "bug",
      "areas": [
        "auth"
      ],
      "risk": "high",
      "payoff": "high",
      "scope": "small",
      "leverage": "high",
      "priority": "critical",
      "claimed_by": "Sam",
      "sightings": 2,
      "created_at": "2026-10-01T14:03:11.000Z",
      "status_changed_at": "2026-10-02T09:15:00.000Z"
    }
  }
}

Errors

A failed call is marked as an error and carries a code, a message, and whatever the agent needs to act on it without another round trip.

JSON
{
  "error": "already_claimed",
  "message": "Sam is working on this pin. Pass force: true to take it over.",
  "claim": {
    "by": "Sam",
    "since": "2026-10-02T09:12:40.000Z"
  }
}
CodeMeaning
possible_duplicatescreate_pin found likely duplicates and created nothing; `candidates` lists them.
unknown_areaAn area name isn't in the workspace's list; `areas` lists the ones that are.
area_near_matchA proposed new area is close to an existing one; `areas` lists them, closest first.
already_claimedSomeone else holds the claim; `claim` says who and since when. `force` takes it over.
invalid_transitionThe status change isn't allowed, e.g. resolving without a fix.
invalid_pathA path was absolute or left the repo; the message says how to make it repo-relative.
workspace_requiredThe call could mean more than one of your workspaces, or a write names a repo none of them has pins in yet; `workspaces` lists the choices. Pass `workspace`.
not_foundNo pin, area or workspace by that name or key.
forbiddenNot allowed for you, e.g. an owner-only change, or a workspace you're not in.
validationThe input didn't match the schema; `issues` lists each problem.
internalSomething failed on the server. Nothing is leaked; try again.