tail_solver_file
Reads the last lines of an LS-DYNA solver text file and returns its termination status, selecting the newest d3hsp or messag file by default and reporting which file was read.
Instructions
Last lines of a solver text file plus termination status. The default name (empty, or the
bare d3hsp / messag) picks the NEWEST d3hsp[nn] / messag[nn], i.e. the file the latest run or
restart is writing; the reply's file says which one was read. Any other name (d3hsp01,
mes0000, lsrun.stdout.txt...) is read as given. Text is redacted (see README, Privacy).
Args: directory, name, lines
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": {
"directory": "<directory>"
},
"name": "tail_solver_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| lines | No | ||
| directory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |