genart.dev
MCP ToolsArtist & Critique

update_reference_analysis

Save structured analysis back to reference.

Input Schema

ParameterTypeRequiredDescription
referenceIdstringYesID of the reference to update.
seriesIdstringNoID of the series the reference belongs to.
sketchIdstringNoID of the sketch the reference is attached to.
analysisobjectYesStructured analysis to save. All fields are optional.
analysis.compositionstringNoCompositional analysis.
analysis.palettestringNoPalette and color analysis.
analysis.rhythmstringNoRhythm and repetition analysis.
analysis.moodstringNoMood and emotional quality analysis.
analysis.techniquestringNoTechnique and execution analysis.
analysis.keyQualitiesarray of stringNoKey visual qualities identified.

Output Shape

{
  "referenceId": "ref-hk4701",
  "updated": true,
  "analysis": {
    "composition": "...",
    "palette": "...",
    "rhythm": "...",
    "mood": "...",
    "technique": "...",
    "keyQualities": ["..."]
  }
}

Side Effects

  • Persists the analysis data to the reference record in the workspace.

Error Cases

ErrorCause
Reference not foundThe provided referenceId does not match any stored reference.
Analysis is requiredThe analysis parameter was missing or empty.
Series not foundThe provided seriesId does not match any existing series.
Sketch not foundThe provided sketchId does not match any saved sketch.

Golden Path Example

Request

{
  "referenceId": "ref-hk4701",
  "analysis": {
    "composition": "Central radial symmetry with concentric rings.",
    "palette": "Warm yellows and oranges with cool blue accents.",
    "keyQualities": ["radial symmetry", "flat color", "spiritual geometry"]
  }
}

Response

{
  "referenceId": "ref-hk4701",
  "updated": true,
  "analysis": {
    "composition": "Central radial symmetry with concentric rings.",
    "palette": "Warm yellows and oranges with cool blue accents.",
    "rhythm": null,
    "mood": null,
    "technique": null,
    "keyQualities": ["radial symmetry", "flat color", "spiritual geometry"]
  }
}