sch_generate_toc
Generates a table-of-contents note listing all schematic sheets in project order and places it as a numbered frame on the active sheet, useful for creating a cover or index page.
Instructions
Place a table-of-contents note listing every schematic sheet.
Reads the project's document list, keeps the .SchDoc sheets in project order, and drops a numbered text frame on the active sheet. Run it on a dedicated cover/index sheet. Re-running does not remove a prior frame, delete the old one first if you regenerate.
Args: x1, y1, x2, y2: Frame corners in mils (default a tall left box). title: Heading line above the list. project_path: Optional project; uses active if omitted.
Returns: Dict with sheet_count and the placement result, or an error if no schematic sheets were found.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sch_generate_toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| title | No | Table of Contents | |
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||