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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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