deck_text
Read a numbered text slice from an OPM deck or include file, bypassing binary misdetection for plain ASCII content.
Instructions
Numbered text slice of a deck (or one of its include files) — no WSL needed.
Decks are plain ASCII; use this instead of host-shell head/sed when a
client misdetects .DATA as binary. file selects an include file by
path or bare name (matched against the resolved INCLUDE tree).
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": {
"deck_path": "<deck_path>"
},
"name": "deck_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| n_lines | No | ||
| deck_path | Yes | ||
| start_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||