plc_find_references
Find lexical ST/LD references to a PLC symbol while excluding comments and strings; use it to inspect project code locations without scope or external HMI resolution.
Instructions
Find lexical ST/LD references excluding comments/strings. Does not resolve scope or external HMI dependencies.
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": {
"project_id": "<project_id>",
"symbol": "<symbol>"
},
"name": "plc_find_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items, 1–200. | |
| offset | No | Zero-based offset from the previous page. | |
| symbol | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||