parse_brd_file
Extracts readable string fragments from .brd files to supply lightweight PCB context—layers, components, nets, rules—for AI summaries; not a full Allegro DB parser.
Instructions
从 .brd 文件中提取可读字符串片段,作为 PCB 设计的轻量级上下文(层、器件、网络、规则等)。适合作为 AI 摘要的输入,不能替代完整 Allegro DB 解析。
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": {
"brd_path": "<brd_path>"
},
"name": "parse_brd_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brd_path | Yes | .brd 文件绝对路径。 | |
| max_bytes | No | 读取文件前多少字节做文本扫描,默认 1MB。 |