read_workspace_file
Reads the full text contents of any file within the sandboxed workspace. Use it to retrieve context from earlier documents or code files.
Instructions
Read the full text contents from a specific file strictly inside the sandboxed workspace folder. Use this to get context from previous documents or code files.
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": {
"file_path": "<file_path>"
},
"name": "read_workspace_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |