gcode_list_tools
Extract tool usage data from G-code files, showing each tool's first use line and total usage count.
Instructions
List all tools referenced in a G-code file, with first use line and usage count.
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": {
"file_path_or_code": "<file_path_or_code>"
},
"name": "gcode_list_tools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path_or_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |