run-suiteql tool for SQL-like reads, and a raw-request passthrough for any other REST endpoint.
Finding record types, fields, and SuiteQL tables
NetSuite accounts are heavily customizable, so record and field names vary between accounts. Use these Oracle-maintained references when writing queries or record payloads:- Records Browser: every record type, its fields, and sublists.
- Analytics Data Source Schema Browser: the tables and columns available to SuiteQL.
- SuiteQL reference: SuiteQL language syntax and supported functions.
list-record-types and get-record-metadata from a workflow to discover what the current NetSuite account exposes.
Connection setup
Enable TBA in NetSuite
Create an integration record
Create an access token
Note your Account ID
_SB suffix (e.g. 1234567_SB1).Add the connection in Spojit
Tools
Utility
verify-connection: Test credentials and account
verify-connection: Test credentials and account
Metadata / discovery
list-record-types: List all record types in this account
list-record-types: List all record types in this account
get-record-metadata: Get the schema for one record type
get-record-metadata: Get the schema for one record type
customer, salesOrder, invoice.Customers
list-customers: List customers
list-customers: List customers
get-customer: Fetch a customer by ID
get-customer: Fetch a customer by ID
create-customer: Create a customer
create-customer: Create a customer
companyName, email, phone, subsidiary, isPerson, firstName, lastName.Location response header (e.g. /record/v1/customer/512).Sales orders
list-sales-orders: List sales orders
list-sales-orders: List sales orders
Invoices
list-invoices: List invoices
list-invoices: List invoices
Items
inventoryItem, assemblyItem, nonInventorySaleItem, serviceSaleItem, …). The tools below default to inventoryItem. To list across all subtypes, use run-suiteql with SELECT id, itemid, itemtype FROM item.list-items: List items of a subtype
list-items: List items of a subtype
Item fulfillments
POST /record/v1/itemFulfillment. The create-item-fulfillment tool wraps the transform endpoint so the LLM doesn’t need to know the URL convention.list-item-fulfillments: List fulfillment records
list-item-fulfillments: List fulfillment records
get-item-fulfillment: Fetch a fulfillment by ID
get-item-fulfillment: Fetch a fulfillment by ID
Generic record CRUD
Use these when the record type isn’t covered by a domain-specific tool (e.g.purchaseOrder, vendorBill, journalEntry, employee).
get-record: Fetch any record by type and ID
get-record: Fetch any record by type and ID
list-records: List records of a type
list-records: List records of a type
update-record: Patch any record
update-record: Patch any record
Sublists
get-sublist: Fetch a sublist from a record
get-sublist: Fetch a sublist from a record
Advanced
raw-request: Make any signed REST request
raw-request: Make any signed REST request
path is relative to /services/rest.GET, POST, PUT, PATCH, or DELETE./services/rest (e.g. /record/v1/vendorBill).