aap_get_job_output
Fetch stdout/stderr output from an Ansible Automation Platform job to troubleshoot failures and review execution results.
Instructions
Fetch stdout/stderr output from an AAP job run.
Useful for troubleshooting failures or reviewing what a job did.
Args: params (GetJobOutputInput): - job_id (int): Job ID - format (str): 'txt' or 'json' - max_lines (int): Max output lines (default 200)
Returns: str: Job output text or JSON with status and truncated output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |