tv_read_pine_source
Reads the current Pine Script source from the open TradingView editor. Returns null if the editor is closed.
Instructions
Read the current Pine Script source from the open editor. Returns null if editor is closed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tv_read_pine_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptName | No | Optional script name filter (not enforced). |