Trello
SDK reference for trello operations
Overview
Trello project management and collaboration
- Category:
productivity - Auth Required: Yes
- Supported Modes: standard, delegated
Operations
getBoards
Get all boards for the authenticated user
Returns:
AdapterOperationResult - Returns { boards[], count }. Each board has FLAT fields: id, name, description, url, closed, starred, listCount. No nested objects.
Response Fields:
| Field | Type | Description |
|---|---|---|
boards | TrelloBoard[] | List of boards |
boards item fields (TrelloBoard)
| Field | Type | Description |
|---|---|---|
id | string | Board ID |
name | string | Board name |
description | string | Board description |
url | string | Board URL |
closed | boolean | Whether board is closed/archived |
starred | boolean | Whether board is starred |
listCount | number | Number of lists in the board |
| count | number | Number of boards returned |
Example:
getBoard
Get a specific board by ID including its lists
Arguments:
boardId(string, required): The ID of the board to retrieve
Returns:
AdapterOperationResult - Returns FLAT board fields: id, name, description, url, closed, starred, lists[], listCount. Each list has FLAT fields: id, name, closed, position, boardId.
Response Fields:
| Field | Type | Description |
|---|---|---|
id | string | Board ID |
name | string | Board name |
description | string | Board description |
url | string | Board URL |
closed | boolean | Whether board is closed |
starred | boolean | Whether board is starred |
lists | TrelloList[] | Lists in the board |
lists item fields (TrelloList)
| Field | Type | Description |
|---|---|---|
id | string | List ID |
name | string | List name |
closed | boolean | Whether list is closed/archived |
position | number | List position |
boardId | string | ID of the parent board |
| listCount | number | Number of lists |
Example:
createCard
Create a new card in a Trello list
Arguments:
name(string, required): Card name/titleidList(string, required): ID of the list to add the card todesc(string, optional): Card description (supports markdown)
Returns:
AdapterOperationResult - Returns { card }. Card has FLAT fields: id, name, description, url, shortUrl, closed, position, listId, boardId, dueDate, dueComplete, labels[], checklistCount, attachmentCount, commentCount.
Response Fields:
| Field | Type | Description |
|---|---|---|
card | TrelloCard | Created card |
card item fields (TrelloCard)
| Field | Type | Description |
|---|---|---|
id | string | Card ID |
name | string | Card name/title |
description | string | Card description |
url | string | Card URL |
shortUrl | string | Short card URL |
closed | boolean | Whether card is archived |
position | number | Card position in list |
listId | string | ID of the parent list |
boardId | string | ID of the parent board |
dueDate | `string | null` |
dueComplete | boolean | Whether due date is marked complete |
labels | string[] | Array of label names |
checklistCount | number | Number of checklists on the card |
attachmentCount | number | Number of attachments |
commentCount | number | Number of comments |
Example:
getCard
Get a specific card by ID
Arguments:
cardId(string, required): The ID of the card to retrieve
Returns:
AdapterOperationResult - Returns { card }. Card has FLAT fields: id, name, description, url, shortUrl, closed, position, listId, boardId, dueDate, dueComplete, labels[], checklistCount, attachmentCount, commentCount.
Response Fields:
| Field | Type | Description |
|---|---|---|
card | TrelloCard | Card details |
card item fields (TrelloCard)
| Field | Type | Description |
|---|---|---|
id | string | Card ID |
name | string | Card name/title |
description | string | Card description |
url | string | Card URL |
shortUrl | string | Short card URL |
closed | boolean | Whether card is archived |
position | number | Card position in list |
listId | string | ID of the parent list |
boardId | string | ID of the parent board |
dueDate | `string | null` |
dueComplete | boolean | Whether due date is marked complete |
labels | string[] | Array of label names |
checklistCount | number | Number of checklists on the card |
attachmentCount | number | Number of attachments |
commentCount | number | Number of comments |
Example:
updateCard
Update an existing card
Arguments:
cardId(string, required): The ID of the card to updatename(string, optional): New card namedesc(string, optional): New card descriptionidList(string, optional): Move card to a different listclosed(boolean, optional): Archive the card
Returns:
AdapterOperationResult - Returns { card } with updated FLAT fields.
Response Fields:
| Field | Type | Description |
|---|---|---|
card | TrelloCard | Updated card |
card item fields (TrelloCard)
| Field | Type | Description |
|---|---|---|
id | string | Card ID |
name | string | Card name/title |
description | string | Card description |
url | string | Card URL |
shortUrl | string | Short card URL |
closed | boolean | Whether card is archived |
position | number | Card position in list |
listId | string | ID of the parent list |
boardId | string | ID of the parent board |
dueDate | `string | null` |
dueComplete | boolean | Whether due date is marked complete |
labels | string[] | Array of label names |
checklistCount | number | Number of checklists on the card |
attachmentCount | number | Number of attachments |
commentCount | number | Number of comments |
Example:
deleteCard
Delete a card permanently
Arguments:
cardId(string, required): The ID of the card to delete
Returns:
AdapterOperationResult - Returns { success, deletedId, deletedAt }. FLAT deletion confirmation.
Response Fields:
| Field | Type | Description |
|---|---|---|
success | boolean | Whether deletion succeeded |
deletedId | string | ID of the deleted entity |
deletedAt | string | ISO 8601 timestamp of deletion |
Example:
createChecklist
Create a new checklist on a card
Arguments:
cardId(string, required): The ID of the card to add the checklist toname(string, required): Checklist name
Returns:
AdapterOperationResult - Returns { checklist, checkItems[] }. Checklist has FLAT fields: id, name, cardId, boardId, position, checkItemCount, checkItemsChecked.
Response Fields:
| Field | Type | Description |
|---|---|---|
checklist | TrelloChecklist | Created checklist |
checklist item fields (TrelloChecklist)
| Field | Type | Description |
|---|---|---|
id | string | Checklist ID |
name | string | Checklist name |
cardId | string | ID of the parent card |
boardId | string | ID of the parent board |
position | number | Checklist position |
checkItemCount | number | Total number of check items |
checkItemsChecked | number | Number of completed check items |
| checkItems | TrelloCheckItem[] | Check items in the checklist |
checkItems item fields (TrelloCheckItem)
| Field | Type | Description |
|---|---|---|
id | string | Check item ID |
name | string | Check item text |
checklistId | string | ID of the parent checklist |
state | ``'complete' | 'incomplete'`` |
position | number | Check item position |
Example:
getChecklist
Get a specific checklist by ID
Arguments:
checklistId(string, required): The ID of the checklist to retrieve
Returns:
AdapterOperationResult - Returns { checklist, checkItems[] }. Each checkItem has FLAT fields: id, name, checklistId, state, position.
Response Fields:
| Field | Type | Description |
|---|---|---|
checklist | TrelloChecklist | Checklist details |
checklist item fields (TrelloChecklist)
| Field | Type | Description |
|---|---|---|
id | string | Checklist ID |
name | string | Checklist name |
cardId | string | ID of the parent card |
boardId | string | ID of the parent board |
position | number | Checklist position |
checkItemCount | number | Total number of check items |
checkItemsChecked | number | Number of completed check items |
| checkItems | TrelloCheckItem[] | Check items in the checklist |
checkItems item fields (TrelloCheckItem)
| Field | Type | Description |
|---|---|---|
id | string | Check item ID |
name | string | Check item text |
checklistId | string | ID of the parent checklist |
state | ``'complete' | 'incomplete'`` |
position | number | Check item position |
Example:
updateChecklist
Update a checklist name
Arguments:
checklistId(string, required): The ID of the checklist to updatename(string, required): New checklist name
Returns:
AdapterOperationResult - Returns { checklist, checkItems[] } with updated FLAT fields.
Response Fields:
| Field | Type | Description |
|---|---|---|
checklist | TrelloChecklist | Updated checklist |
checklist item fields (TrelloChecklist)
| Field | Type | Description |
|---|---|---|
id | string | Checklist ID |
name | string | Checklist name |
cardId | string | ID of the parent card |
boardId | string | ID of the parent board |
position | number | Checklist position |
checkItemCount | number | Total number of check items |
checkItemsChecked | number | Number of completed check items |
| checkItems | TrelloCheckItem[] | Check items in the checklist |
checkItems item fields (TrelloCheckItem)
| Field | Type | Description |
|---|---|---|
id | string | Check item ID |
name | string | Check item text |
checklistId | string | ID of the parent checklist |
state | ``'complete' | 'incomplete'`` |
position | number | Check item position |
Example:
deleteChecklist
Delete a checklist from a card
Arguments:
checklistId(string, required): The ID of the checklist to delete
Returns:
AdapterOperationResult - Returns { success, deletedId, deletedAt }. FLAT deletion confirmation.
Response Fields:
| Field | Type | Description |
|---|---|---|
success | boolean | Whether deletion succeeded |
deletedId | string | ID of the deleted entity |
deletedAt | string | ISO 8601 timestamp of deletion |
Example:
addCheckItem
Add a check item to a checklist
Arguments:
checklistId(string, required): The ID of the checklist to add the item toname(string, required): Check item text
Returns:
AdapterOperationResult - Returns { checkItem }. CheckItem has FLAT fields: id, name, checklistId, state, position.
Response Fields:
| Field | Type | Description |
|---|---|---|
checkItem | TrelloCheckItem | Created check item |
checkItem item fields (TrelloCheckItem)
| Field | Type | Description |
|---|---|---|
id | string | Check item ID |
name | string | Check item text |
checklistId | string | ID of the parent checklist |
state | ``'complete' | 'incomplete'`` |
position | number | Check item position |
Example:
updateCheckItem
Update a check item (name or completion state)
Arguments:
cardId(string, required): The ID of the card containing the check itemcheckItemId(string, required): The ID of the check item to updatename(string, optional): New check item textstate(string, optional): Check state: "complete" or "incomplete"
Returns:
AdapterOperationResult - Returns { checkItem } with updated FLAT fields: id, name, checklistId, state, position.
Response Fields:
| Field | Type | Description |
|---|---|---|
checkItem | TrelloCheckItem | Updated check item |
checkItem item fields (TrelloCheckItem)
| Field | Type | Description |
|---|---|---|
id | string | Check item ID |
name | string | Check item text |
checklistId | string | ID of the parent checklist |
state | ``'complete' | 'incomplete'`` |
position | number | Check item position |
Example:
deleteCheckItem
Delete a check item from a checklist
Arguments:
checklistId(string, required): The ID of the checklist containing the itemcheckItemId(string, required): The ID of the check item to delete
Returns:
AdapterOperationResult - Returns { success, deletedId, deletedAt }. FLAT deletion confirmation.
Response Fields:
| Field | Type | Description |
|---|---|---|
success | boolean | Whether deletion succeeded |
deletedId | string | ID of the deleted entity |
deletedAt | string | ISO 8601 timestamp of deletion |
Example:
discoverExtended
Search Trello API for available operations beyond core tools
Arguments:
query(string, required): Describe what you want to do (e.g., "add label to card")limit(number, optional): Max results to return (default 5)
Returns:
AdapterOperationResult - List of matching operations with their details
Example:
executeExtended
Execute a Trello API operation by operationId
Arguments:
operationId(string, required): The operationId from discoverExtended resultspathParams(object, optional): Path parameters, e.g., { id: "abc123" }queryParams(object, optional): Query string parametersbody(object, optional): Request body for POST/PUT/PATCH operations
Returns:
AdapterOperationResult - API response data
Example:
Extended Operations
This adapter supports the full Trello API via OpenAPI discovery. Use discoverExtended to find operations and executeExtended to run them.