Get deployment logs
get_deployment_logsRetrieve raw log lines and uncaught exceptions from a deployed workflow in your Cloudflare account, newest first, to diagnose runs that failed without explanation or show errors reported by deployment status checks.
Instructions
Read the raw log lines and uncaught exceptions a deployed workflow produced in the user's Cloudflare account, newest first. Use it when a run failed without explanation, or get_deployment_status shows errors you need to see. source in the answer says which log store responded; null means neither had anything for this window, which is not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Lines to return, 1-100. Default 50. | |
| since | No | Time window. Default 24h. | |
| source | No | Force one store: Cloudflare Workers Logs, or the workflow's own log forwarder. Default tries the first, then the second. | |
| workflowId | Yes | The workflow's id, from list_workflows or create_workflow. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| since | Yes | ||
| source | Yes | ||
| caveats | Yes | ||
| rowsRead | No | ||
| scriptName | Yes | ||
| workflowId | Yes | ||
| unavailable | No |