Functions
Functions are reusable code blocks that perform specialized tasks. Agents or external calls can invoke these functions to automate complex operations effortlessly.
Last updated
Functions are reusable code blocks that perform specialized tasks. Agents or external calls can invoke these functions to automate complex operations effortlessly.
Last updated
Retrieve all functions created on the platform. Functions can be linked to agents to enable specialized operations.
/functions
Add a new function that can be executed by an agent.
/functions
Actual code for the function.
Retrieve details about a specific function, including its code, parameters, and usage statistics.
/functions/{id}
The unique identifier of the function.
Edit the metadata or code of an existing function.
/functions/{id}
The unique identifier of the function.
Remove a function by its unique identifier.
/functions/{id}
The unique identifier of the function.
No body
Execute the specified function without linking it to an agent. Useful for quick testing or external usage.
/functions/{id}/invoke
The unique identifier of the function.
Input needed for the function.