reupload_course
Re-upload a cached course from JSON spec to a Frappe LMS instance. Migrate courses between instances by specifying the cache ID and target connection.
Instructions
Re-upload a cached course to a Frappe LMS instance. Uses the stored JSON spec to recreate the course on the specified (or active) connection. Useful for migrating courses between Frappe instances. Args: course_id: The cache ID of the course to re-upload. connection_name: Target connection name. Empty = active connection.
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": {
"course_id": "<course_id>"
},
"name": "reupload_course"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | ||
| connection_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |