save_course_sources
Save harvested source metadata for a course by passing a JSON array of source objects with title and at least one identifier (url, file_path, or doi) to persist as YAML files.
Instructions
Step 3 — Save harvested source metadata for a course.
Call this after the Content Harvester has collected materials. Pass a
JSON array of source objects. Each source is written as a YAML file in
`knowledge/courses/{slug}/sources/` and the build advances to Step 4.
Args:
slug: The course slug.
sources: JSON array of source dicts — each must have at least a
``title`` and one of ``url``, ``file_path``, or ``doi``.
Example: '[{"title": "OpenIntro Stats", "url": "https://openintro.org/book/os/", "type": "textbook"}]'Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| sources | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |