Skip to main content

Trello

@bmonty/trellov2026.10.26.1· MIT· 1d agoBEHAVIORS
01README

Watch Trello lanes and work cards from swamp workflows: read cards with comments, checklists, attachments, and activity history; move cards, comment, attach files, and manage labels and checklists.

02Behaviors1
@bmonty/trellov2026.10.26.1trello/trello.ts

Global Arguments

ArgumentTypeDescription
apiKeystringTrello API key (https://trello.com/power-ups/admin).
apiTokenstringTrello API token authorized for the board.
boardIdstringBoard id or short link (the `abc123` in trello.com/b/abc123/name).
fn listLists()
List the board's open lanes (useful to find list ids)
fn listCards(list: string, member?: string, includeDetails?: boolean)
List open cards in a lane, optionally only those assigned to a member
ArgumentTypeDescription
liststringList id or exact list name.
member?stringOnly cards assigned to this member (username or id).
includeDetails?booleanAlso write full detail (`card-<id>`) for every matching card.
fn getCard(card: string)
Get a card's full detail: description, checklists, custom fields, attachments, comments
ArgumentTypeDescription
cardstringCard id or short link.
fn moveCard(card: string, list: string, position?: enum)
Move a card to another lane on the board (no-op if already there)
ArgumentTypeDescription
cardstringCard id or short link.
liststringTarget list id or exact name.
position?enumWhere to place the card in the target lane.
fn addComment(card: string, text: string, skipIfContains?: string)
Post a comment (markdown) to a card
ArgumentTypeDescription
cardstringCard id or short link.
textstringComment text; Trello renders markdown. Max 16384 characters.
skipIfContains?stringDon't post if an existing comment contains this text; makes the call safe to retry.
fn attachFile(card: string, name: string, content?: string, path?: string, mimeType?: string, replaceExisting?: boolean)
Upload a file to a card from text content or a local path, optionally replacing same-named attachments
ArgumentTypeDescription
cardstringCard id or short link.
namestringFile name shown on the card.
content?stringText content to upload. Give exactly one of content or path.
path?stringLocal file to upload. Give exactly one of content or path.
mimeType?stringMIME type of the file.
replaceExisting?booleanAfter uploading, delete older attachments with the same name.
fn updateLabels(card: string, add?: array, remove?: array)
Add and/or remove board labels on a card (by name or id; idempotent)
ArgumentTypeDescription
cardstringCard id or short link.
add?arrayLabels to add.
remove?arrayLabels to remove.
fn addChecklistItems(card: string, checklist: string, items: array, skipExisting?: boolean)
Add items to a named checklist on a card, creating the checklist if needed
ArgumentTypeDescription
cardstringCard id or short link.
checkliststringChecklist name (case-insensitive); created if missing.
itemsarrayItem texts.
skipExisting?booleanSkip items whose text already exists in the checklist.
fn setCheckItemState(card: string, item: string, state: enum)
Mark a checklist item complete or incomplete
ArgumentTypeDescription
cardstringCard id or short link.
itemstringChecklist item id.
stateenum
fn getCardActions(card: string, types?: array, since?: string)
Get a card's activity history (who did what, when), oldest first
ArgumentTypeDescription
cardstringCard id or short link.
types?arrayTrello action types, e.g. commentCard, updateCard, addAttachmentToCard.
since?stringOnly actions after this action id or ISO date.

Resources

boardLists(infinite)— Open lists (lanes) on the board
cardList(infinite)— Cards in one lane, optionally filtered to one member
card(infinite)— Full detail for one card
move(infinite)— Result of moving a card (`move-<cardId>`)
comment(infinite)— A comment posted to a card (`comment-<actionId>`)
upload(infinite)— A file attached to a card (`upload-<attachmentId>`)
labels(infinite)— A card's labels after `updateLabels` (`labels-<cardId>`)
checklist(infinite)— A checklist after a change (`checklist-<checklistId>`)
actions(infinite)— A card's activity history (`actions-<cardId>`)

Files

attachment(application/octet-stream)— Downloaded card attachment (`attachment-<attachmentId>`)
03Stats
A
100 / 100
Downloads
3
Archive size
24.8 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
04Platforms
05Labels