layout_delete
Deletes one saved TradingView layout by exact ID, verifies it is gone, and blocks removal of the layout currently bound to the tool. Use it to clean up saved layouts safely.
Instructions
Delete one saved layout by exact ID and verify it disappeared. Refuses the layout currently bound to this tool.
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": {
"layout_id": "<layout_id>",
"target_id": "<target_id>",
"expected_layout_id": "<expected_layout_id>"
},
"name": "layout_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout_id | Yes | ||
| target_id | Yes | Exact Chrome tab target ID from browser_list_tabs. Required for changes. | |
| expected_layout_id | Yes | Expected saved-layout ID. A mismatch stops the operation before writing. |