xml_xml_findall
Extract all XML elements matching an XPath expression. Returns tag, text, and attributes for each match from the provided XML string.
Instructions
[xml] Return all elements matching an XPath expression. Each result has tag, text, and attrs.
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": {
"xml_string": "<xml_string>",
"xpath": "<xpath>"
},
"name": "xml_xml_findall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_string | Yes | ||
| xpath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |