diff --git a/apps/sim/blocks/blocks/trello.ts b/apps/sim/blocks/blocks/trello.ts index d711feeea6f..635b5333729 100644 --- a/apps/sim/blocks/blocks/trello.ts +++ b/apps/sim/blocks/blocks/trello.ts @@ -381,7 +381,6 @@ export const TrelloBlock: BlockConfig = { text: { type: 'string', description: 'Comment text' }, }, outputs: { - success: { type: 'boolean', description: 'Whether the operation was successful' }, lists: { type: 'array', description: 'Array of list objects (for list_lists operation)', @@ -404,11 +403,7 @@ export const TrelloBlock: BlockConfig = { }, count: { type: 'number', - description: 'Number of items returned (boards, cards, actions)', - }, - error: { - type: 'string', - description: 'Error message if operation failed', + description: 'Number of items returned (lists, cards, actions)', }, }, } diff --git a/apps/sim/tools/telegram/send_document.ts b/apps/sim/tools/telegram/send_document.ts index 5efecf4a98a..5eccd820762 100644 --- a/apps/sim/tools/telegram/send_document.ts +++ b/apps/sim/tools/telegram/send_document.ts @@ -48,10 +48,15 @@ export const telegramSendDocumentTool: ToolConfig< 'Content-Type': 'application/json', }), body: (params: TelegramSendDocumentParams) => { + let normalizedFiles: unknown[] | null = null + if (params.files) { + normalizedFiles = Array.isArray(params.files) ? params.files : [params.files] + } + return { botToken: params.botToken, chatId: params.chatId, - files: params.files || null, + files: normalizedFiles, caption: params.caption, } }, diff --git a/apps/sim/tools/trello/add_comment.ts b/apps/sim/tools/trello/add_comment.ts index e84e65ffe82..a0bc6a01593 100644 --- a/apps/sim/tools/trello/add_comment.ts +++ b/apps/sim/tools/trello/add_comment.ts @@ -86,11 +86,9 @@ export const trelloAddCommentTool: ToolConfig