read_xml_fragment
Extract targeted XML fragments from DipTrace PCB designs by evaluating XPath expressions, with controls for match and character limits.
Instructions
Read bounded XML fragments using ElementTree-compatible XPath.
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": "read_xml_fragment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| xpath | No | . | |
| max_matches | No | ||
| max_characters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||