site_serve
Serve a site project directory you built in the workspace: preview mode returns a temporary review URL, publish mode deploys to the public URL. First serve allocates the slug from the title; pass siteReference to update an existing served site. `site_publish` · v3
Authorization
memberToken Tokens
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
text/plain
text/plain
text/plain
text/plain
curl -X POST "https://example.com/tools/site_serve/invoke" \ -H "Content-Type: application/json" \ -d '{ "input": { "mode": "preview", "sourceWorkspacePath": "string", "title": "string" } }'{ "toolName": "string", "status": "string", "content": "string", "isError": true, "message": "string", "errorCode": "string", "retryable": true, "result": null}site_list POST
List served sites with their exact siteID, slug, lifecycle status, and published URL. Pass siteReference to read one site. `read` · v3
site_unserve POST
Take a served site down after explicit runtime approval: unpublishes it, frees its slug, and deletes the server-side record. Workspace source files are not touched. `destructive` · approval · v3