get_deployment_logs
Retrieve logs for a specific deployment to debug deployment issues or monitor behavior. Optionally filter by project and limit to recent log 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:
Dict with 'logs' (string) and metadata about truncation if applicable
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | ||
| project | No | ||
| name_id_or_prefix | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||