Metis · Course Builder — Save Course Sources
save_course_sourcesSaves harvested source metadata for a course as YAML files in its sources directory and advances the build to the next step.
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"}]'
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"sources": "<sources>"
},
"name": "save_course_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| sources | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |