update_course
Update an existing course by providing its ID and new details like title, description, difficulty, modules, videos, and tools. Use this action to revise course content while preserving related entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | Path to course image (optional, default standard image) | |
| title | Yes | Course title (required, automatically generates slug) | |
| tools | No | Array of tool IDs from libraries service (optional, can be empty array) | |
| videos | No | Array of video URLs (optional) | |
| isDraft | No | Is draft (optional, default: true) | |
| modules | No | Course modules with lesson IDs (create lessons first, then add their IDs to modules) | |
| courseId | Yes | Course ID for update | |
| difficulty | Yes | Difficulty level (required) | |
| description | Yes | Course description (required) | |
| professions | No | Array of profession IDs from microservice (optional, can be empty array) |