MCP ServerTool Reference
Save Path Node
Save Path Node MCP tool.
Save Path Node
Create a course node (course_id) or assessment node (exam_id), or update one by id; sequence_order alone reorders it. New nodes join no editor_layout block.
Contract
| Field | Value |
|---|---|
| Tool name | save_path_node |
| Domain | learning_paths |
| Required scopes | courses:write |
| Title | Save path node |
| Read only hint | false |
| Destructive hint | false |
| Idempotent hint | true |
| Open world hint | false |
| Bulk limit | none |
| Timeout | 10000ms |
| Kill switch key | learning_paths.nodes.save |
| REST siblings | POST /api/public/v1/learning-path-nodes/{id}/reorder, PUT /api/public/v1/learning-path-nodes/{id}, POST /api/public/v1/learning-paths/{path_id}/nodes |
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"path_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"node_type": {
"type": "string",
"enum": [
"course",
"assessment"
]
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"description": {
"type": "string"
},
"sequence_order": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"course_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"exam_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"is_required": {
"type": "boolean"
},
"estimated_duration_minutes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"incoming_logic": {
"type": "string",
"enum": [
"AND",
"OR"
]
},
"idempotency_key": {
"type": "string",
"minLength": 8,
"maxLength": 200,
"pattern": "^[A-Za-z0-9._:-]+$"
}
},
"required": [
"idempotency_key"
],
"additionalProperties": false
}Output Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"content": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "text"
},
"text": {
"type": "string"
}
},
"required": [
"type",
"text"
],
"additionalProperties": false
}
}
},
"required": [
"content"
],
"additionalProperties": false
}