Get Debug Log
get_debug_logRetrieve the crash log written by a built Xojo app's UnhandledException handler, optionally deleting it after reading so the next crash starts a fresh log.
Instructions
Returns /tmp/xmcp_debug.log, which a built Xojo app writes from its App.UnhandledException handler when it crashes (usage-guide.md has the handler to add). This is how to see an exception in a built app; in a debug run the IDE's debugger catches exceptions instead, and get_system_log reads System.DebugLog output. No log file is a normal result that says so. With clear, the file is deleted after reading, so the next crash starts a fresh log. Needs no IDE.
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": "get_debug_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Delete the log file after reading it. Default false. |