@clipform/mcp-server 2.0.2 → 2.0.4
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.
|
@@ -17833,7 +17833,8 @@ var MediaAssetItemSchema = external_exports.object({
|
|
|
17833
17833
|
})
|
|
17834
17834
|
).optional().describe("Per-word timestamps within the segment")
|
|
17835
17835
|
})
|
|
17836
|
-
).optional().describe("Word-level captions from clipform_generate_tts. Required for per-word highlighting - pass the full objects including 'words' arrays.")
|
|
17836
|
+
).optional().describe("Word-level captions from clipform_generate_tts. Required for per-word highlighting - pass the full objects including 'words' arrays."),
|
|
17837
|
+
ai_generated: external_exports.boolean().optional().describe("Whether this media was AI-generated. Drives the viewer's disclosure chip - set true for AI-rendered/synthesized media.")
|
|
17837
17838
|
});
|
|
17838
17839
|
function registerUploadMediaAssetTool(server) {
|
|
17839
17840
|
server.registerTool(
|
|
@@ -17890,6 +17891,7 @@ When a public URL is provided, the media is fetched and stored automatically. Fo
|
|
|
17890
17891
|
};
|
|
17891
17892
|
if (item.url) createBody.url = item.url;
|
|
17892
17893
|
if (item.captions) createBody.captions = item.captions;
|
|
17894
|
+
if (item.ai_generated !== void 0) createBody.ai_generated = item.ai_generated;
|
|
17893
17895
|
const created = await callApi(`/workspaces/${workspaceId}/media`, { method: "POST", body: createBody });
|
|
17894
17896
|
if (!created.ok) {
|
|
17895
17897
|
lines.push(`FAILED: ${created.error}`);
|
|
@@ -18932,7 +18934,7 @@ function registerSearchMusicTool(server) {
|
|
|
18932
18934
|
"clipform_search_music",
|
|
18933
18935
|
{
|
|
18934
18936
|
title: "Search Music",
|
|
18935
|
-
description: `Search for royalty-free music tracks and ambient sounds. Quiz forms especially benefit from background music - it keeps energy up between questions. Also consider it for multi-step surveys and longer forms. Pass the returned URL as the audio track to clipform_generate_video or
|
|
18937
|
+
description: `Search for royalty-free music tracks and ambient sounds. Quiz forms especially benefit from background music - it keeps energy up between questions. Also consider it for multi-step surveys and longer forms. Pass the returned URL as the audio track to clipform_generate_video, or as the audio for the slideshow video template via clipform_render_video_template. Returns download URLs, duration, artist, and license info.`,
|
|
18936
18938
|
inputSchema: {
|
|
18937
18939
|
query: external_exports.string().describe("What to search for (e.g. 'upbeat quiz background', 'calm ambient', 'playful pizzicato')"),
|
|
18938
18940
|
count: external_exports.number().min(1).max(10).default(5).optional().describe("Max results (default: 5)"),
|
|
@@ -19917,4 +19919,4 @@ export {
|
|
|
19917
19919
|
RENDER_TIMING,
|
|
19918
19920
|
createServer
|
|
19919
19921
|
};
|
|
19920
|
-
//# sourceMappingURL=chunk-
|
|
19922
|
+
//# sourceMappingURL=chunk-CO4VUQDT.js.map
|