Create asset placement
create_asset_placementPlace an asset on a floorplan at the given (x, y) coordinate (normalized 0-1, origin top-left). UPSERTS by asset_id - an asset can have at most ONE placement globally, so calling this again just moves the pin. Use bulk_create with resource="asset-placements" to place many assets at once. Requires asset_placements:write scope.
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": {
"asset_id": "<asset_id>",
"floorplan_id": "<floorplan_id>",
"x": "<x>",
"y": "<y>"
},
"name": "create_asset_placement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Normalized x coordinate (0=left, 1=right) | |
| y | Yes | Normalized y coordinate (0=top, 1=bottom) | |
| source | No | "manual" (default) or "ai" for AI-placed | |
| asset_id | Yes | Asset to place (resolve via list_assets) | |
| region_id | No | Region the pin sits inside. Not inferred from the pin position: set it if the pin belongs to a region. - resolve via list_floorplan_regions | |
| floorplan_id | Yes | Target floorplan (resolve via list_floorplans) |