I am working on custom tool, while deploying getti...
# ai-netsuite
l
I am working on custom tool, while deploying getting below error, any idea?
Copy code
An error occurred during custom object validation. (customtool_suiteql)
Details: The file /SuiteApps/com.mycompany.mcp/suiteql_schema.json referenced by the object field rpcschema is missing.
Details: The file /SuiteApps/com.mycompany.mcp/suiteql.js referenced by the object field scriptfile is missing.
File: ~/Objects/customtool_suiteql.xml
a
make sure your sdf object file is complete:
<tool scriptid="customtool_[name]">
<exposeto3rdpartyagents>T</exposeto3rdpartyagents>
<name>[name of tool]</name>
<rpcschema>[/SuiteScripts/path_to_json_file.json]</rpcschema>
<scriptfile>[/SuiteScripts/path_to_javascript_file.js]</scriptfile>
</tool>
looks like you are creating sutieapp, not account customization,
this guide walkthrough account customization way to create custom tool: https://www.linkedin.com/pulse/building-custom-tool-agent-netsuite-ai-connector-step-abdul-qadeer-fcg8f/
l
Yes, Thanks, Issue was with deploy file, I fixed that and now I can see my custom tool
🙌 1