Create question category
moodle_create_question_categoryCreates a Moodle question category in a course or quiz question bank, optionally nested under an existing parent category.
Instructions
Creates a question category (optionally under a parent category).
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": {
"name": "<name>"
},
"name": "moodle_create_question_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | No | Quiz cmid: use the quiz's own question bank instead of the course one | |
| info | No | ||
| name | Yes | ||
| courseid | No | Course id: use the course question bank | |
| parent_id | No |