manage_imports
Manage CSV import operations for bulk data entry: upload files, list/get/delete imports, and process them with field mappings to update Snipe-IT inventory records.
Instructions
Manage CSV import operations for bulk data import.
The import workflow is: upload → process (with import_type and field_map). Snipe-IT saves the column mapping when the import is processed; there is no separate step to store it.
Operations:
list: List all import files (with header row, first row and saved mapping)
get: Get one import file's details (taken from the list; Snipe-IT has no single-import endpoint)
upload: Upload a CSV file for import
delete: Delete an import file
process: Execute the import with import_data
Common field mappings for assets:
asset_tag, name, serial, model_id, status_id
purchase_date, purchase_cost, order_number
notes, warranty_months, supplier_id
location_id, company_id, category_id
Returns: dict: Result of the operation including success status and data
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": {
"action": "<action>"
},
"name": "manage_imports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The import action to perform | |
| file_path | No | Path to CSV file (required for upload action) | |
| import_id | No | Import file ID (required for get, delete, process) | |
| import_data | No | Import type, column mapping and options (process action; import_type is required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||