toolset

Important:

NetSuite 2026.1 includes changes to the custom tool script type and its corresponding SDF object, enabling execution log support for custom tool scripts. To use this logging feature, new and existing custom tools must follow the updated specifications. For information about the changes, see How to Update Custom Tool Scripts for Execution Log Support in NetSuite 2026.1 (SuiteAnswers ID: 1024036).

This topic provides information about the available fields for toolset SDF custom objects, which is used to define custom tool scripts in the SuiteCloud Development Framework (SDF).

For information about developing custom tool scripts, see SuiteScript 2.1 Custom Tool Script Type.

For additional information about the custom tool script object definition file, see Custom Tool Scripts as XML Definitions.

Feature Dependencies

  • SERVERSIDESCRIPTING

Attributes

Name

Type

Required / Optional

Description

scriptid

string

Required

The ID of the custom tool object definition XML file.

Ensure that:

  • The value starts with the prefix custtoolset.

  • It is in lowercase.

  • It contains only alphanumeric characters and underscores.

  • It is unique.

  • It matches the name of the custom tool object definition XML file.

This attribute value can be up to 27 characters long.

The default value is 'custtoolset'.

Fields

Name

Type

Required / Optional

Description

name

string

Required

Toolset name.

scriptfile

filereference

Required

Location of the custom tool script file.

This field must reference a .js file.

rpcschema

filereference

Required

Location of the custom tool JSON schema file.

This field must reference a .json file.

exposetoaiconnector

boolean

Optional

Set to T to make the toolset available through the NetSuite AI Connector Service.

The default value is F.

Structured Fields

Structured fields are elements that usually contain subfields or groups of fields. They are similar to regular fields but have their own embedded structure. The following structured fields are supported:

General Notices