Get asset details
glpi_get_asset_detailsRetrieve GLPI asset details by ID, including OS, processors, memory, disks, or optional software and network sections, with dropdown IDs resolved to names.
Instructions
Enriched asset view in one request: operating system, processors, memory and disks by default. Ask for sections ['softwares'] or ['networkports'] explicitly — on an inventoried host those are the bulk of the payload. Dropdown IDs come resolved to names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Field set: 'essential' (default, trims internal GLPI fields) or 'all' | |
| format | No | Output format: 'json' (default) or 'markdown' (a table for listings, key/value lines for one item; returned in both the text and the structured result) | |
| assetId | Yes | Item ID | |
| sections | No | Sections to expand (default: devices, disks, softwares, networkports) | |
| asset_type | Yes | Asset itemtype, e.g. Computer, Monitor, Printer, NetworkEquipment, Software | |
| max_items_per_section | No | Rows kept per expanded section (default 25); the rest is reported as a count |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| note | No | Pagination hint: how to fetch the next page | |
| count | No | Items in this page | |
| format | No | 'markdown' when data holds the markdown rendering |