Cloud Client Installation
A node client for interacting with Puck AI.
npm i @puckeditor/cloud-client --saveAPIs
| API | Description | Status |
|---|---|---|
chat() | Create a chat stream and intercept chat requests made by the plugin | Beta |
generate() | Generate a page, or update an existing one. | Unavailable |
puckHandler() | Create server handler for /api/puck/* endpoints used by the plugin | Beta |
tool() | Define a function that the agent can execute on your server. | Beta |