tail_job_output
Retrieve the last N lines of stdout and stderr for a specific job on the MCP Background Job Server, enabling real-time monitoring and debugging of long-running processes.
Instructions
Get the last N lines of stdout and stderr from a job.
Args: job_id: The UUID of the job to tail lines: Number of lines to return (1-1000, default 50)
Returns: ProcessOutput containing the last N lines of stdout and stderr
Input Schema
Name | Required | Description | Default |
---|---|---|---|
job_id | Yes | Job ID to tail | |
lines | No | Number of lines to return |
Input Schema (JSON Schema)
{
"properties": {
"job_id": {
"description": "Job ID to tail",
"title": "Job Id",
"type": "string"
},
"lines": {
"default": 50,
"description": "Number of lines to return",
"maximum": 1000,
"minimum": 1,
"title": "Lines",
"type": "integer"
}
},
"required": [
"job_id"
],
"type": "object"
}