remove_owned_study
Remove one of your saved Pine scripts from a chart after verifying your ownership, the symbol, and timeframe. Explicit confirmation is required, preventing accidental removal.
Instructions
Preview or remove one on-chart instance of the user's OWN saved Pine script. The tool verifies the USER pine_id against both list_pine_scripts and the study's hidden Pine id before removal. It also fails closed if the chart symbol or timeframe changed. Without confirm=true nothing is removed.
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": {
"pine_id": "<pine_id>",
"study_id": "<study_id>",
"expected_symbol": "<expected_symbol>",
"expected_timeframe": "<expected_timeframe>"
},
"name": "remove_owned_study"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| pine_id | Yes | ||
| study_id | Yes | ||
| chart_index | No | ||
| expected_symbol | Yes | ||
| expected_timeframe | Yes |