Add a material
add_materialAdd a material your shop prints (PLA, PETG, ABS, TPU, ASA, RESIN or NYLON) with its prices. Then add colors with add_material_colors. Needs a connected Printlooper account.
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": {
"type": "<type>",
"price_per_gram_usd": "<price_per_gram_usd>"
},
"name": "add_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| setup_fee_usd | No | ||
| default_finish | No | Left out, the material starts on matte, or on its first allowed finish where it has no matte (PETG) | |
| lead_time_days | No | ||
| min_job_price_usd | No | ||
| price_per_gram_usd | Yes | ||
| failure_rate_percent | No | ||
| post_processing_fee_usd | No |