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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name_id_or_prefix": "<name_id_or_prefix>"
},
"name": "get_deployment_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | ||
| project | No | ||
| name_id_or_prefix | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||