read_uss_file
Read the contents of a USS file, optionally limit returned lines, and filter lines by case-insensitive text to find relevant log or configuration entries.
Instructions
Read the contents of a USS file. Supports custom line limits and text grep filtering.
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": {
"path": "<path>"
},
"name": "read_uss_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute USS file path, e.g. "/u/payroll/run.log". | |
| maxLines | No | Maximum lines to return (caps at server configuration maximum). | |
| searchText | No | Return only lines containing this text (case-insensitive). Applied before line capping. | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. |