@jclvsh/iris 0.19.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools/messages.js +4 -1
- package/package.json +1 -1
package/dist/tools/messages.js
CHANGED
|
@@ -56,7 +56,10 @@ export function registerMessageTools(server, client) {
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
server.tool("mark_message_sent", "mark a pending manual-channel draft (tiktok, or instagram cold first-touch) as sent outside the platform. API-sendable drafts must use approve_message instead. requires write scope.", {
|
|
59
|
-
id: z
|
|
59
|
+
id: z
|
|
60
|
+
.string()
|
|
61
|
+
.uuid()
|
|
62
|
+
.describe("approval queue item ID, or the message ID for drafts created via create_message (they have no approval item)"),
|
|
60
63
|
}, async ({ id }) => {
|
|
61
64
|
try {
|
|
62
65
|
const result = await client.post(`/messages/${id}/mark-sent`);
|