update_card
Modify Trello card details such as title, description, or labels by specifying card ID and updates. Part of Multi-MCPs, a server integrating APIs like GitHub, Notion, and Spotify for multi-service automation.
Instructions
Update a Trello card
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes | ||
| updates | Yes |
Implementation Reference
- src/apis/trello/trello.ts:94-100 (handler)Handler function that validates config and arguments, then calls the Trello client to update the card.async update_card(args: Record<string, unknown>) { if (!cfg.trelloKey || !cfg.trelloToken) throw new Error("TRELLO_KEY/TRELLO_TOKEN are not configured"); const cardId = String(args.card_id || ""); if (!cardId) throw new Error("card_id is required"); const updates = (args.updates as Record<string, unknown>) || {}; return client.updateCard(cardId, updates); },
- src/apis/trello/trello.ts:59-71 (registration)Tool registration object defining name, description, and input schema for the update_card tool.{ name: "update_card", description: "Update a Trello card", inputSchema: { type: "object", properties: { card_id: { type: "string" }, updates: { type: "object" }, }, required: ["card_id", "updates"], }, }, {
- src/apis/trello/trello.ts:62-69 (schema)Input schema defining required card_id (string) and updates (object) for the update_card tool.inputSchema: { type: "object", properties: { card_id: { type: "string" }, updates: { type: "object" }, }, required: ["card_id", "updates"], },
- src/apis/trello/trello.ts:26-28 (helper)TrelloClient helper method that performs the API request to update a card.updateCard(cardId: string, updates: Record<string, unknown>) { return this.request(`/cards/${cardId}`, { method: "PUT", query: this.authQuery(updates as any) }); }