Bring records in from a file
import_recordsCreate records from attached CSV, vCard, or mbox files, matching columns to fields and linking or creating people by email, phone, or name. Use to turn file contents into records; returns count.
Instructions
Make records from a file the person added: a CSV with a header row, a vCard (.vcf) of contacts, or a mailbox (.mbox) of mail. Each column is matched to a field by name; a column for an email, phone or name links each row to its person, made when new. Use it when the person attaches such a file and wants its contents as records, rather than creating them one by one. Returns how many were made.
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": {
"type": "<type>",
"file": "<file>"
},
"name": "import_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The id of the file record, from the message it came with or from find_records on file. | |
| type | Yes | A content type, as the prompt lists it. | |
| mapping | No | Optional: which column feeds which field, as {column: field}. Leave out to match by name. |