Material options by project type
get_material_optionsRead-onlyIdempotent
Get available material choices for a project type — flooring types, paint grades, decking materials, kitchen/bath/basement/ADU scope tiers, ADA modifications, etc. Use the returned IDs in the project fields of get_estimate.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectType | Yes | The project type to list materials for |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Shape varies by project type — an array of {id,name,costPerUnit,unit} for the material-driven types, a keyed catalog for the scope-driven ones (kitchen, bathroom, basement, adu, ada). | |
| attribution | Yes | ||
| projectType | Yes |