Create a new tool using XanoScript
Create a new tool using XanoScript
Authentication: required
POST
Create a new tool using XanoScript
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
text/x-xanoscript
The body is of type string.
Example:
"tool foo {\n input {\n int score\n }\n stack {\n var $x1 {\n value = $input.score + 1\n }\n }\n response = $x1\n}\n"
Response
Success!
Create a new tool using XanoScript