Classify a face shape from four measurements
classify_face_shapeRuns the same seven-rule face shape classifier as thefaceanalysis.com/face-shape-detector on four distances and returns the shape (oval, round, square, heart, oblong, diamond or triangle), the rule that matched, the four ratios it used, and links to the methodology and detector. Rules are checked in a fixed order (oblong, triangle, round, square, heart, diamond) and oval is the fallback when none match; only ratios matter, so any consistent unit works. Use this when you already have the four distances; it does not look at photos: to measure a photo, use the widget (get_embed_snippet) or the site, and use get_face_type for what a shape means. Borderline faces can flip between two shapes; no accuracy figure is claimed because the reference set has no labelled face types. Read-only; zero, negative or missing values are rejected with a validation error.
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": {
"face_length": "<face_length>",
"cheekbone_width": "<cheekbone_width>",
"forehead_width": "<forehead_width>",
"jaw_width": "<jaw_width>"
},
"name": "classify_face_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jaw_width | Yes | Jaw width, measured across the jaw. Positive number, same unit. | |
| face_length | Yes | Face length: top of the forehead surface (hairline side) to the bottom of the chin. Positive number, same unit as the other three (pixels, mm, cm or landmark units). | |
| forehead_width | Yes | Forehead width, measured across the temples. Positive number, same unit. | |
| cheekbone_width | Yes | Face width at the widest point across the cheekbones. Positive number, same unit; every ratio is taken against this or the jaw. |