Watch the live app
logsCaptures live app requests, console.log output, and errors for 5–60 seconds, then returns them; ask the user to reproduce the issue while it runs.
Instructions
Collects the live app's requests, console.log output and errors for a few seconds and returns them. Ask the person to open the app (or trigger the problem) while it runs.
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": "logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seconds | No | How long to watch, 5 to 60 seconds (default 20) | |
| directory | No | Absolute path of the app's folder (the one with teamonly.json). Defaults to the folder the server started in. |