Get Command Output
get_command_outputRetrieve the output of a previously run Laravel Forge site command to inspect results, logs, or failures. Use server, site, and command IDs from list_site_commands.
Instructions
The output of a command previously run from a site's Commands panel. Get the command id from list_site_commands. NOTE: this replays whatever a human chose to run, so it is the tool most likely to contain deliberately-dumped secrets — credential-shaped text is scrubbed on a best-effort basis, but do not treat the result as sanitised.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id from list_sites. | |
| server | Yes | Server id the site is on. | |
| command | Yes | Command id from list_site_commands. | |
| tail_lines | No | Return only the last N lines, where failures appear (default 200). Output is additionally capped by character count, so a very long single line cannot flood the response. | |
| organization | No | Organisation slug. Optional when the server has a default configured. |