修改预处理信息
open_pre_editModify existing preprocessing settings by ID, providing updated name, code, content, and content type.
Instructions
POST /open/pre/edit - 修改预处理(需会员)。 请求: id(编号,必填), content/preName/preCode/contentType(均为必填;contentType=1 JavaScript)。 统一响应: code(数字,200成功), msg(字符串), data(业务数据)。 data: 如「修改成功」。
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": {
"id": "<id>",
"preName": "<preName>",
"preCode": "<preCode>",
"content": "<content>",
"contentType": "<contentType>"
},
"name": "open_pre_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 预处理信息编号 | |
| content | Yes | 预处理代码 | |
| preCode | Yes | 预处理编码 | |
| preName | Yes | 预处理名称 | |
| contentType | Yes | 编程语言类型;1-JavaScript |