search_related_objects
Find all related objects in an EnergyPlus model by searching for a pattern in object names. Use to analyze all components linked to a specific zone, system, or equipment.
Instructions
Search for all objects related to a specific component or pattern.
Finds all objects in the epJSON model that contain a specific pattern in their names, useful for analyzing all components related to a particular zone, system, or equipment.
Args: model_id: The model_id of the EnergyPlus model search_pattern: Pattern to search for (e.g., "ROOM_1_FLR_3")
Returns: Dictionary containing: - search_pattern: The pattern that was searched for - total_matches: Total number of matching objects - related_objects: Objects organized by type, with counts and details - model_id: The model identifier
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": {
"model_id": "<model_id>",
"search_pattern": "<search_pattern>"
},
"name": "search_related_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ||
| search_pattern | Yes |