Get asset
glpi_get_assetRetrieve one GLPI asset by asset type and ID, returning essential or all fields in JSON or Markdown. Use it for quick asset lookups; for hardware details, call the asset-details tool.
Instructions
Retrieve a single asset by type and ID. For hardware detail use glpi_get_asset_details.
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 | |
| asset_type | Yes | Asset itemtype, e.g. Computer, Monitor, Printer, NetworkEquipment, Software | |
| expand_dropdowns | No | Expand dropdown IDs to names |
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 |