appcrane_cat
Reads file contents from a running app container. Restricted to /app and /data directories, with a 256KB size limit.
Instructions
Print the contents of a file inside a running app container. Read-only; bound to safe roots (/app and /data only). Refuses files larger than 256KB; truncate by reading the first N bytes via path tricks if you need a tail.
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": {
"slug": "<slug>",
"path": "<path>"
},
"name": "appcrane_cat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path inside the container, must start with /app or /data | |
| slug | Yes | ||
| stage | No | Target stage (legacy alias: env). | sandbox |