# AppDrag

AppDrag is a cloud-based platform for building websites, APIs, and databases with drag-and-drop tools, code editing, and integrated hosting to accelerate development workflows and iteration

- **Category:** developer tools
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 11
- **Triggers:** 0
- **Slug:** `APPDRAG`
- **Version:** 20260211_00

## Tools

### Execute Cloud Backend function via DELETE

**Slug:** `APPDRAG_EXECUTE_FUNCTION_DELETE_DEFAULT`

Tool 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

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `apiKey` | string | No | API key if the function requires authentication. |
| `folder` | string | Yes | Cloud Backend folder name containing the function. |
| `function` | string | Yes | Function name within the folder to execute. |
| `parameters` | object | No | Key-value pairs to send as DELETE parameters. Include 'APIKey' here if the function requires it. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Execute Preprod Function (DELETE)

**Slug:** `APPDRAG_EXECUTE_FUNCTION_DELETE_PREPROD`

Tool 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

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | object | No | Additional JSON body parameters to pass to your function. These should match the function signature parameters. |
| `apiKey` | string | No | API key to include if this function requires one. Omit if the function is public or does not require an API key. |
| `folder` | string | Yes | Name of the folder containing your function in AppDrag preprod environment. |
| `function` | string | Yes | Name of the function to invoke in AppDrag preprod environment. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Execute PROD API Function (GET)

**Slug:** `APPDRAG_EXECUTE_FUNCTION_GET_PROD`

Tool to execute a production Cloud Backend API function via GET. Includes robust URL handling and fallbacks to accommodate management base URLs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `apiKey` | string | No | API key if the function requires authentication; sent as 'APIKey' query param |
| `folder` | string | Yes | Cloud Backend folder name containing the function. |
| `function` | string | Yes | Function name within the folder. |
| `query_params` | object | No | Function-defined GET query parameters as key-value pairs. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Execute Dev Function (PATCH)

**Slug:** `APPDRAG_EXECUTE_FUNCTION_PATCH_DEV`

Tool 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

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | object | No | Additional JSON body parameters to pass to your function. These should match the function signature parameters. |
| `apiKey` | string | No | API key to include if this function requires one. Omit if the function is public or does not require an API key. |
| `folder` | string | Yes | Name of the folder containing your function in AppDrag. |
| `function` | string | Yes | Name of the function to invoke in AppDrag. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Execute Cloud Backend function via POST

**Slug:** `APPDRAG_EXECUTE_FUNCTION_POST_DEFAULT`

Tool 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

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `folder` | string | Yes | Cloud Backend folder name containing the function. |
| `function` | string | Yes | Function name within the folder to execute. |
| `parameters` | object | Yes | Key-value pairs to send as POST parameters. Include 'APIKey' here if the function requires it. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Execute Function POST (Preprod Env)

**Slug:** `APPDRAG_EXECUTE_FUNCTION_POST_PREPROD`

Tool 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

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `apiKey` | string | No | API key for functions that require it. Only needed if 'Require APIKey' is enabled in your AppDrag function settings. |
| `folder` | string | Yes | Name of the function folder in the route (path parameter). |
| `params` | object | No | Additional parameters to send to your function. Include any function-defined parameters here as key/value pairs. |
| `function` | string | Yes | Name of the function to execute in the route (path parameter). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Execute Cloud Backend function via PUT (default)

**Slug:** `APPDRAG_EXECUTE_FUNCTION_PUT_DEFAULT`

Tool 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

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `apiKey` | string | No | API key if the function requires authentication. |
| `folder` | string | Yes | Cloud Backend folder name containing the function. |
| `function` | string | Yes | Function name within the folder to execute. |
| `parameters` | object | No | Key-value pairs to send as PUT parameters. Include 'APIKey' here if the function requires it. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Execute Cloud Backend function via PUT (preprod)

**Slug:** `APPDRAG_EXECUTE_FUNCTION_PUT_PREPROD`

Tool 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

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `apiKey` | string | No | API key to include if the function requires it. Set this only if 'Require APIKey' is enabled in your AppDrag function settings. |
| `folder` | string | Yes | Name of the Cloud Backend folder containing the function (path segment). |
| `function` | string | Yes | Name of the function to execute within the folder (path segment). |
| `parameters` | object | No | Key-value pairs to send as PUT parameters. Include any function-defined parameters here. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Visual SQL Delete

**Slug:** `APPDRAG_VISUAL_SQL_DELETE`

Tool 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

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `apiKey` | string | No | API key for functions that require it. Only needed if 'Require APIKey' is enabled in your AppDrag function settings. |
| `folder` | string | Yes | Name of the function folder in the route (path parameter). |
| `params` | object | No | Additional query parameters to pass to your function. Include any function-defined inputs here as key/value pairs. |
| `visualDeleteFunction` | string | Yes | Name of the Visual SQL Delete function to execute (path parameter). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Visual SQL SELECT

**Slug:** `APPDRAG_VISUAL_SQL_SELECT`

Tool 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

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `apiKey` | string | No | API key for functions that require it. Only needed if 'Require APIKey' is enabled in your AppDrag function settings. |
| `folder` | string | Yes | Name of the function folder in the route (path parameter). |
| `params` | object | No | Additional query parameters to pass to your function. Include any function-defined parameters here as key/value pairs. |
| `visualSelectFunction` | string | Yes | Name of the Visual SQL SELECT function to execute (path parameter). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Visual SQL Update

**Slug:** `APPDRAG_VISUAL_SQL_UPDATE`

Tool 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

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `apiKey` | string | No | API key if 'Require APIKey' is enabled in your function's security settings. |
| `folder` | string | Yes | API folder containing your Visual UPDATE function (path parameter). |
| `parameters` | object | No | Input parameters defined in your Visual UPDATE function editor as key/value pairs. |
| `visualUpdateFunction` | string | Yes | Name of your Visual UPDATE function as defined in AppDrag (path parameter). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
