ds_pause_process_instance
Pauses a running workflow instance without stopping it: running tasks finish, no new tasks start, and the instance stays in PAUSE state until resumed.
Instructions
Pause a RUNNING workflow instance (reversible; not a stop).
Tasks already running finish, no new tasks are started, and the instance ends in PAUSE state. Use ds_resume_process_instance to continue it, or ds_stop_process_instance to kill it instead.
Args: project_name: Project name process_instance_id: Instance ID (from ds_list_process_instances)
Returns: {"process_instance_id": int, "executeType": "PAUSE", "status": "submitted"}; the request is asynchronous, so check the state with ds_list_process_instances.
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>",
"process_instance_id": "<process_instance_id>"
},
"name": "ds_pause_process_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | ||
| process_instance_id | Yes |