AppDrag connects to a Nagent workspace with an API key. Once it is connected, agents can call 11 AppDrag actions, such as "Execute Cloud Backend function via DELETE", "Execute Preprod Function (DELETE)" and "Execute PROD API Function (GET)". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against AppDrag, with input parameters and output schema.
APPDRAG_EXECUTE_FUNCTION_DELETE_DEFAULTTool to execute a Cloud Backend API function via DELETE on the default environment. Use when you need to call a function with DELETE parameters and optional APIKey.
Input parameters
API key if the function requires authentication.
Cloud Backend folder name containing the function.
Function name within the folder to execute.
Key-value pairs to send as DELETE parameters. Include 'APIKey' here if the function requires it.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
APPDRAG_EXECUTE_FUNCTION_DELETE_PREPRODTool to execute the pre-production version of a Cloud Backend API function via DELETE. Use when you need to test or validate delete operations in the preprod environment before production deployment.
Input parameters
Additional JSON body parameters to pass to your function. These should match the function signature parameters.
API key to include if this function requires one. Omit if the function is public or does not require an API key.
Name of the folder containing your function in AppDrag preprod environment.
Name of the function to invoke in AppDrag preprod environment.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
APPDRAG_EXECUTE_FUNCTION_GET_PRODTool to execute a production Cloud Backend API function via GET. Includes robust URL handling and fallbacks to accommodate management base URLs.
Input parameters
API key if the function requires authentication; sent as 'APIKey' query param
Cloud Backend folder name containing the function.
Function name within the folder.
Function-defined GET query parameters as key-value pairs.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
APPDRAG_EXECUTE_FUNCTION_PATCH_DEVTool to execute the development version of a Cloud Backend API function via PATCH. Use after deploying or updating your function to the dev environment.
Input parameters
Additional JSON body parameters to pass to your function. These should match the function signature parameters.
API key to include if this function requires one. Omit if the function is public or does not require an API key.
Name of the folder containing your function in AppDrag.
Name of the function to invoke in AppDrag.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
APPDRAG_EXECUTE_FUNCTION_POST_DEFAULTTool to execute a Cloud Backend API function via POST on the default environment. Use when you need to call a function with POST parameters and optional APIKey.
Input parameters
Cloud Backend folder name containing the function.
Function name within the folder to execute.
Key-value pairs to send as POST parameters. Include 'APIKey' here if the function requires it.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
APPDRAG_EXECUTE_FUNCTION_POST_PREPRODTool to execute a Cloud Backend API function via POST on the preprod environment. Use when you need to test a function in the preprod environment before releasing to production. Include apiKey if your function requires APIKey security.
Input parameters
API key for functions that require it. Only needed if 'Require APIKey' is enabled in your AppDrag function settings.
Name of the function folder in the route (path parameter).
Additional parameters to send to your function. Include any function-defined parameters here as key/value pairs.
Name of the function to execute in the route (path parameter).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
APPDRAG_EXECUTE_FUNCTION_PUT_DEFAULTTool to execute a Cloud Backend API function via PUT on the default environment. Use when you need to call a function with PUT parameters and optional APIKey.
Input parameters
API key if the function requires authentication.
Cloud Backend folder name containing the function.
Function name within the folder to execute.
Key-value pairs to send as PUT parameters. Include 'APIKey' here if the function requires it.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
APPDRAG_EXECUTE_FUNCTION_PUT_PREPRODTool to execute a Cloud Backend API function via PUT on the preprod environment. Use when you need to call a function with PUT parameters and optional APIKey in preprod.
Input parameters
API key to include if the function requires it. Set this only if 'Require APIKey' is enabled in your AppDrag function settings.
Name of the Cloud Backend folder containing the function (path segment).
Name of the function to execute within the folder (path segment).
Key-value pairs to send as PUT parameters. Include any function-defined parameters here.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
APPDRAG_VISUAL_SQL_DELETETool to delete rows via a Visual SQL Delete function. Use when you need to delete records from a Cloud DB table using a Visual SQL Delete function.
Input parameters
API key for functions that require it. Only needed if 'Require APIKey' is enabled in your AppDrag function settings.
Name of the function folder in the route (path parameter).
Additional query parameters to pass to your function. Include any function-defined inputs here as key/value pairs.
Name of the Visual SQL Delete function to execute (path parameter).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
APPDRAG_VISUAL_SQL_SELECTTool to execute a Visual SELECT Cloud Backend function. Use when you need to read rows from a database table using a visual SQL function configured in AppDrag.
Input parameters
API key for functions that require it. Only needed if 'Require APIKey' is enabled in your AppDrag function settings.
Name of the function folder in the route (path parameter).
Additional query parameters to pass to your function. Include any function-defined parameters here as key/value pairs.
Name of the Visual SQL SELECT function to execute (path parameter).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
APPDRAG_VISUAL_SQL_UPDATETool to execute a Visual SQL UPDATE via an AppDrag Visual UPDATE function. Use when you need to update database rows based on your Visual UPDATE mapping.
Input parameters
API key if 'Require APIKey' is enabled in your function's security settings.
API folder containing your Visual UPDATE function (path parameter).
Input parameters defined in your Visual UPDATE function editor as key/value pairs.
Name of your Visual UPDATE function as defined in AppDrag (path parameter).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 11 AppDrag actions on Nagent, including "Execute Cloud Backend function via DELETE", "Execute Preprod Function (DELETE)" and "Execute PROD API Function (GET)". Execute Cloud Backend function via DELETE: Execute a Cloud Backend API function via DELETE on the default environment. Each action is listed on this page with its input parameters and its output.
AppDrag connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
Execute Cloud Backend function via DELETE takes 2 required inputs: folder and function. It also takes 2 optional inputs: apiKey and parameters. It returns data, error and successful.