Create a new agent trigger using XanoScript
Create a new agent trigger using XanoScript
Authentication: required
POST
Create a new agent trigger 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:
"agent_trigger foo {\n agent = \"my_agent\"\n input {\n object toolset {\n schema {\n int id\n text name\n text instructions\n }\n }\n object[] tools {\n schema {\n int id\n text name\n text instructions\n }\n }\n }\n stack {\n var $x1 {\n value = 123\n }\n }\n actions = {connection: true}\n}\n"
Response
Success!
Create a new agent trigger using XanoScript