Apply a patch to a target resource.
Checks compatibility constraints, then dispatches a PATCH event to the provider for actual application. The provider implements the patch logic via its on_patch handler.
Returns: ApplyPatchResult with outcome details.
Successful Response
Result of applying a patch to a target resource.
Attributes: patch_id: ID of the patch that was applied. target_resource_id: SurrealDB ID of the target resource. success: Whether the patch was applied successfully. message: Human-readable description of the outcome.