Plecs Scan
plecs_scanRegex-search .plecs files on disk without opening PLECS to find model content and return matching hits for inspection.
Instructions
Regex-search a .plecs file on disk without opening it in PLECS.
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": {
"model_path": "<model_path>",
"pattern": "<pattern>"
},
"name": "plecs_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| max_hits | No | ||
| model_path | Yes | ||
| ignore_case | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||