Artifacts
Replace an artifact's source
Changed onCompiles React source and publishes it as the next revision of an artifact, exactly as update_app does for an agent. The artifact keeps its tools, saved data and public link. Requires the artifactsCli feature, editor access to the artifact, and the revision the caller last saw.
put/v1/mcp-apps/{appId}
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
appId, string required
Request body
Mcp App Deploy Replace Request required
title, string required
description, string
textFallback, string required
reactSource, string required
cssSource, string
expectedRevisionId, string required
Response
The published revision.
Mcp App Deploy Response required
appId, string required
pluginId, string required
revisionId, string required
title, string required
description, string nullable required
textFallback, string required
toolName, 'open_app' required
resourceUri, string required
serverPath, string required
tools, object[] required
Changes
- info
endpoint added
- info