# Roboflow

Build and use computer vision models fast with Roboflow. Train, deploy, and run inference on object detection, classification, and segmentation models.

- **Category:** artificial intelligence
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 7
- **Triggers:** 0
- **Slug:** `ROBOFLOW`
- **Version:** 00000000_00

## Tools

### Describe Workflow Interface

**Slug:** `ROBOFLOW_DESCRIBE_WORKFLOW_INTERFACE`

Tool to describe the interface of a workflow specification. Use when you need to understand the inputs, outputs, and types for a Roboflow workflow definition.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `api_key` | string | Yes | Roboflow API Key that will be passed to the model during initialization for artifact retrieval |
| `specification` | object | Yes | Workflow specification object containing version, inputs, steps, and outputs. Must include: version (string), inputs (list of input definitions), steps (list of step definitions), and outputs (list of output definitions). |

#### 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 |

### Get Execution Engine Versions

**Slug:** `ROBOFLOW_GET_EXECUTION_ENGINE_VERSIONS`

Tool to retrieve available Execution Engine versions from Roboflow workflows API. Use when you need to check which execution engine versions are supported for workflow processing.

#### 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 |

### Get Server Info

**Slug:** `ROBOFLOW_GET_SERVER_INFO`

Tool to retrieve information about the Roboflow inference server. Use when you need to check the server version, name, or unique identifier.

#### 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 |

### Get Server Metrics

**Slug:** `ROBOFLOW_GET_SERVER_METRICS`

Tool to retrieve Prometheus metrics from the Roboflow inference server. Use when monitoring server performance, tracking inference statistics, or debugging server health issues.

#### 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 |

### Get Workflow Schema

**Slug:** `ROBOFLOW_GET_WORKFLOW_SCHEMA`

Tool to fetch the workflows block schema from Roboflow. Use when you need to retrieve the complete schema definition for workflow blocks.

#### 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 |

### Run Workflow

**Slug:** `ROBOFLOW_RUN_WORKFLOW`

Tool to run a workflow specification with provided inputs. Use when you need to execute a custom Roboflow workflow pipeline for image processing, model inference, or other computer vision tasks.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `inputs` | object | Yes | Dictionary containing runtime values for each parameter defined as an input in the workflow specification. Keys must match the 'name' fields defined in specification.inputs. Values can be of various types depending on the input type (e.g., for InferenceImage input, provide object with 'type' and 'value' keys where type can be 'url', 'base64', or 'numpy'). |
| `api_key` | string | No | Roboflow API Key passed to the model during initialization for artifact retrieval. If not provided, uses the authentication from metadata headers. |
| `is_preview` | boolean | No | Reserved flag used internally by Roboflow to distinguish between preview and non-preview runs. |
| `workflow_id` | string | No | Optional identifier of the workflow. Used when running a saved workflow definition from Roboflow platform. |
| `specification` | object | Yes | Workflow specification object defining version, inputs, steps, and outputs. Must include 'version' (string), 'inputs' (array of input definitions), 'steps' (array of processing steps), and 'outputs' (array of output definitions). Each input must have 'type' and 'name'. Each step must have 'type' and 'name' with additional configuration. Each output must have 'type', 'name', and 'selector'. |
| `excluded_fields` | array | No | List of field names to exclude from the response among those defined in workflow specification outputs. |
| `enable_profiling` | boolean | No | Flag to request workflow run profiling. Enables workflow profiler only when server settings allow profiling traces to be exported to clients. Only applies for workflow definitions saved on Roboflow platform. |

#### 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 |

### Validate Workflow

**Slug:** `ROBOFLOW_VALIDATE_WORKFLOW`

Tool to validate a Roboflow workflow specification before execution. Use this to check if your workflow definition is syntactically correct and properly structured.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `steps` | array | Yes | List of workflow steps that process the inputs and produce intermediate results. |
| `inputs` | array | Yes | List of workflow inputs that define the data flowing into the workflow. |
| `api_key` | string | No | Roboflow API Key that will be passed to the model during initialization for artifact retrieval. If not provided, uses the authentication from metadata. |
| `outputs` | array | Yes | List of workflow outputs that extract final results from the steps. |
| `version` | string | Yes | Version of the workflow specification format. |

#### 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 |
