get_deployment_logs
Retrieve logs from deployment infrastructure to debug issues or monitor behavior. Specify deployment name, optional project scope, and number of recent lines.
Instructions
Get logs for a specific deployment.
Retrieves logs from the deployment's underlying infrastructure. This is useful
for debugging deployment issues or monitoring deployment behavior.
Note: Log availability depends on the deployer plugin being installed and
the deployment infrastructure supporting log retrieval.
Args:
name_id_or_prefix: The name, ID or prefix of the deployment
project: Optional project scope (defaults to active project)
tail: Number of recent log lines to retrieve (default: 100, max recommended: 500)
Returns:
JSON object with 'logs' (string) and metadata about truncation if applicable
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_id_or_prefix | Yes | ||
| project | No | ||
| tail | No |