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
Remove a function by its unique identifier.
The unique identifier of the function.
Function deleted successfully. No content in response.
Retrieve all functions created on the platform. Functions can be linked to agents to enable specialized operations.
List of functions retrieved successfully.
"function_abcde"
"analyzeMarket"
"Analyzes market data and returns insights."
"function analyzeMarket(data) { /* ... */ }"
Add a new function that can be executed by an agent.
Actual code for the function.
Function created successfully.
"function_abcde"
"analyzeMarket"
"Analyzes market data and returns insights."
"function analyzeMarket(data) { /* ... */ }"
Retrieve details about a specific function, including its code, parameters, and usage statistics.
The unique identifier of the function.
Function details retrieved successfully.
"function_abcde"
"analyzeMarket"
"Analyzes market data and returns insights."
"function analyzeMarket(data) { /* ... */ }"
Edit the metadata or code of an existing function.
The unique identifier of the function.
Function updated successfully.
"function_abcde"
"analyzeMarket"
"Analyzes market data and returns insights."
"function analyzeMarket(data) { /* ... */ }"
Execute the specified function without linking it to an agent. Useful for quick testing or external usage.
The unique identifier of the function.
Input needed for the function.
Function invoked successfully.
Output of the executed function.
"Function executed successfully."