create_book
Create a new Leanpub book by specifying title and slug, with optional sync modes (Browser, GitHub, or Upload) and branch settings for publishing and previewing.
Instructions
Create a new Leanpub book (Browser, GitHub, or Upload mode).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| title | Yes | ||
| syncMode | No | ||
| githubPath | No | Required for GitHub mode, e.g. 'user/repo' | |
| languageId | No | ||
| publisherId | No | ||
| previewBranch | No | ||
| publishBranch | No |