Compare 2–5 materials side-by-side on mechanical, thermal, and process properties.

Use when the user asks to compare materials (e.g. 'AL6061 vs SS304', 'which plastic is stronger'). Returns a structured comparison table grouped by property. Accepts 2–5 material IDs and an optional list of properties to compare.

post/tools/compare_materials

Request

  • Base URL: https://api.mechanofab.com/v1
  • URL: https://api.mechanofab.com/v1/tools/compare_materials
  • Auth: HTTP bearer

Request body

material_idsstring[] required

List of Material_IDs to compare

propertiesstring[]

Optional: which properties to include. Defaults to density, tensile, yield, max_temp, cost_tier.

Response

Tool result

winnerstring required
notesstring required
source_tagstring required

Changes

No recorded changes to this operation across all 1 revision of this API.