pine_get_console
Retrieve the currently visible Pine Script console rows from a TradingView chart to inspect script output and debug Pine logs without reading hidden entries.
Instructions
Read only currently visible Pine console rows.
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": "pine_get_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | No | Exact Chrome tab target ID from browser_list_tabs. Required for changes. | |
| expected_layout_id | No | Expected saved-layout ID. A mismatch stops the operation before writing. |