ds_list_workflow_versions
Lists saved versions of a workflow definition to review version numbers, descriptions, and timestamps before selecting one for rollback.
Instructions
List saved versions of a workflow definition (read-only).
Each save of the workflow creates a version. Use the returned version number with ds_rollback_workflow_version.
Args: project_name: Project name workflow_code: Workflow (process-definition) code from ds_list_workflows page_size: Maximum number of versions to return (first page, default 20)
Returns: [{"version": int, "description": str, "createTime": str, "updateTime": str}, ...]
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": {
"project_name": "<project_name>",
"workflow_code": "<workflow_code>"
},
"name": "ds_list_workflow_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No | ||
| project_name | Yes | ||
| workflow_code | Yes |