Tools: Read¶
Model reading and inspection tools.
build_model_summary(doc, state)
¶
Build a model summary.
Source code in src/idfkit_mcp/tools/read.py
build_references(doc, name)
¶
Build a bidirectional references result for a given object name.
Source code in src/idfkit_mcp/tools/read.py
convert_osm_to_idf(osm_path, output_path, allow_newer_versions=True, overwrite=False)
¶
Convert an OSM model to IDF and load it.
Source code in src/idfkit_mcp/tools/read.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | |
get_change_log(limit=20)
¶
Return recent model mutation history for this session.
Records add, update, remove, rename, duplicate, load, and new-model operations in chronological order. Useful for auditing what the agent has changed and verifying that edits were applied as intended.
The log is in-memory only and resets when clear_session is called.
Source code in src/idfkit_mcp/tools/read.py
list_objects(object_type, limit=50)
¶
List objects of a type with names and required fields.
Source code in src/idfkit_mcp/tools/read.py
load_model(file_path=None, upload_name=None, version=None)
¶
Open an IDF or epJSON file as the active model.
Provide exactly one source: file_path for files on the server's disk, or
upload_name to load a file the user dropped into the file_manager UI.
Source code in src/idfkit_mcp/tools/read.py
search_objects(query, object_type=None, limit=20)
¶
Find objects by name or field value substring match.