read_world_code_file
Read up to 400 numbered lines from one staged project file, bounded to 12 KB. Returns its current hash for exact patches. Default reads 160 lines. Follow nextRead (startLine/startColumn) to read omitted source, including long minified lines. Never guess omitted code.
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": {
"workspaceId": "<workspaceId>",
"codeWorkspaceId": "<codeWorkspaceId>",
"path": "<path>"
},
"name": "read_world_code_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| endLine | No | ||
| startLine | No | ||
| startColumn | No | ||
| workspaceId | Yes | ||
| codeWorkspaceId | Yes |