Get deployment details from an Octopus Deploy URL
get_deployment_from_urlRetrieves deployment details and task ID from an Octopus Deploy URL, enabling log analysis and issue investigation via structured activity trees or grep-based log search.
Instructions
Get deployment details from an Octopus Deploy deployment URL. Returns comprehensive deployment information including the task ID needed to view execution logs.
Accepts deployment URLs like: https://your-octopus.com/app#/Spaces-1/projects/my-app/deployments/releases/1.0.0/deployments/Deployments-123
Returns:
Full deployment details (environment, release, project, created time)
taskIdForLogs: the ServerTasks- ID for this deployment
taskResourceUri: octopus:// URI for the structured activity tree (resources/read or read_resource)
grepTaskLogHint: pre-filled arguments for the grep_task_log tool — call it with a pattern to search the raw log without fetching the whole thing
Public URL for web portal access
Recommended workflow for investigating deployment issues:
Call get_deployment_from_url with the deployment URL
Review deployment context (environment, release version, etc.) 3a. Fetch the taskResourceUri for the structured activity tree (step timings, embedded log entries by category), OR 3b. Call grep_task_log with the taskId to search the raw log for a specific error / pattern
Handles space ID to space name resolution automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full Octopus Deploy deployment URL (e.g., https://your-octopus.com/app#/Spaces-1/projects/my-app/deployments/releases/1.0.0/deployments/Deployments-123) |