netsuite_attach_file_to_record
Attach a File Cabinet file to a NetSuite record (e.g., vendor bill) using record type, record ID, and file ID. Use after uploading the file.
Instructions
Attach a File Cabinet file to a NetSuite record (e.g. vendor bill). Use after netsuite_upload_file. Required: recordType ('vendorBill', 'vendorCredit', etc.), recordId (internal ID), fileId (from upload).
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": {
"recordType": "<recordType>",
"recordId": "<recordId>",
"fileId": "<fileId>"
},
"name": "netsuite_attach_file_to_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File internal ID from netsuite_upload_file | |
| recordId | Yes | Record internal ID | |
| recordType | Yes | e.g. vendorBill, vendorCredit |