Replace Material
replace_materialUse when the user wants the material on a wall, floor, rug, curtain, countertop, backsplash, or another surface changed to match a reference image.
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": {
"surface": "<surface>"
},
"name": "replace_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | The room image attached by the user. Do not ask the user for file metadata. | |
| surface | Yes | Surface whose material should change, such as wall, floor, countertop, or backsplash. | |
| image_url | No | A link or inline copy of the room image supplied by the client. | |
| reference_image | No | The reference image attached by the user. Do not ask the user for file metadata. | |
| reference_image_url | No | A link or inline copy of the reference image supplied by the client. | |
| additional_instructions | No | Optional user preferences stated in natural language. Do not ask for this when the request is already clear. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |