Read workspace file
filesystem.read_fileRead the UTF-8 contents of a text file within the ToolHub workspace. Use it to retrieve file data for coding agents needing quick access to workspace files.
Instructions
Read a UTF-8 text file inside the ToolHub workspace.
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": "filesystem.read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| size | Yes | ||
| sha256 | Yes | ||
| content | Yes |