Get Asset
hudu_get_assetFetch a single asset from Hudu with all its custom field values. Requires the owning company ID and asset ID; returns layout-defined fields for reading or updating.
Instructions
Fetch one asset with every value stored on it. An asset is any documented thing that belongs to a company — a server, a workstation, a firewall, a licence, a contact. The asset layout it was created from decides which custom fields it carries.
Assets are read globally but written per company. This tool needs the owning company id as well as the asset id, because Hudu exposes no /assets/{id} route. If you found the asset with hudu_list_assets, take company_id straight from that record; if all you have is an asset id, call hudu_list_assets with id set to it and read company_id off the result.
Layout-defined data comes back under fields: an array of {id, label, value, position} objects, one per field the layout defines. Read it here before any update, because a PUT replaces the values it is given.
Operation class: Read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id of the asset, as returned by hudu_list_assets or hudu_list_company_assets. | |
| company_id | Yes | Numeric id of the company that owns this asset. Not optional and not guessable — an asset id belonging to company A returns 404 under company B, indistinguishable from a deleted asset. | |
| response_format | No | Output shape. 'json' (default) is compact and machine-readable; 'markdown' is easier for a person to read but larger. | json |