bulc_list_meshes
Retrieve all FDS computational meshes with IDs, dimensions, cell sizes, and bounding coordinates for fire simulation analysis in building design.
Instructions
Get a list of all FDS computational meshes. Returns mesh IDs, dimensions, cell sizes, and bounding coordinates.
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": "bulc_list_meshes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/mesh.ts:246-252 (handler)Handler implementation for bulc_list_meshes within the handleMeshTool switch statement. Sends 'list_meshes' action to BULC client.
case "bulc_list_meshes": { result = await client.sendCommand({ action: "list_meshes", params: {}, }); break; } - src/tools/mesh.ts:9-22 (schema)Tool schema definition for bulc_list_meshes, including name, description, empty input schema (no parameters required), and read-only annotation.
{ name: "bulc_list_meshes", description: "Get a list of all FDS computational meshes. " + "Returns mesh IDs, dimensions, cell sizes, and bounding coordinates.", inputSchema: { type: "object" as const, properties: {}, }, annotations: { readOnlyHint: true, destructiveHint: false, }, }, - src/index.ts:40-51 (registration)Includes meshTools (containing bulc_list_meshes schema) in the allTools array returned by ListToolsRequestHandler.
const allTools = [ ...contextTools, // 8 tools: spatial context, home info, levels, undo/redo, save ...roomTools, // 5 tools: create, create_polygon, list, modify, delete ...wallTools, // 5 tools: create, create_rectangle, list, modify, delete ...furnitureTools, // 5 tools: catalog, place, list, modify, delete ...fdsDataTools, // 7 tools: get, fire_source, detector, sprinkler, hvac, thermocouple, clear ...meshTools, // 5 tools: list, create, auto, modify, delete ...simulationTools, // 4 tools: get_settings, time, output, ambient ...fdsRunTools, // 6 tools: preview, validate, export, run, status, stop ...resultTools, // 5 tools: open_viewer, list_datasets, point_data, aset, report ...evacTools, // 25 tools: setup, stairs, agents, run, results, advanced features ]; - src/index.ts:97-99 (registration)Routes calls to bulc_list_meshes (and other mesh tools) to the handleMeshTool function in the MCP server's CallToolRequestHandler.
if (name.startsWith("bulc_") && name.includes("mesh")) { return await handleMeshTool(name, safeArgs); }