yearning_rollback_sql
Fetch rollback SQL for a specified work order to reverse accidental changes. Supply the work ID to retrieve the system-generated rollback script.
Instructions
获取工单的回滚 SQL(执行前由系统生成,用于误操作回退)。
对应 API:GET /api/v2/fetch/roll
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": {
"work_id": "<work_id>"
},
"name": "yearning_rollback_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_id | Yes | 工单号 | |
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |