altium_script_template
Returns ready-made DelphiScript templates for Altium Designer to export a BOM to CSV or generate PCB statistics as a text file.
Instructions
[Altium Designer: schematic capture, PCB layout/routing, stackups, fabrication outputs] Return ready-made DelphiScript: template 'export_bom' (project_path, output_file .csv) or 'pcb_stats' (output_file .txt).
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": {
"template": "<template>"
},
"name": "altium_script_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | ||
| output_file | No | ||
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||