Create import from paste
create_import_from_pasteCreate an import job from pasted CSV/TSV text and parse it. Next call map_import, then preview_import, then commit_import. target_type is one of EVENT, LEAD, INVENTORY, MEMBER, VENUE, CUSTOMER, SONG, SETLIST, PACK_ITEM: CUSTOMER for clients and companies, VENUE for venues, MEMBER for crew, SONG and SETLIST for the song library, PACK_ITEM for gear lines on gigs that already exist. Runs on the first call; there is no confirmation step.
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": {
"target_type": "<target_type>",
"paste_text": "<paste_text>"
},
"name": "create_import_from_paste"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paste_text | Yes | the raw CSV, semicolon-separated, or TSV text to import (the first row should be a header row) | |
| source_name | No | a label for this import (e.g. the original filename); defaults to 'pasted-data' | |
| target_type | Yes | what the data becomes: EVENT, LEAD, INVENTORY, MEMBER, VENUE, CUSTOMER, SONG, SETLIST, PACK_ITEM | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { job { id, status, target_type, target_event_id, source_type, source_name, total_rows, commit_result }, preview } } | |
| error | No | when ok is false |