get_function_logs
Fetch recent logs from a deployed function to view console output and error stack traces from CloudWatch.
Instructions
Get recent logs from a deployed function. Shows console.log/error output and error stack traces from CloudWatch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID | |
| name | Yes | Function name to get logs for | |
| tail | No | Number of log lines to return (default: 50, max: 1000) | |
| since | No | Only return logs at or after this ISO 8601 timestamp (e.g. 2026-03-29T14:00:00Z). Invalid timestamps are rejected before the API call. | |
| request_id | No | Only return logs correlated to this routed/function request id, such as req_abc123. |