publicar_ficha_clase
Publish a FichaClase markdown file as a Moodle course section with component modules. Updates existing sections without duplication and supports hidden or visible publishing modes.
Instructions
Publish a FichaClase markdown file as a Moodle section with component modules. Idempotent: republishing the same Ficha updates in place, never duplicates. Default modo is oculto (hidden). Use publicar_preview + confirmar_preview for the preview workflow.
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": {
"ficha_path": "<ficha_path>",
"course_id": "<course_id>"
},
"name": "publicar_ficha_clase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ficha_path | Yes | ||
| course_id | Yes | ||
| section_id | No | ||
| modo | No | oculto |