Tools

Tool management operations

Tool management operations

List all tools

Retrieve a list of all available tool configurations

GET
/workflows/{workflow_id}/tools

Path Parameters

workflow_idstring

Workflow ID

Response Body

curl -X GET "https://loading/api/v0/workflows/string/tools"
{
  "data": {
    "tools": [
      {
        "config": {
          "property1": null,
          "property2": null
        },
        "cwd": {
          "path": "string"
        },
        "description": "string",
        "env": {
          "property1": "string",
          "property2": "string"
        },
        "id": "string",
        "input": {
          "property1": null,
          "property2": null
        },
        "output": {
          "property1": null,
          "property2": null
        },
        "resource": "string",
        "timeout": "string",
        "with": {
          "property1": null,
          "property2": null
        }
      }
    ]
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}

Get tool by ID

Retrieve a specific tool configuration by its ID

GET
/workflows/{workflow_id}/tools/{tool_id}

Path Parameters

workflow_idstring

Workflow ID

tool_idstring

Tool ID

Response Body

curl -X GET "https://loading/api/v0/workflows/string/tools/string"
{
  "data": {
    "config": {
      "property1": null,
      "property2": null
    },
    "cwd": {
      "path": "string"
    },
    "description": "string",
    "env": {
      "property1": "string",
      "property2": "string"
    },
    "id": "string",
    "input": {
      "property1": null,
      "property2": null
    },
    "output": {
      "property1": null,
      "property2": null
    },
    "resource": "string",
    "timeout": "string",
    "with": {
      "property1": null,
      "property2": null
    }
  },
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}
{
  "data": null,
  "error": {
    "code": "string",
    "details": "string",
    "message": "string"
  },
  "message": "string",
  "status": 0
}