tv_rename_script
Rename the current Pine script using the editor title menu's Rename option. This action directly changes the saved script name.
Instructions
Rename the current Pine script via the editor title menu (Rename...). DESTRUCTIVE: changes the saved script name.
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": {
"name": "<name>"
},
"name": "tv_rename_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New script name (1-80 chars, alphanumeric, spaces, dashes, underscores). |