lira_import_text_model
Creates a LIRA model from numbered text input and saves it as a .lir file, enabling structured model import from text.
Instructions
Create a model from LIRA's text input format and save it as save_as (.lir).
The text format describes nodes, elements, stiffnesses, restraints and loads in numbered documents, e.g. ( 1/ elements ) ( 3/ stiffnesses ) ( 4/ coordinates ) ( 5/ restraints ) ( 6/ loads ) ( 7/ load values ). The best way to learn it is to export a similar model with lira_export_text.
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": {
"text": "<text>",
"save_as": "<save_as>"
},
"name": "lira_import_text_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| save_as | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||