Skip to content

List exercise labels

Use this to discover canonical ChalkSurf exercise label IDs before creating or updating exercises.

{
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
},
"fileParams": [],
"requiredPermission": "read",
"security": {
"type": "oauth2",
"scopes": [
"chalksurf:read"
]
}
}

The server advertises this JSON Schema to MCP clients. Runtime authorization and business-rule checks still apply.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"subject": {
"enum": [
"math",
"physics",
"chemistry"
],
"type": "string"
}
},
"type": "object"
}
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"labels": {
"items": {
"additionalProperties": false,
"properties": {
"childIds": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"depth": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"displayPath": {
"minLength": 1,
"type": "string"
},
"id": {
"minLength": 1,
"type": "string"
},
"name": {
"minLength": 1,
"type": "string"
},
"parentId": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"pathIds": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"pathNames": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"subject": {
"enum": [
"math",
"physics",
"chemistry"
],
"type": "string"
}
},
"required": [
"id",
"subject",
"name",
"parentId",
"depth",
"pathIds",
"pathNames",
"displayPath",
"childIds"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"labels"
],
"type": "object"
}