read-file
Read a file from the workspace. Read-only; no side effects beyond opening the file.
id tool/read-filev1.0.0function read_file
Signature
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | yes | Absolute or workspace-relative path |
offset | number | no | Line offset for partial reads |
limit | number | no | Max lines to return |
| returns | string | File contents (or specified slice). |
Tool definition for the model
{
"name": "read_file",
"description": "Read the contents of a file at the given path.",
"input_schema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Absolute or workspace-relative path"
},
"offset": {
"type": "number",
"description": "Line offset for partial reads"
},
"limit": {
"type": "number",
"description": "Max lines to return"
}
},
"required": [
"path"
]
}
}Used by
- agent/code-reviewer — Code Reviewer
Author convergent-systems-key. Source convergent-systems-co/agent-atoms (original ↗). License Apache-2.0. Re-typed from tool-definition by scripts/migrate-policy-tool.py.