Custom Tool Script Enhancements in NetSuite
NetSuite 2026.1 enhances custom tool scripts with execution logs, a new management page, and binary file support. TL;DR Opening
TL;DR Opening
Starting in the Weekly Update on February 16, 2026, NetSuite introduces enhancements to custom tool scripts in version 2026.1, including execution log support, a centralized management page for better organization and oversight of tools, and binary file support for the N/https module. These updates streamline debugging, facilitate the optimization of custom tools, and handle binary files used with the NetSuite AI Connector Service.
What's New
Custom Tool Script and SDF Object Updates
The custom tool script type and its corresponding SuiteCloud Development Framework (SDF) object have undergone significant updates in NetSuite 2026.1. Notably, you can now access execution logs for custom tool scripts via the Script Execution Logs page located at Customization > Scripting > Script Execution Logs.
To leverage this new logging feature, existing and new custom tool scripts must be updated. Here’s what you need to do:
-
For Custom Tool Scripts:
- Add the JSDoc tag
@NScriptType CustomTool. - Declare entry point functions for tool methods as asynchronous.
- Add the JSDoc tag
-
For SDF Object XML Definitions:
- Change the SDF object name from
tooltotoolset. - Update the script ID prefix from
customtool_tocusttoolset_. - Rename the attribute
exposeto3rdpartyagentstoexposetoaiconnector.
- Change the SDF object name from
These changes enhance script monitoring and troubleshooting, enabling developers to better manage their custom tools. For detailed guidance, refer to How to Update Custom Tool Scripts for Execution Log Support in NetSuite 2026.1 (SuiteAnswers ID: 1024036).
New Custom Tools Page
In addition to script and SDF updates, NetSuite now features a new Custom Tools page. This page centralizes the viewing and management of custom tools available in your account. Here, you can find tools from SuiteApps and account customization projects (ACPs), organized by toolset, which refers to the new SDF object structure.
To access the Custom Tools page, navigate to Customization > Scripting > Custom Tools.
- Expanding a toolset reveals individual tools and associated permissions required for access via the AI client.
- You can delete ACP toolsets directly, but SuiteApp toolsets cannot be deleted from this page—use the link to the Installed SuiteApps page for uninstallation.
The new page enhances user experience by simplifying access and visibility into custom tool functionalities.
Binary File Support for N/https Module
In addition, NetSuite 2026.1 introduces binary file support for the N/https module. You can now send a binary file in SuiteScript by converting the file contents to a Uint8Array using Uint8Array.fromBase64(), then passing the result in the options.body parameter of https.post(options). Only one file can be sent per request.
For details, see https.post(options).
Key Takeaways
- Custom tool scripts now support execution logs for enhanced troubleshooting.
- The new Custom Tools page centralizes tool management for better visibility.
- Updates include changes to SDF object structure, enhancing compatibility with the NetSuite AI Connector Service.
- Developers must update existing tools to utilize the new features effectively.
Frequently Asked Questions (4)
What scripting changes are necessary to benefit from execution logs in NetSuite 2026.1?
Is there a new location to manage and view custom tools in NetSuite 2026.1?
How do the changes in SDF object structures affect existing custom tool scripts?
Can I use the `N/https` module to send binary files in NetSuite 2026.1?
Weekly Update History (4)
Added an entry for Custom Tool Script Files Are Not Editable in the File Cabinet.
View Oracle DocsWas this article helpful?
More in SuiteCloud Development Framework
- beforeUndeploy Installation Hook in NetSuite 2026.1
Introducing the beforeUndeploy installation hook in NetSuite 2026.1 for custom pre-uninstall logic in SuiteApps.
- SuiteCloud CLI for Node.js: New Features Overview
Explore the new features of SuiteCloud CLI for Node.js, enhancing SuiteCloud project development with interactive tools.
- SuiteCloud Development Framework in NetSuite 2026.1
SuiteCloud Development Framework features in NetSuite 2026.1 enhance customization, deployment, and management for developers.
- SuiteCloud CLI for Java in NetSuite 2026.1
SuiteCloud CLI for Java enhances development workflows in NetSuite 2026.1. Discover its features and benefits. Introduction
Also from NetSuite 2026.1
- Unlimited Sandbox Refreshes in NetSuite 2026.1
Starting in NetSuite 2026.1, sandbox accounts can be refreshed an unlimited number of times, enhancing testing capabilities.
- Enriched Bank Data for Improved Transaction Matching in NetSuite
Updated for NetSuite 2026.1: Enriched Bank Data feature enhances transaction matching accuracy using generative AI.
- Natural Language Queries in NetSuite AI
Updated for NetSuite 2026.1, featuring enhancements in natural language queries. The MCP Standard Tools SuiteApp offers enhanced AI-driven interaction with
- Loop Returns Integration in NetSuite Connector 2026.1
Updated to include features of the Loop Returns integration in NetSuite Connector 2026.1. Loop Returns Integration in NetSuite Connector 2026.1
Advertising
Reach SuiteCloud Development Framework Professionals
Put your product in front of NetSuite experts who work with SuiteCloud Development Framework every day.
Sponsor This Category