genart.dev
MCP ToolsDesign Knowledge

load_skill

Load a specific design knowledge skill, returning its full content including theory, implementation guidelines, parameter recommendations, and example code.

Note: This tool is a stub in Phase 3. Full implementation deferred to Phase 5 (Design Knowledge System).

Input Schema

ParameterTypeRequiredDescription
skillIdstringyesID of the skill to load
renderer'p5' | 'three' | 'glsl' | 'canvas2d' | 'svg'noRenderer-specific examples (default: 'p5')

Output Shape

{
  "success": true,
  "skill": {
    "id": "rhythm",
    "name": "Rhythm & Repetition",
    "category": "composition",
    "theory": "# Rhythm & Repetition\n\n...",
    "parameters": [
      { "key": "frequency", "label": "Frequency", "min": 1, "max": 20, "step": 1, "default": 5 }
    ],
    "exampleAlgorithm": "function sketch(p, state) { ... }"
  }
}

Side Effects

None. Read-only.

Error Cases

ConditionError
(stub)Returns "Not yet implemented — available in Phase 5"

Golden Path Example

Request:

{
  "skillId": "rhythm",
  "renderer": "p5"
}

Response (stub):

{
  "error": "Not yet implemented — available in Phase 5"
}