Custom Tool Script Enhancements for AI Integration in NetSuite
Custom tool scripts now feature enhanced execution logs and a new centralized tools management page in NetSuite.
Starting in NetSuite, significant enhancements have been made to custom tool scripts, which are critical for integrating AI capabilities into your NetSuite environment. These updates focus on improving script monitoring and management, specifically through enhanced execution logging and a new tools management interface.
What Are Custom Tool Scripts?
Custom tool scripts in NetSuite allow developers to design specific functionalities that can be triggered by external AI clients utilizing the NetSuite AI Connector Service. This integration enables access to data, execution of actions, and other SuiteScript-supported operations using natural language prompts.
Key Enhancements to Custom Tool Scripts
Custom Tool Script and SDF Object Updates
The following updates have been implemented for custom tool scripts and their corresponding SuiteCloud Development Framework (SDF) objects, allowing better execution logs and easier management:
-
Enhanced Logging: You can now view execution logs for custom tool scripts by navigating to Customization > Scripting > Script Execution Logs.
-
Update Requirements:
- For Custom Tool Scripts:
- Include the JSDoc tag
@NScriptType CustomTool. - Declare entry point functions for tool methods as asynchronous.
- Include the JSDoc tag
- For SDF Object XML Definitions:
- Change
tooltotoolsetin object names. - Update the
scriptidprefix fromcustomtool_tocusttoolset_. - Rename the attribute
exposeto3rdpartyagentstoexposetoaiconnector.
- Change
- For Custom Tool Scripts:
These updates enhance the monitoring and troubleshooting capabilities of your scripts. For detailed guidance on these changes, consult the appropriate resources in the SuiteAnswers platform.
New Custom Tools Page
A newly introduced Custom Tools page centralizes the management of tools within NetSuite, allowing users to view and manage their custom tool scripts easily.
- Accessing the Custom Tools Page: Navigate to Customization > Scripting > Custom Tools.
- Features of the Custom Tools Page:
- Displays tools from SuiteApps and account customization projects (ACPs) organized by toolset.
- Allows expansion of toolsets to view individual tools and required permissions for AI client access.
- Supports management actions, including deletion of ACP toolsets directly, while SuiteApp toolsets require a different uninstall process.
Such a centralized system streamlines the management of various custom tools, making it easier for developers and administrators to maintain their custom integrations.
Who This Affects
The enhancements primarily impact:
- Administrators responsible for managing custom scripts.
- Developers implementing tool scripts for AI integrations.
- Users utilizing custom tools via the AI Connector Service.
Key Takeaways
- Custom tool scripts now feature enhanced execution logs for better monitoring.
- A new Custom Tools page centralized the management of tools within NetSuite.
- Developers must update their scripts for compatibility with new requirements.
Source: This article is based on Oracle's official NetSuite documentation.
Frequently Asked Questions (4)
Do I need to update my existing SDF object XML definitions for custom tool scripts?
How can I view execution logs for my custom tool scripts in NetSuite?
What permissions are required to access tools on the new Custom Tools page?
Does the new Custom Tools page support deleting toolsets?
Weekly Update History (1)
Was this article helpful?
More in SuiteScript
- API Governance Units Calculation in NetSuite 2026.1
NetSuite 2026.1 introduces examples illustrating API governance unit calculations for both user event and scheduled scripts.
- Binary File Support in N/https Module for SuiteScript
SuiteScript enhances capabilities with binary file support in the N/https module, allowing improved data handling in external communications.
- Attach and Detach Operations in NetSuite 2026.1
Attach and detach operations for record relationships in NetSuite enhance data management and connectivity.
- Create-Form Operation in NetSuite 2026.1 REST Web Services
Create-form operation in NetSuite 2026.1 APIs streamlines record creation and enhances efficiency.
Also from NetSuite 2026.1
- Custom Labels for Additional Item Prices in NetSuite 2026.1
Custom labels enhance transaction summaries in NetSuite, improving clarity for item prices.
- Applied Trans Date and Period Enhancements in NetSuite 20...
Latest updates in NetSuite 2024.1 enhance Accounting SuiteApps with transaction line distribution features.
- Data Not Copied from Production to Sandbox in NetSuite 2026.1
In NetSuite 2026.1, key data like domains and customer roles are not copied to sandbox accounts during refreshes, impacting setup.
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
