workspace__UpdateScript
Updates an existing Workspace script by script ID and project ID, allowing you to revise its name, content, version, or description.
Instructions
[WORKSPACE] 更新脚本。
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": {
"content": "<content>",
"name": "<name>",
"project_id": "<project_id>",
"script_id": "<script_id>"
},
"name": "workspace__UpdateScript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 脚本名称。 | |
| content | Yes | 脚本内容。 | |
| version | No | 脚本版本。 | |
| script_id | Yes | 脚本ID。 | |
| project_id | Yes | 项目ID。 | |
| description | No | 描述。 |