@typeroll/mcp-server 0.44.57 → 0.44.58
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/media.js +12 -0
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/tools/media.js
CHANGED
|
@@ -118,6 +118,18 @@ export const mediaTools = [
|
|
|
118
118
|
return ok(res);
|
|
119
119
|
}),
|
|
120
120
|
},
|
|
121
|
+
{
|
|
122
|
+
name: 'get_media_preparation',
|
|
123
|
+
description: 'Read background image preparation progress. Originals and prepared draft variants remain private. Requires site access.',
|
|
124
|
+
inputSchema: {},
|
|
125
|
+
handler: withErrorBoundary(async (_args, { client, siteId }) => ok(await client.get(siteId, 'media/preparation'))),
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: 'prepare_media',
|
|
129
|
+
description: 'Queue or retry background image preparation on the organization’s selected build provider. Requires site admin permission; does not publish the site.',
|
|
130
|
+
inputSchema: {},
|
|
131
|
+
handler: withErrorBoundary(async (_args, { client, siteId }) => ok(await client.post(siteId, 'media/preparation'))),
|
|
132
|
+
},
|
|
121
133
|
{
|
|
122
134
|
name: 'read_media',
|
|
123
135
|
description: 'Read one media item\'s metadata by id.',
|
package/dist/version.js
CHANGED
package/package.json
CHANGED