Create a new assistant toolAsk AIpost https://apis.smartly.ai/assistantToolCreate a new custom assistant toolBody ParamsnamestringrequireddefinitionstringrequiredJSON string containing the tool definitionfunctionstringrequiredJavaScript code for the tool executionicon_urlstringDefaults to assets/img/integrations/custom-tool.pngResponses 200Tool created successfully 400Invalid input 401UnauthorizedUpdated 2 months ago