app_status
Monitor running applications and retrieve their log files to verify process status and review output data.
Instructions
Check whether a launched app is still running and read its logs.
Only PIDs returned by app_launch() in this session are accepted.
Args:
pid: Process ID returned by app_launch().
lines: Number of trailing log lines to return (default 50).
Returns a dict with:
pid: the process ID.
running: whether the process is still alive.
log_file: path to the log file.
tail: the last lines lines of stdout/stderr output.
On failure, returns a dict with a single error key.
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": {
"pid": "<pid>"
},
"name": "app_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| lines | No |