ds_get_workflow
Retrieve a single workflow definition, including DAG structure, global parameters, and node coordinates; use compact mode to return only metadata and task summaries and reduce token usage.
Instructions
Read a single workflow definition (DAG, global params, node coordinates, etc.).
Args: project_name: Project name workflow_code: Process-definition code (from ds_list_workflows) compact: Compact mode (default False). When True, returns only metadata and task summary without full taskParams/SQL, greatly reducing token usage. Suitable when you only need to understand DAG structure.
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_get_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | ||
| project_name | Yes | ||
| workflow_code | Yes |