Get Decision Flow Code
get_decision_flow_codeRetrieve generated DS2 execution code for a decision flow by supplying its UUID. Use it to review or debug the exact SAS logic before running.
Instructions
Retrieve the generated DS2 execution code for a decision flow.
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": {
"decision_id": "<decision_id>"
},
"name": "get_decision_flow_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision_id | Yes | The decision flow UUID (not its name — list_decision_flows returns both). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |