export_logs
Package recent logs or a single error's call into one file for bug reports, with secrets and home folder removed. Returns the file path and, in a project, its /files/ URL.
Instructions
Pack the log into one file to attach to a bug report: the steps of the last hours (or of one error's call or turn, with ref), the system and MOGA's version, with secrets and the home folder taken out. entries adds the app's own steps (the Studio and the stage send theirs). Returns the file's path and, in a project, its URL under /files/.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| hours | No | ||
| level | No | debug | |
| entries | No | The app's own log entries | |
| version | No | The app's version, as the app knows it |