Custom Tool Script Enhancements in NetSuite 2026.1

NetSuite 2026.1 brings enhancements to Custom Tool Scripts, including improved execution logs and a new Custom Tools page for better management.

·3 min read·NetSuite 2026.1·View Oracle Docs

Starting in NetSuite 2026.1, significant enhancements have been made to Custom Tool Scripts, which are essential for integrating external AI clients via the NetSuite AI Connector Service. These changes improve visibility and management of custom tools, facilitating better monitoring and troubleshooting through execution logs.

What's New

Custom Tool Script and SDF Object Updates

The updates focus on enabling execution log support for Custom Tool Scripts. Users can now access execution logs via the Script Execution Logs page at Customization > Scripting > Script Execution Logs. To utilize this feature effectively, developers need to:

  • Update existing custom tool scripts: Include the JSDoc tag @NScriptType CustomTool.
  • Declare entry point functions for tool methods as asynchronous.
  • Revise the SDF object XML definitions:
    • Rename the SDF object from tool to toolset.
    • Change the script ID prefix from customtool_ to custtoolset_.
    • Rename the attribute exposeto3rdpartyagents to exposetoaiconnector.

Applying these updates is crucial for improved script monitoring and troubleshooting. Developers can refer to the guide on "How to Update Custom Tool Scripts for Execution Log Support in NetSuite 2026.1" for more information.

New Custom Tools Page

In addition to the script updates, the new Custom Tools page provides a centralized hub for viewing and managing available tools in the NetSuite account. This page, accessible via Customization > Scripting > Custom Tools, allows developers and administrators to:

  • Organize tools by toolsets (the defining SDF object) used for custom tool scripts.
  • View permissions for individual tools required for AI client access.
  • Delete Account Customization Projects (ACPs) toolsets directly, while SuiteApp toolsets must be removed via the Installed SuiteApps page.

Real-World Context and Best Practices

Custom Tool Scripts are a powerful feature that enables the integration of AI capabilities into NetSuite, allowing natural language processing for various tasks such as data retrieval and triggering actions. As a best practice, ensure that your custom tools are thoroughly tested and adequately documented to facilitate ease of use and understanding, especially for those who will interact with these tools via AI clients.

Important Limitations

Note that the N/http, N/https, and N/sftp modules are not supported in custom tool scripts, which might impact how you design tools that rely on these services.

Who This Affects

  • Developers: Responsible for creating and updating custom tool scripts.
  • Administrators: Overseeing custom tools management and access permissions.
  • IT Teams: Integrating AI clients with custom tools in NetSuite.

Key Takeaways

  • New execution log capabilities enhance monitoring and troubleshooting for custom tool scripts.
  • The Custom Tools page centralizes management of tools across SuiteApps and account customizations.
  • Developers must update existing scripts and SDF objects to leverage these new features effectively.

Frequently Asked Questions (4)

Are there any prerequisites for using the execution log support in Custom Tool Scripts for NetSuite 2026.1?
Yes, developers must update existing custom tool scripts to include the JSDoc tag '@NScriptType CustomTool' and declare entry point functions as asynchronous. They must also revise SDF object XML definitions for these features to function properly.
Where can I access the new Custom Tools page in NetSuite?
The Custom Tools page can be accessed via the path 'Customization > Scripting > Custom Tools'. It serves as a centralized hub for managing and organizing tools in the NetSuite account.
What are some important limitations of Custom Tool Scripts in NetSuite 2026.1?
Custom Tool Scripts do not support the 'N/http', 'N/https', and 'N/sftp' modules, which could affect the design of tools that rely on these services.
How does the new script ID prefix change affect existing SDF object definitions?
The script ID prefix needs to be changed from 'customtool_' to 'custtoolset_' in existing SDF object definitions. Failure to update this can result in incorrect execution of scripts.

Weekly Update History (1)

SuiteScriptadded

Added an entry for New Type Supported for Signer.update(options) Parameter.

View Oracle Docs
Source: Custom Tool Script Enhancements Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?