resume_deployment_schedule
Restart a paused deployment schedule in Prefect workflow automation to resume automated flow executions based on the defined schedule.
Instructions
Resume a deployment's schedule.
Args: deployment_id: The deployment UUID
Returns: Confirmation message
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deployment_id | Yes |
Implementation Reference
- src/mcp_prefect/deployment.py:328-344 (handler)The primary handler implementation for the 'resume_deployment_schedule' MCP tool. Decorated with @mcp.tool for automatic registration. Input schema defined by function arguments (deployment_id: str). Executes Prefect client call to resume the deployment schedule and returns a text confirmation message.@mcp.tool async def resume_deployment_schedule( deployment_id: str, ) -> List[Union[types.TextContent, types.ImageContent, types.EmbeddedResource]]: """ Resume a deployment's schedule. Args: deployment_id: The deployment UUID Returns: Confirmation message """ async with get_client() as client: await client.resume_deployment_schedule(UUID(deployment_id)) return [types.TextContent(type="text", text=f"Schedule for deployment '{deployment_id}' resumed successfully.")]