read_cloud_code
Read a deployed cloud code file to inspect what actually runs, including when it differs from a local checkout, and trace errors from logs back to source.
Instructions
Read a cloud code file as it is deployed. Use it to see what really runs, which may differ from a local checkout, when tracing an error from get_error_logs to its 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": {
"appObjectId": "<appObjectId>",
"filePath": "<filePath>"
},
"name": "read_cloud_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | The path to the file (e.g., "main.js" or "cloud/main.js") | |
| appObjectId | Yes | The app: its name or objectId (see list_apps) |