Retrieve your API Key from Dashboard API Keys Section.
This determines if the tool is async.
If async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server.
If sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server.
Defaults to synchronous (false).
false
This is the function definition of the tool.
These are the messages that will be spoken to the user as the tool is running.
This is the server that will be hit when this tool is requested by the model.
This is the unique identifier for the tool.
"1f7b1b1b1b1b1b1b1b1b1b1b"
This is the unique identifier for the organization that this tool belongs to.
"3f7b1b1b1b1b1b1b1b1b1b1b"
The type of tool. "function" for Function tool.
function "function"
This determines if the tool is async.
If async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server.
If sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server.
Defaults to synchronous (false).
false
This is the function definition of the tool.
These are the messages that will be spoken to the user as the tool is running.
This is the server that will be hit when this tool is requested by the model.
All requests will be sent with the call object among other things.
This is the ISO 8601 date-time string of when the record was created.
"2020-10-05T00:00:00.000Z"
This is the ISO 8601 date-time string of when the record was last updated.
"2020-10-05T00:00:00.000Z"