Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
NetSuite AI Claude Custom Tool
Context
• Goal: Expose a Custom Tool to an external AI client (Claude) via NetSuite MCP.
• Project type: ACP (not SuiteApp).
• Account: tstdrvXXXXXX (SB).
• Client URLs tried:
– https://tstdrvXXXXXX.suitetalk.api.netsuite.com/services/mcp/v1/all
– https://tstdrvXXXXXX.app.netsuite.com/services/mcp/v1/all
What I built
• Script: vendormanagement_acp.js — SuiteScript 2.1 with u/NScriptType CustomTool.
• Schema: vendormanagement_schema_acp.json — method names match the JS exports.
• Tool XML: customtool_vendormanagement_acp.xml — correct scriptfile/rpcschema paths to /SuiteScripts, exposeto3rdpartyagents=T.
What I already tried
- Added u/NScriptType CustomTool; redeployed.
- Verified schema vs JS names; validated JSON (also tried adding "nullable": []).
1