Sap Search Tree Nodes
sap_search_tree_nodesSearch loaded SAP tree nodes by text and return matches with full ancestor paths; expand collapsed parent nodes first if expected results are missing.
Instructions
Search for tree nodes by text. Returns matches with full ancestor paths.
Useful for finding nodes in deep trees where the same label appears in multiple branches. Case-insensitive substring match. Optionally pass column to search in a specific column instead of node text.
Important limitation: Only searches nodes that are already loaded (expanded) in the tree. Collapsed subtrees are not searched. If you don't find what you expect, expand parent nodes first using sap_get_tree_node_children with expand=true, then search again.
total_matches counts the matches returned. stopped_early=true means the search reached max_results before the last loaded node, so more matches are possible.
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": {
"tree_id": "<tree_id>",
"search_text": "<search_text>"
},
"name": "sap_search_tree_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| column | No | ||
| tree_id | Yes | ||
| max_results | No | ||
| search_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||