Create asset
glpi_create_assetCreate a new asset in GLPI by providing the asset type and fields such as name, serial, location, and user. Populate inventory records for computers, monitors, printers, and other asset types.
Instructions
Create an asset. Common fields: name, entities_id, serial, otherserial, locations_id, states_id, manufacturers_id, users_id, comment.
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_type": "<asset_type>",
"input": "<input>"
},
"name": "glpi_create_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Asset fields | |
| asset_type | Yes | Asset itemtype, e.g. Computer, Monitor, Printer, NetworkEquipment, Software |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| replayed | No | True when an identical recent create was returned instead of repeated |