read_file · Read a file
read-onlyReads a file from a running computer (up to 256 KB): text, or base64 for binary files.
Input schema
{
"type": "object",
"properties": {
"computer": {
"type": "string",
"description": "The computer id from create_computer, like c_ab12cd34ef56.",
"pattern": "^c_[a-z0-9]{12}$"
},
"token": {
"type": "string",
"description": "The computer token from create_computer (ct_...). Not needed when you call with the owner's API key."
},
"path": {
"type": "string",
"description": "Path, like ~/app/README.md."
}
},
"required": [
"computer",
"path"
],
"additionalProperties": false
}