invoke

suspend fun invoke(planId: UUID): GetPlanResponse

Retrieves the specified plan and its latest task.

Return

The response containing the plan and its latest task.

Parameters

planId

The ID of the plan to retrieve.

Throws

If the plan is not found.

If the latest task for the plan is not found.