search_assets
Search Lansweeper assets by name, IP address, MAC address, or operating system to find and filter devices by type.
Instructions
Search for assets across Lansweeper by name, IP address, MAC address, or operating system.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | No | Search by MAC address (e.g., 00:11:22:33:44:55) | |
| name | No | Search by asset name (partial match) | |
| limit | No | Maximum number of results to return | |
| os_name | No | Filter by operating system name (e.g., Windows 10, Ubuntu) | |
| site_id | No | Site ID to query (overrides LANSWEEPER_SITE_ID environment variable) | |
| asset_type | No | Filter by asset type (e.g., Windows, Linux, VMware) | |
| ip_address | No | Search by IP address (exact or partial match) |