| name | rust:tauri:logs |
|---|---|
| description | View stdout/stderr logs from a running Tauri application |
| allowed-tools | mcp__tauri-mcp__get_app_logs |
| author | Quintin Henry (https://github.com/qdhenry/) |
Arguments format: [process_id] [--lines N]
process_id: Required - the process ID from/tauri:launch--lines N: Optional - number of recent lines (default: 100)
-
Parse Arguments Extract process_id and optional line count from $ARGUMENTS.
-
Retrieve Logs Use
mcp__tauri-mcp__get_app_logswith:process_id: The target processlines: Number of lines to retrieve
-
Format Output
- Separate stdout and stderr if distinguishable
- Highlight errors and warnings
- Show timestamps if available
# Get last 100 lines (default)
/tauri:logs 12345
# Get last 50 lines
/tauri:logs 12345 --lines 50
# Get all available logs
/tauri:logs 12345 --lines 1000<output_format>
=== Logs for Process [PID] ===
[timestamp] [level] message
[timestamp] [level] message
...
=== Summary ===
- Total lines: N
- Errors: N
- Warnings: N
</output_format>