Skip to content

Commit c496edc

Browse files
committed
fix(agentphone): expose mediaUrls in block outputs
1 parent fe0bfbb commit c496edc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/sim/blocks/blocks/agentphone.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ export const AgentPhoneBlock: BlockConfig = {
700700
from_: { type: 'string', description: 'Sender phone number on a number message' },
701701
body: { type: 'string', description: 'Message body text' },
702702
mediaUrl: { type: 'string', description: 'Attached media URL' },
703+
mediaUrls: { type: 'json', description: 'Attached media URLs (array)' },
703704
receivedAt: { type: 'string', description: 'ISO 8601 timestamp' },
704705
participant: { type: 'string', description: 'External participant phone number' },
705706
lastMessageAt: { type: 'string', description: 'ISO 8601 timestamp' },
@@ -712,7 +713,7 @@ export const AgentPhoneBlock: BlockConfig = {
712713
messages: {
713714
type: 'json',
714715
description:
715-
'Conversation messages: [{id, body, fromNumber, toNumber, direction, channel, mediaUrl, receivedAt}]',
716+
'Conversation messages: [{id, body, fromNumber, toNumber, direction, channel, mediaUrl, mediaUrls, receivedAt}]',
716717
},
717718
reactionType: { type: 'string', description: 'Reaction type applied' },
718719
messageId: { type: 'string', description: 'Message ID' },

0 commit comments

Comments
 (0)