set_dag_paused
Pause or unpause a DAG to control its scheduling using the DAG ID and is_paused flag.
Instructions
Pause or unpause a DAG.
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": {
"dag_id": "<dag_id>",
"is_paused": "<is_paused>"
},
"name": "set_dag_paused"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | The DAG to update. | |
| is_paused | Yes | True to pause (stop scheduling), False to unpause. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| is_paused | No | ||
| is_active | No | ||
| description | No | ||
| schedule_interval | No | ||
| timetable_summary | No | ||
| owners | No | ||
| tags | No | ||
| next_dagrun | No | ||
| fileloc | No |