create_flow_api
Create a new Arc flow API in a workspace by configuring HTTP methods, connectors, request/response samples, and query parameters to enable API integrations.
Instructions
Create a new Arc flow API for a workspace
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>"
},
"name": "create_flow_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The name of the flow API | |
| method | No | The HTTP method supported by the flow API (e.g., GET, POST) | |
| bodyType | No | The data type of the HTTP request body (e.g., Raw, Form-Data, x-www-form-urlencoded) | |
| connectors | No | Comma-separated list of connector IDs associated with the flow API | |
| description | No | A description of the flow API | |
| requestBody | No | Colon-delimited list of key names when body type is Form-Data or x-www-form-urlencoded | |
| workspaceId | Yes | The workspace ID to associate with the flow API (required) | |
| requestSample | No | Sample request data when body type is Raw | |
| responseSample | No | Sample response data | |
| queryParameters | No | Colon-delimited list of query parameter names | |
| requestContentType | No | The content type of the HTTP request | |
| responseContentType | No | The content type of the HTTP response |