update_api_script
Update an existing API's script by providing its reference (id, name, or path) and the new script content.
Instructions
更新接口脚本。ref 可为 id/name/path。
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": {
"ref": "<ref>",
"script": "<script>"
},
"name": "update_api_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| script | Yes |