Read File
sdlc_read_fileRead file contents securely with symlink protection, binary detection, truncation limits, and automatic secret redaction.
Instructions
Bounded, symlink-safe UTF-8 file read with binary detection, truncation flags, and secret redaction (on by default).
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": {
"filePath": "<filePath>"
},
"name": "sdlc_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Target directory. Filesystem roots are rejected; UNC/network paths require an explicit environment override. | |
| filePath | Yes | File to act on, relative to the target directory (absolute paths contained by it are accepted). | |
| maxBytes | No | ||
| maxLines | No | ||
| redactSecrets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| content | No |