Skip to content

Commit ae9d653

Browse files
committed
Add render page url
1 parent 3dbc423 commit ae9d653

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tools/renderItem.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ export function registerRenderItem(server: McpServer) {
3939
const Output = {
4040
// Successful response
4141
renderId: z.string().optional().describe("Server-assigned render job ID."),
42+
renderDetailsPageUrl: z
43+
.string()
44+
.optional()
45+
.describe("URL to the render details page."),
4246
projectDesignId: z
4347
.string()
4448
.describe("Parent identifier (projectId or designId)."),
@@ -73,6 +77,7 @@ How to use:
7377
- Call this only once the user approved all parameters for the chosen template/variant.
7478
7579
Guidance:
80+
- Never submit more than one render with the same parameters, unless the user explicitly requests it.
7681
- Use parameters to customize the render.
7782
- All mandatory parameters must be provided.
7883
- Provide values for optional parameters if it makes sense.
@@ -148,6 +153,7 @@ Use when:
148153
// Successful submission
149154
const output = {
150155
renderId: render.id,
156+
renderDetailsPageUrl: `https://app.test.plainlyvideos.com/dashboard/renders/${render.id}`,
151157
projectDesignId: render.projectId,
152158
templateVariantId: render.templateId,
153159
projectDesignName: render.projectName,

0 commit comments

Comments
 (0)