ns_getRecordTypeMetadata

Tool Description

Retrieves metadata for all NetSuite record types or for a specific record type, including available fields and their data types. By obtaining this metadata, you can ensure that any new records or updates are structured correctly and include all required data.

This tool is called by ns_createRecord and ns_updateRecord first before performing their respective operations.

Annotation

Get Record Type Metadata

Properties

Property

Type

Required or Optional

Description

recordType

string

Optional

The NetSuite record type you want to get metadata for. If not specified, the tool returns metadata for all available records types.

Permissions

Only user roles with the following permissions can see this tool in the AI client. However, the data you can see depends on the permissions assigned to your NetSuite role.

Permission ID

Permission Name

Level

ADMI_RESTWEBSERVICES

REST Web Services

Full

Related Topics

General Notices